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.
---
basemind 是一个专为 AI Agent 设计的高级上下文增强工具。它通过五个核心维度为 Agent 提供深度的代码理解、文档检索与协作能力,旨在打破 AI 在处理复杂工程项目时的信息孤岛,让 Agent 能够像资深开发者一样理解代码逻辑与项目背景。
basemind 提供强大的五大能力支柱:Code Intelligence 通过 Tree-sitter 实现符号搜索、调用图(Call Graph)及 Git Blame 级别的���码溯源;Documents 支持对 PDF、Office、HTML 及邮件进行语义搜索与 OCR 解析;Memory 提供基于向量相似度的知识存储;Web 能力支持网页爬取与内容摄取;此外,通过 MCP 协议,Agent 能够实现高效的协同工作。
使用 basemind 的特定功能需要开启相应的 Feature 标志。例如,使用 `basemind memory` 命令进行键值存储与向量搜索时,需添加 `--features mem` 参数;使用 `basemind web` 进行网页爬取与内容摄取时,需添加 `--features crawl` 参数。请确保您的运行环境支持相应的扩展模块。
您可以通过多种包管理器快速安装 basemind:macOS/Linux 用户推荐使用 Homebrew (`brew install Goldziher/tap/basemind`);Node.js 环境使用 `npm install -g basemind`;Python 环境使用 `pip install basemind`;Rust 开发者可通过 `cargo install basemind --locked` 进行安装。安装完成后,请先运行 `basemind scan` 对工作区进行索引。
basemind 提供两种灵活的工作流模式。模式 A 适用于 Claude Code 等支持 MCP 的环境,通过插件形式实现零配置即插即用;模式 B 适用于需要脚本化、自动化或 CI/CD 集成的场景,通过独立的 `basemind` CLI 二进制文件进行查询驱动的探索。两种模���共享位于 `.basemind/` 的本地索引数据。
basemind 的完整配置定义在 `schema/basemind-config-v1.schema.json` 中。用户可以通过修改配置文件来定制行为。对于高级用户,建议通过环境变量或 TOML 配置文件进行精细化管理,以确保 MCP 服务与本地索引的正确映射。
basemind CLI 的命令设计与 MCP tools 完全镜像,涵盖了从符号搜索 (`search_symbols`) 到调用链分析 (`find_callers`) 的全套能力。所有 CLI 命令均支持 `--json` 参数,方便开发者将输出结果集成到自动化脚本或机器处理流程中。
basemind 针对不同场景提供了两种工作流:Path A (MCP plugin) 专为 Claude Code 等 AI 终端设计,通过 Model Context Protocol 将工具直接暴露为会话内的函数调用,实现无缝交互;Path B (CLI + skill) 则面向开发者,通过命令行工具进行查询驱动的探索,更适合进行批量操作与 headless 自动化任务。
高质量的开源MCP工具,提供全面的AI上下文层
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,开源MCP工具 是一款质量优秀的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | basemind |
| 原始描述 | 开源MCP工具:Full AI context layer for coding agents — code-map, document RAG, shared memory,。⭐25 · Rust |
| Topics | 代码智能AI上下文层Rust |
| GitHub | https://github.com/Goldziher/basemind |
| License | MIT |
| 语言 | Rust |
收录时间:2026-06-20 · 更新时间:2026-06-20 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端