
Darwin RAG
io.github.BrightdotdevPublished by GitHub account Brightdotdevv0.2.18Updated Oct 24, 2026
Local-first RAG engine with MCP server for AI agent integration.
The publisher's own server: Darwin
Overview
A local-first RAG engine that ingests documents, indexes them, and lets an assistant search and answer questions over them.
- What you can do
- Darwin RAG ingests PDFs, Markdown, HTML, images via OCR, CSV, Excel, ODS files and URLs, then builds a hybrid BM25 plus dense-embedding index with configurable chunking. Through MCP it exposes tools such as search_darwin for hybrid, semantic or keyword retrieval, search_lists and get_schema for structured files, run_pipeline to ingest and index, plus file status, saved-result and log queries. Answer generation is LLM-backed through LiteLLM, and multiple isolated stores separate tenants or projects.
- When to use it
- Worth adding when an assistant needs to answer questions over a private local document collection, including mixed formats such as scanned PDFs and spreadsheets, without sending the corpus to a hosted service. Also useful when you want separate knowledge stores per project and queryable session logs.
- Requirements
- Runs as a local process, installed from PyPI as darwin-rag, so Python is needed. Model setup is done first with the darwin-admin setup command. At least one LLM provider key is required for answer generation, supplied by environment variable such as OPENAI_API_KEY, ANTHROPIC_API_KEY or GEMINI_API_KEY; search and indexing work without one. DARWIN_BASE_DIR optionally overrides the data directory. Desktop only.
Installation
In SourceWeft
- Open Darwin RAG in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Darwin RAG
Search your own documents with any AI agent, privately, on your own machine.
Darwin is a local-first RAG engine that ingests documents, indexes them with BM25 + dense embeddings, and exposes search through an MCP server. Point Claude, Cursor, or any MCP client at it and your agent can search your PDFs, notes, spreadsheets, and web pages without sending them to a cloud index.
One-time internet is needed to download models during setup. After that, search and indexing run fully offline.
- Ingestion: PDF, Markdown, HTML, images (OCR), CSV, Excel, ODS, URLs
- Indexing: BM25 keyword + dense embedding hybrid index with configurable chunking strategies
- Search: Hybrid, semantic, or keyword retrieval with reranking, diversity rerank, and structural penalties
- Generation: LLM-backed answer synthesis via LiteLLM (OpenAI, Anthropic, Gemini, etc.)
- Observability: Structured logging with per-session history, queryable via MCP
- Isolation: Multiple independent stores for tenant/project separation
- Deployment: stdio (AI agent subprocess), SSE, or Streamable HTTP; Docker-ready
- Local-first: Everything runs locally, fully offline-capable after setup
Built by BrightDotDev.
Why Darwin?
- Private by default. Your documents stay on your machine.
- Works with your agent. Standard MCP server: Claude Desktop, Cursor, and other MCP clients.
- Search that fits the question. Keyword for exact terms, semantic for meaning, hybrid when unsure.
- Light to start. The
requiredpreset downloads just one embedding model.
Quick Start
1. Install
2. Set up models
3. Start the MCP server & connect
Configure your MCP client:
Or generate config automatically:
4. Try it
Ask your agent: "Ingest ./my-notes with Darwin, then find everything I wrote about ."
Use it as an agent skill
Darwin ships with a skill (skills/darwin-rag/SKILL.md) that tells agents when and how to use the MCP tools: check what's indexed, ingest, pick a search mode, and answer from sources. Copy the darwin-rag folder into your agent's skills directory (for Claude Code: ~/.claude/skills/).
MCP Tools
Full documentation: docs/mcp.md
Remote / HTTP Mode
Start the server on a network-accessible endpoint:
Configure your MCP client with the URL:
Environment Variables
* At least one LLM provider key is required for answer generation. Search/indexing works without any.
Setup Details
See docs/setup.md for the full walkthrough including Docker, from-source install, and API key configuration.
CLI Reference
darwin: User CLI
darwin-admin: Power-user CLI
See docs/admin.md for the full command reference.
Python API
For embedding darwin-rag as a library in your own app:
Full reference: docs/api.md
Documentation
Contributing
Found a bug? Want to add something? You're welcome here.
- Issues: open one at github.com/BrightDotDev/DARWIN/issues
- Code: fork, branch, PR. Keep it minimal.
- AI-generated code is fine, but you own what you ship. Test it before submitting.
Read CONTRIBUTING.md for the full guidelines.
License
MIT. See LICENSE.
Core architecture and implementation by BrightDotDev.
Source: README.md at commit dd74e2b
Tools
0Version history
1- v0.2.18LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Darwin integrations
Darwin
so.darwinOfficial publisher
Darwin lets an assistant search for AI agents, inspect their operations, and coordinate multi-step work through them, including authentication and payment…

Darwin-owned Public Sources
Published by GitHub account darwin-studios
Remote MCP server that lets an assistant fetch public HTML, Markdown, text or JSON documents from an approved list of official hosts, with provenance.

Darwin-owned Files
Published by GitHub account darwin-studios
Free offline file conversions and bounded DOCX text extraction. Supplied bytes; no network.

Darwin-owned AntV Charts
Published by GitHub account darwin-studios
Darwin-hosted AntV bar, column and line charts, plus bounded CSV bar charts. Free PNG output.

Australia/Darwin clock
Published by GitHub account sadri-dridi
Remote MCP server whose headline tool returns the current local time in Australia/Darwin, bundled with assorted small time, URL, and validation helpers.