AI Skill Hub 强烈推荐:开源MCP工具 是一款优质的MCP工具。AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
开源MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
开源MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/Goldziher/basemind
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--mcp--": {
"command": "npx",
"args": ["-y", "basemind"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 开源MCP工具 执行以下任务... Claude: [自动调用 开源MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"__mcp__": {
"command": "npx",
"args": ["-y", "basemind"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
Four pillars give an agent context; a fifth lets agents coordinate.
Code — Tree-sitter outlines, symbol search, reference + caller + implementation graphs, call chains, git history per symbol, blame at symbol-level resolution.
Documents — Ingest + semantic search over PDFs, Office (Word/Excel/iWork), HTML, email, archives. Built-in OCR, layout detection, keyword + NER extraction, cross-encoder reranking. All ONNX bundled — no system install needed.
Memory — Per-repo scoped key-value + semantic vector storage, split into a shared group tier and a per-agent individual tier. Clones of the same git origin automatically share memory; unrelated repos isolated.
Web — On-demand HTTP scrape + follow-link crawl. Pages chunk, embed, and land in the documents store under scope web:<host> for unified search.
Coordination — A user-global broker daemon hosts scoped chat rooms and a per-agent inbox, so multiple agents working the same code (across harnesses and repos) leave each other status, ask questions, and avoid collisions. See Agent coordination.
---
| Pillar | What it does | MCP tools | Backend |
|---|---|---|---|
| **Code intelligence** | Outlines, symbol search (substring), call-site lookup (substring), call graphs, impl lookup (substring), dependents, in-tree regex | outline, search_symbols, workspace_grep, find_references, find_callers, call_graph, find_implementations, dependents, list_files, status, repo_info | tree-sitter × 300+ langs · Fjall LSM index · content-addressed blob store |
| **Git intelligence** | Symbol-level history, blame, churn, recent changes, structural diffs across revs | symbol_history, blame_file, blame_symbol, hot_files, recent_changes, commits_touching, find_commits_by_path, diff_outline, diff_file, working_tree_status | gix + sha-keyed disk cache |
| **Document RAG** | Ingest + semantic search over 90+ file formats — PDFs, Office (Excel/Word/HWP/iWork), HTML, XML, email, archives, images. Adds OCR (Tesseract + PaddleOCR), cross-encoder reranker, keyword extraction (YAKE/RAKE), NER (gline-rs ONNX + LLM), extractive + abstractive summarization, layout detection, page auto-rotate, redaction, language detection. All ONNX models bundled — no system install needed. | search_documents | kreuzberg + LanceDB |
| **Shared memory** | Per-repo scoped key-value + semantic memory. Clones of the same git origin URL automatically share memory; unrelated repos isolated. | memory_put, memory_get, memory_list, memory_search, memory_delete | LanceDB + Fjall, scope-keyed |
| **Web crawl** | On-demand HTTP scrape + link-following crawl. Crawled pages route through the documents pipeline (chunk → embed → LanceDB) under scope web:<host>. | web_scrape, web_crawl, web_map | kreuzcrawl (native HTTP, no chromium) |
| **Agent comms** | Multi-agent messaging via a user-global broker daemon: scope-auto-joined rooms (git remote / path / global), per-agent inbox, two-tier messages (front-matter scan + lazy body fetch), self-posts excluded from inbox. Delivered across harnesses via MCP instructions + the basemind-comms skill, SessionStart / per-turn hooks, and a ~15 s background monitor. | agent_register, agent_list, room_create, room_list, room_join, room_leave, room_post, room_history, message_get, inbox_read | Fjall broker over a Unix socket |
| **Admin** | Live rescan, telemetry dashboard, cache introspection + GC + cleanup | rescan, telemetry_summary, cache_stats, cache_gc, cache_clear | — |
---
| Command | Purpose |
|---|---|
put <key> <value> | Store a value (scoped to repo origin). |
get <key> | Retrieve exact key. |
list [--prefix] | List all keys or keys matching prefix. |
search <query> | Vector similarity search over stored values. |
delete <key> | Delete a key. |
search-documents <query> | Semantic search over documents + memory (scoped to repo). |
| Command | Purpose |
|---|---|
scrape <url> | Ingest a single page (chunk → embed → LanceDB). |
crawl <seed-url> | Link-following crawl from a seed URL. |
map <url> | Sitemap + link discovery (no bodies). |
npm install -g basemind # or: pip install basemind, cargo install basemind, brew install Goldziher/tap/basemind basemind scan # index the working tree once
Then use the CLI:
bash basemind query outline path/file.rs # inspect file structure basemind query symbol "parseQuery" # find symbol by name basemind query references "processFile" # find all call sites basemind git blame-file src/main.rs # show per-line blame basemind cache stats # cache stats basemind cache gc # reclaim orphaned blobs basemind rescan # full re-index (rebuild a stale/empty index) basemind rescan src/main.rs # incremental re-index of one path basemind watch --no-serve # live re-index on file change (no MCP server) ```
Add the basemind-cli skill to route CLI commands efficiently. See the CLI command reference below for the full command surface.
| Channel | Command | Platforms | Features |
|---|---|---|---|
| Homebrew | brew install Goldziher/tap/basemind | macOS, Linux | documents + memory + crawl |
| npm | npm install -g basemind | any Node 14+ platform | documents + memory + crawl |
| pip | pip install basemind | any Python 3.8+ platform | documents + memory + crawl |
| cargo | cargo install basemind --locked | any Rust platform | base |
| cargo (full) | cargo install basemind --features full --locked | any Rust platform | documents + memory + crawl |
| GH releases | Download binary from [releases](https://github.com/Goldziher/basemind/releases) | macOS · Linux · Windows | documents + memory + crawl |
<details> <summary><strong>Harness-specific setup</strong></summary>
| Harness | Install command |
|---|---|
| Claude Code | /plugin marketplace add Goldziher/basemind then /plugin install basemind@basemind |
| Cursor | See Cursor docs for plugin install flow; basemind manifest at .cursor-plugin/plugin.json |
| Codex CLI | /plugins then search for basemind |
| Codex App | Plugins panel → Coding category → basemind → + |
| Gemini CLI | gemini extensions install https://github.com/Goldziher/basemind |
| OpenCode | Add { "plugin": ["basemind-opencode@latest"] } to opencode.json |
| Factory Droid | droid plugin --help (manifest at .claude-plugin/marketplace.json) |
| GitHub Copilot CLI | copilot plugin --help (same manifest) |
| Generic MCP | See "Any MCP client" section above |
</details>
Choose the path that fits your workflow. Both paths use the same on-disk index at .basemind/.
Full config lives at schema/basemind-config-v1.schema.json. Minimal example:
```toml
Use the standalone basemind CLI binary and the basemind-cli skill for query-driven exploration. Same index, same tools, different interface — faster for scripting and batch operations.
```bash
CLI commands mirror MCP tools, grouped by capability. Run with --json for machine-readable output.
MCP (Model Context Protocol) runs the basemind server in-process and exposes all tools as in-session function calls. Zero config — install and start using tools immediately.
Run these two commands in order:
/plugin marketplace add Goldziher/basemind # 1. register the marketplace
/plugin install basemind@basemind # 2. install the plugin
Restart the session after installing. The basemind binary installs automatically on first use (via npx, uvx, or direct download with verified checksums) — no manual cargo install needed. Prebuilt binaries ship with the full feature set enabled (96 document formats, OCR, embeddings, reranker, semantic search, web crawl, shared memory), so first use downloads ML models over the network; binaries are larger as a result.
To enable the optional live statusline (showing context % and per-capability metrics), run /bm-statusline once. This is a one-time opt-in because Claude Code plugins cannot set the main statusline — it is a platform limitation. See the Statusline section for details.
cargo install basemind --features full --locked
Add to your MCP config:
{
"mcpServers": {
"basemind": {
"command": "basemind",
"args": ["serve"]
}
}
}
Each harness has setup instructions in the Installation section.
Both paths share the same .basemind/ index and are safe to run alongside each other (the CLI opens the index read-only; basemind serve watches and incrementally updates in the background).
- MCP: Wired as in-session tool calls. Zero config. Best for interactive agent workflows. - CLI: Scriptable, headless, CI-friendly. Best for batch queries, integration into non-MCP harnesses, and when you want to control the tool routing explicitly.
The choice is not binary — use MCP for interactive sessions and CLI for scripting in the same repo.
To enable the live statusline in Claude Code (MCP only), run /bm-statusline once. This is a one-time opt-in because Claude Code plugins cannot set the main statusline — it is a platform limitation, not a basemind choice:
statusLine field.settings.json honors only agent and subagentStatusLine; any statusLine key is ignored.~/.claude/settings.json./bm-statusline works because Claude (the agent) performs the settings edit on your behalf, writing an absolute path into ~/.claude/settings.json. After that it persists across sessions.
It renders two lines — a context line (model · output-style · dir · branch · context%) and the basemind line below it:
Opus · basemind · ⎇ main · 12% ctx
◆ basemind ● 1,247 files · 23m ago │ 312 calls · 180 srch · 44 git · 12 docs │ 1.4M saved │ ✉ 3 @reviewer
The state dot is green (serve active / scan < 1 h), amber (idle or scan 1–24 h), or red (no serve and stale index). The second segment breaks activity down per capability — searches, git, docs, memory, web — showing only the buckets with calls today; then estimated tokens saved. When the agent-comms broker is running, a final ✉ segment shows your unread message count (bright when non-zero) and, in the full tier, your agent identity. Layout adapts to terminal width ($COLUMNS): the per-capability breakdown drops on narrow terminals. Override with BASEMIND_STATUSLINE=full|compact|minimal (default auto) or hide the context line with BASEMIND_STATUSLINE_CONTEXT=0.
---
What ripgrep does well: blazing-fast line matching. What it misses:
parseQuery() and parseQuery string both match; semantic signals lost.basemind: semantic-quality answers at grep speed via tree-sitter + indexed call sites.
What vector RAG does well: fuzzy document semantic search. What it misses:
basemind: code structure + git history + vector memory + document search all in one, unified scope.
What these do well: generate code-map summaries. What they miss:
basemind: live-updated index with sub-millisecond MCP tools, built for agents not humans.
What GitHub does well: repository-wide fuzzy text search. What it misses:
basemind: local-only, always-fresh index of your working tree, 300+ languages in one sweep.
---
高质量的开源MCP工具,提供全面的AI上下文层
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,开源MCP工具 是一款质量优秀的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | basemind |
| Topics | 代码智能AI上下文层Rust |
| GitHub | https://github.com/Goldziher/basemind |
| License | MIT |
| 语言 | Rust |
收录时间:2026-06-20 · 更新时间:2026-06-20 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端