Quarry logo

Quarry

Local semantic and hybrid search for 20+ document formats, with agent memory, directory sync, and an MCP interface.

Install Quarry

Run the project’s own setup commands, in order.

Setup steps from the project

quarry installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://raw.githubusercontent.com/punt-labs/quarry/c223536/install.sh | sh
    
  2. 2. Install
    uv tool install punt-quarry
    
  3. 3. Run
    quarry install
    
  4. 4. Install
    brew install punt-labs/tap/quarry
    
  5. 5. Add to Claude Code
    claude plugin marketplace add punt-labs/claude-plugins
    
  6. 6. Run
    claude plugin install quarry@punt-labs
    

Overview

quarry MCP server gives AI agents local search across indexed documents, inline lessons, URLs, and synced directories. It runs through a single quarryd daemon that loads a local ONNX embedding model, stores vectors in LanceDB, and serves MCP clients over standard input/output. Search supports semantic retrieval and filters, while separate databases can keep collections apart. Reach for quarry when documents and agent memory must stay on macOS or Linux without cloud accounts or API keys.

Use cases

  • Search local research documents by meaning
  • Index project directories for coding agents
  • Save lessons and agent memory for later retrieval
  • Keep work and personal indexes in separate databases
  • Inspect local search latency and empty-result rates

Key features

  • Semantic and hybrid document search
  • Support for 20+ document formats
  • Local ONNX embeddings with LanceDB storage
  • Directory registration and background re-indexing
  • Named databases for separated indexes
  • MCP, CLI, and HTTP access through one daemon

Tools12

What Quarry lets your agent do. Expand a tool for its parameters.

Self-reported~145 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

9/9 checks healthy over the last 35d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.
Tools exposed12Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Quarry works

What quarry does

quarry provides local document retrieval for AI agents and people. It can index more than 20 formats, including PDFs, scanned PDFs with OCR, source code, spreadsheets, presentations, HTML, Markdown, LaTeX, DOCX files, and images. Search can retrieve passages by meaning rather than exact wording, and the command-line interface also provides hybrid search that combines meaning with keywords.

The MCP interface covers document discovery, retrieval, ingestion, memory capture, directory synchronization, database selection, deletion, and local search metrics. Agents can save short lessons that receive higher ranking in later searches. The missions_sync capability stores completed ethos mission rounds in worker-specific memory.

How it works

A local ONNX embedding model creates vector representations for indexed content, and LanceDB stores those vectors. One quarryd process loads the model once and handles requests from the CLI, MCP server, and Claude Code hooks through a versioned REST API. The MCP command communicates with that daemon over standard input/output; scripts can use the HTTP API directly.

Directory registrations can be re-indexed on demand, and project indexing and knowledge capture can be enabled or disabled. Captured web content, session transcripts, and per-agent memory are kept apart from the code index. Secrets and personal information are scrubbed from captures before storage.

Named databases provide separate indexes and directory registrations. A daemon serves one database, while the installed service uses the default database. A daemon can also run on a GPU host and accept connections from Mac or Linux clients over TLS.

Setup and configuration

Supported platforms are macOS on Apple Silicon and Linux. Intel macOS is unsupported because the required lancedb and onnxruntime dependencies do not publish Intel macOS wheels.

The installer can install the CLI, daemon, MCP server, and Claude Code plugin. With an existing uv installation, install the Python package with uv tool install punt-quarry, then run quarry install to configure the daemon, certificates, and MCP setup. Homebrew is also available for Apple Silicon macOS and Linux. Run quarry doctor to check health.

For other coding agents, a CLI-only installation skips the Claude Code plugin; clients can then invoke quarry mcp. Use one installation method per machine to avoid conflicting copies on PATH.

Tools and capabilities

  • find searches indexed content with filters.
  • show returns document metadata or page text.
  • list enumerates documents, collections, databases, and registrations.
  • status reports database statistics; insights reports local query volume, latency, empty-result rate, and result breakdowns.
  • ingest indexes a URL or inline text, while learn stores a short, highly ranked lesson.
  • register_directory and sync_all_registrations maintain directory indexes.
  • delete removes documents or collections, and use changes the active database.

Limitations and notes

The local design removes cloud dependencies but requires the embedding model and database to run on the host. Compute threads are capped at two each to limit CPU load. The remote-server option uses TLS and is intended for Mac or Linux clients. Directory indexing, capture, and memory are configurable features rather than requirements for every installation.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Quarry

quarry is an MCP server that connects AI agents to locally indexed documents, directories, URLs, and agent memory. Its main tools search and filter content, show document text or metadata, ingest sources, save lessons, manage registrations, report database statistics, and switch between named databases without cloud dependencies.

Install it with the project installer, Homebrew, or `uv`; then run `quarry install` to configure the daemon, certificates, and MCP setup. The installer can also add the Claude Code plugin. Run `quarry doctor` to check the installation.

Yes, quarry supports Cursor through its CLI-only setup and MCP server. Install without the Claude Code plugin when needed, then point Cursor at `quarry mcp`, which communicates with the local `quarryd` daemon over standard input/output.

Yes, quarry performs indexing and search locally using an ONNX embedding model and LanceDB. It requires no API keys or cloud accounts, and it can register directories so their indexes are re-created as needed.

quarry supports macOS on Apple Silicon and Linux. Intel macOS is unsupported because its `lancedb` and `onnxruntime` dependencies do not publish Intel macOS wheels.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewQuarry AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/quarry-3?style=directory)](https://allmcps.com/mcp/quarry-3)
HTML Embed
<a href="https://allmcps.com/mcp/quarry-3"><img src="https://allmcps.com/api/badge/quarry-3?style=directory" alt="Quarry on AllMCPs" /></a>