Darwin RAG logo

Darwin RAG

Local-first RAG engine with hybrid retrieval, document ingestion, isolated stores, and MCP tools for search and pipeline management.

Install Darwin RAG

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "darwin-rag": {
      "command": "uvx",
      "args": [
        "darwin-rag"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx darwin-rag

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Darwin RAG MCP server connects AI agents to a local document ingestion and retrieval engine. It processes PDFs, Markdown, HTML, images, spreadsheets, and URLs, then combines BM25 keyword search with dense embeddings, reranking, and optional answer generation. Use it when an agent needs searchable local knowledge bases, document pipeline controls, isolated stores, or queryable session logs. The server supports stdio, SSE, and streamable HTTP transports.

Use cases

  • Ingest project documents into a local knowledge base
  • Search PDFs and web content with hybrid retrieval
  • Separate tenant or project data into isolated stores
  • Inspect document pipeline and indexing status
  • Query session logs from an AI agent

Key features

  • Hybrid BM25 and dense-embedding retrieval
  • Ingestion for documents, images, spreadsheets, and URLs
  • Local isolated data stores
  • Reranking and optional LLM answer synthesis
  • MCP tools for pipeline, file, and log management
  • Stdio, SSE, and streamable HTTP transports

Tools11

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

Self-reported~163 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.

14/16 checks healthy over the last 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · darwin-rag (PyPI)

Adoption & maintenance

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

GitHub stars3Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed11Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Darwin RAG works

What Darwin RAG does

The Darwin RAG MCP server gives AI agents access to a locally managed retrieval system. It can ingest PDFs, Markdown, HTML, images through OCR, CSV files, Excel workbooks, ODS files, and URLs. Ingested content is processed into searchable indexes rather than being sent to a hosted knowledge-base service.

Darwin RAG supports separate data stores, which can be used to keep project or tenant data apart. It also provides pipeline and file-status operations, so an agent can inspect whether files have been processed, indexed, or otherwise completed.

How it works

The Darwin RAG MCP server combines BM25 keyword retrieval with dense embedding search. Queries can use hybrid, semantic, or keyword retrieval, with support for reranking, diversity reranking, and structural penalties. The system can also synthesize answers through LiteLLM when a configured provider is available, including OpenAI, Anthropic, Gemini, and other providers listed by the project.

Processing and search can run locally and remain usable offline after the required models have been installed. Structured files have additional support through schema inspection and field-based searches. Session logs are retained in structured form and can be queried through MCP, with informational log entries excluded from the log query described by the project.

Setup and configuration

The required preset installs the embedding model only; the recommended preset also includes reranking and OCR models. Setup validation and logging configuration are available through the administrative CLI.

Start a local subprocess transport with darwin mcp. For network access, use HTTP or SSE flags and provide the resulting endpoint to an MCP client. The README specifically documents configuration for Claude Desktop and Cursor, and the CLI can generate client configuration files. DARWIN_BASE_DIR can override the default data directory. At least one LLM provider key is needed for generated answers, but search and indexing work without a provider key.

Tools and capabilities

Available MCP operations include:

  • search_darwin for hybrid, semantic, or keyword knowledge-base queries.
  • search_lists for searching structured data by field values.
  • get_search_results and get_search_result_by_id for reviewing saved result sets.
  • get_schema for inspecting structured-file keys, types, and record counts.
  • run_pipeline for ingesting and indexing a path or URL.
  • purge_artifacts for removing pipeline artifacts for selected files.
  • create_store for creating an isolated data store.
  • list_files and file_status for tracking pipeline state.
  • get_logs for querying session history.

The package also includes command-line administration and a Python API for applications that need to use Darwin outside MCP.

Limitations and notes

Generated answer synthesis depends on a configured LLM provider and its corresponding API key. Local setup also requires downloading or selecting the models needed for the chosen features. Search and indexing do not require an LLM provider key, but reranking, OCR, embeddings, and answer generation depend on the models selected during setup.

The project supports stdio, SSE, and streamable HTTP transports. The license is MIT with Attribution, as specified by the repository.

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 Darwin RAG

Darwin RAG is an MCP server that connects AI agents to a local document ingestion and retrieval engine. Its main tools search knowledge bases, run ingestion pipelines, manage isolated stores, inspect file status, retrieve saved results, and query session logs. It supports hybrid, semantic, and keyword search over indexed content.

Install it with `pip install darwin-rag`, then run `darwin-admin setup interactive` or `darwin-admin setup --preset required`. Start the server with `darwin mcp` for stdio mode, or add HTTP or SSE options for a network endpoint.

Yes, Darwin RAG documents Cursor as a supported MCP client. Start the server with `darwin mcp`, then use `darwin config cursor` to generate Cursor configuration, or configure the stdio command manually.

Yes, search and indexing work without an LLM provider key.

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 PreviewDarwin RAG AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/darwin-rag?style=directory)](https://allmcps.com/mcp/darwin-rag)
HTML Embed
<a href="https://allmcps.com/mcp/darwin-rag"><img src="https://allmcps.com/api/badge/darwin-rag?style=directory" alt="Darwin RAG on AllMCPs" /></a>