
Darwin RAG
io.github.Brightdotdev由 GitHub 账号 Brightdotdev 发布v0.2.18更新于 Oct 24, 2026
Local-first RAG engine with MCP server for AI agent integration.
发布方自己的服务:Darwin
概览
一个本地优先的 RAG 引擎,可摄取文档、建立索引,并让助手在其上检索和回答问题。
- 可以做什么
- Darwin RAG 可摄取 PDF、Markdown、HTML、经 OCR 的图片、CSV、Excel、ODS 文件以及 URL,并构建 BM25 关键词与稠密向量的混合索引,分块策略可配置。通过 MCP 提供 search_darwin(混合、语义或关键词检索)、search_lists 与 get_schema(结构化文件)、run_pipeline(摄取并索引),以及文件状态、已保存结果和日志查询等工具。答案生成由 LiteLLM 调用大模型完成,多个相互隔离的存储可区分不同租户或项目。
- 适用场景
- 当助手需要基于私有本地文档集回答问题,且文档格式混杂(如扫描版 PDF 和表格),又不希望把语料发送到托管服务时,适合使用。也适合需要按项目划分独立知识库并查询会话日志的场景。
- 运行要求
- 以本地进程方式运行,从 PyPI 安装 darwin-rag,因此需要 Python。需先用 darwin-admin setup 命令完成模型设置。答案生成至少需要一个 LLM 提供方密钥,通过环境变量提供,例如 OPENAI_API_KEY、ANTHROPIC_API_KEY 或 GEMINI_API_KEY;检索和索引无需密钥。DARWIN_BASE_DIR 可覆盖数据目录。仅支持桌面端。
安装
在 SourceWeft 中
- 打开 控制台中的 Darwin RAG,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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.
来源:README.md,提交 dd74e2b
工具
0版本历史
1- v0.2.18最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Darwin 集成
Darwin
so.darwin官方发布者
Darwin 让助手搜索 AI 智能体、查看其操作记录,并通过这些智能体协调多步骤任务,包括认证与付款环节。

Darwin-owned Public Sources
由 GitHub 账号 darwin-studios 发布
远程 MCP 服务器,让助手从明确允许的官方主机读取公开的 HTML、Markdown、文本或 JSON 文档,并附带来源凭证。

Darwin-owned Files
由 GitHub 账号 darwin-studios 发布
免费的离线文件转换和有界DOCX文本提取。提供字节;无网络。AI 翻译

Darwin-owned AntV Charts
由 GitHub 账号 darwin-studios 发布
基于 Darwin 的 AntV 条形图、柱状图和折线图,以及有界 CSV 柱状图。免费输出 PNG。AI 翻译

Australia/Darwin clock
由 GitHub 账号 sadri-dridi 发布
远程 MCP 服务器,主打工具返回澳大利亚/达尔文当前本地时间,并附带若干时间、URL 与校验类小工具。