
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 與驗證類小工具。