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 生效
<img src="docs/media/basemind-banner.svg" alt="basemind — cybernetic core" width="820">
The context and communication layer for coding agents.
basemind turns any repo into an always-current map of its code, documents, history, and memory — so agents answer from structure and search instead of burning their context window on grep and file reads — and gives a team of agents a shared channel to coordinate while they work. One server does both.
Code map across 300+ languages · documents in 90+ formats · semantic + full-text search · git history & blame · shared memory · web crawl · agent-to-agent comms
Docs · Install · Features · How it works · Performance · CLI
</div>
---
<p align="center"><img src="docs/media/mcp-demo.gif" alt="An agent answering from a file outline and its call sites in a live Claude Code session" width="820"></p> <p align="center"><em>An agent reasoning from structure — <code>code</code> modes <code>outline</code> and <code>references</code> in a live session, statusline tracking tokens saved.</em></p>
---
Three ways to run basemind, easiest first. All three share the same local index and are safe to run side by side.
The plugin downloads the basemind program for you on first use. The MCP-server and CLI paths need it installed yourself — see Install the program.
The MCP and CLI paths need basemind available on your system. (The plugin does this for you.)
| Channel | Command | Includes |
|---|---|---|
| Homebrew | brew install Goldziher/tap/basemind | everything |
| npm | npm install -g basemind | everything |
| pip | pip install basemind | everything |
| cargo | cargo install basemind --locked | code + git only |
| cargo (full) | cargo install basemind --features full --locked | everything |
| GitHub releases | [Download a binary](https://github.com/Goldziher/basemind/releases) | everything |
The Homebrew / npm / pip / GitHub downloads include the full feature set — documents, OCR, search, web crawl, shared memory, agent comms, and agent shells — so the first run downloads the models it needs. The plain cargo install builds the code-map and git tools only.
<p align="center"><img src="docs/media/demo.gif" alt="basemind CLI: scan, then symbol / reference / call-graph / blame queries" width="760"></p> <p align="center"><em>The same engine from the CLI — <code>scan</code>, then symbol / reference / call-graph / blame queries.</em></p>
<p align="center"><img src="docs/media/semantic-demo.gif" alt="Semantic search over the documents store" width="820"></p> <p align="center"><em>Searching documents by meaning, not keywords, across 90+ formats.</em></p>
<p align="center"><img src="docs/demos/code-review-panel.gif" alt="Three named reviewer agents posting findings to a shared repo-scoped thread, replying to each other, and an orchestrator synthesizing a verdict over the comms CLI" width="820"></p> <p align="center"><em>Multi-agent code-review panel: named reviewers coordinate in a repo-scoped thread (post, reply, synthesize) — entirely over <code>basemind agents</code>.</em></p>
---
<details> <summary><strong>Config file & overrides</strong></summary>
The config lives at the repo root as basemind.toml (committed). The cache it drives is derived state — held in the global cache under the XDG data directory, wiped and rebuilt on schema bumps — so config never belongs there and nothing basemind-owned is written into your repo. Run basemind init to drop a fully-commented scaffold (documenting every option) at the root. The legacy in-cache path (.basemind/basemind.toml, from before the global-cache move) is still read as a fallback for older checkouts. The full schema is at schema/basemind-config-v1.schema.json:
```toml
<details> <summary><strong>Full command list</strong> — code · graph · git · memory · admin · cache · web · agents · workspace · shell</summary>
CLI commands mirror the MCP tools 1:1 (enforced by tests/cli_parity.rs). Add --json for machine-readable output.
Code (basemind code)
| Command | Purpose |
|---|---|
outline <path> [--l2] | A file's structure: symbols, lines, signatures. --l2 adds calls + docs. |
symbols <name> [--kind] | Find a definition by name, optionally filtered by kind. |
grep <pattern> [--language --path-contains] | Pattern search with filters. |
files [--path-contains --language] | List indexed files. |
find <fragment> | Locate a file by a fuzzy fragment of its name or path (fzf/fd-style). |
definition <path> <line> [--column] | Resolve a reference position to its scope-resolved definition. |
references <name> | Find everywhere a name is called. |
callers <path> <name> [--kind] | Find callers of one specific definition. |
implementations <trait> | Types that implement or inherit from a name. |
dependents <module> | What imports a given module. |
expand <path> <name> [--kind] | A symbol's raw source body (the inverse of an outline entry). |
semantic <query> [--limit --lane --format] | Search code by meaning; returns pointers. Needs --features code-search. |
chunk <path> [--chunk-id --byte-start] | Fetch one code chunk's source body (the semantic fetch half). |
Graph (basemind graph)
| Command | Purpose |
|---|---|
calls <name> [--direction --max-depth --max-nodes] | Walk the call chain up (callers, default) or down (callees). |
neighbors <name> [--direction --depth --edges --max-nodes] | A symbol's n-hop neighborhood — its blast radius before you change it. |
path <from> <to> [--edges --include-contains] | Confidence-weighted shortest route between two symbols. |
subgraph <name> [--depth --edges --max-nodes] | The neighborhood cut to its most central nodes — readable, not a dump. |
communities [--algorithm --max-communities] | Cluster the graph into de-facto modules with deterministic labels. |
map [--granularity --focus --depth --edges --include-churn] | Architecture overview: hub modules/symbols ranked by centrality + churn, plus dependency cycles (SCCs). --edges selects lanes (calls/imports/inherits/both/all); every edge carries a provenance tag (extracted/inferred/ambiguous) + confidence. |
export [--format --focus --edges --write] | Render as node-link JSON / DOT / Mermaid / GraphML / Cypher / HTML / SVG. |
display [--format --no-open] | Open a rendered view in the human's desktop viewer. --no-open writes the artifact and returns its path. |
open [--format --no-open] | Return a live http://…/ui URL for the interactive graph (or a file:// export). The live page needs the daemon's HTTP front-end, which is opt-in — set BASEMIND_ALLOW_HTTP=1 in the daemon's environment; without it you get the file:// export. --no-open launches nothing. |
Git (basemind git)
| Command | Purpose |
|---|---|
status | What's staged and unstaged right now. |
recent [--limit] [--no-files] | Recent commits with their files (a recency window, not a search). |
search <pattern> [--field author\|message\|all] [--limit] | Full-text search over commit history at full branch depth. |
touching <path> / by-path <pattern> | Commits for a path or a changed-path regex. |
churn [--window --top-k] | The most frequently changed files. |
diff <path> <old> <new> / diff-outline <path> [--rev] | File or structure diff across commits. |
blame <path> / blame-symbol <path> <name> | Who last changed each line / a symbol. |
symbol-history <path> <name> | When a symbol's body changed over time. |
Memory (basemind memory)
| Command | Purpose |
|---|---|
put <key> <value> / get <key> / delete <key> | Store, retrieve, or remove a value. |
list [--prefix] | List keys, optionally by prefix. |
search <query> | Search stored values by meaning. |
documents <query> | Search indexed PDFs / Office / HTML / images by meaning. |
mine [--commits --min-count --min-confidence --max-files] | Suggest notes from files that change together. |
proposals [--kind --limit] | List pending suggestions. |
accept <id> [--key] / reject <id> [--reason] | Keep a suggestion / dismiss it for good. |
audit [--key --individual --dry-run --include-archived] | Recompute memory importance, archive stale entries, refresh verdicts. |
Admin (basemind admin)
| Command | Purpose |
|---|---|
status / repo | Index health (files, languages, scan state) / git identity (branch, HEAD, origin). |
rescan [PATH…] [--full] | Re-index the working tree, or only the given paths. |
cache-stats / gc | On-disk footprint + process RAM / reclaimable-blob report. |
cache-clear --component <c> [--confirm] | Clear one cache component (views/all need the offline basemind cache clear). |
telemetry [--window --tool] | What's been queried and how many tokens were saved. |
compress / delta / checkpoint / waste | Outline a file, diff a re-read, summarize a session, flag wasteful tool use. |
Cache (basemind cache)
| Command | Purpose |
|---|---|
stats | Disk footprint (per-component + total, matches du) and process RAM. |
gc | Reclaim unused space (safe while the server runs). |
clear --component <comp> | Clear part of the cache (views, blobs, git-cache, all, …). |
Web (basemind web)
| Command | Purpose |
|---|---|
scrape <url> | Fetch and index a single page. |
crawl <seed-url> | Follow links from a starting URL. |
map <url> | Discover a site's pages without fetching bodies. |
Agents (basemind agents, --features comms)
Every command takes --as-agent <ID> to act as a named sub-identity.
| Command | Purpose |
|---|---|
register [--name --description --version --skill] / list [--thread] | Publish your identity card / list agents the broker knows. |
thread-start [--subject --path --member] / thread-list [--subject-contains --include-archived] | Start a thread (addressed by ≥2 of subject / path / members) / list threads discoverable to you. |
join <thread> / leave <thread> / members <thread> | Join, leave, or list the members of a thread. |
add-member <thread> <id> / remove-member <thread> <id> / archive <thread> | Manage membership and archive a thread (creator only). |
post <thread> <subject> [--body --reply-to --tag] | Post a message to a thread. |
history <thread> [--since-hours] / inbox [--mark-read] / wait [--thread --timeout-secs] | A thread's history / your cross-thread inbox / block until a peer posts. |
message <id> | Read one message body in full — the only body path. |
ack [--message-id … \| --thread <t> --to-seq <n>] | Clear read messages by advancing per-thread read cursors. |
cleanup [--dry-run \| --apply] [retention overrides] / status | Preview/apply retention / report lifecycle health. |
Comms daemon (basemind comms, --features comms)
| Command | Purpose |
|---|---|
daemon / start / stop [--all] / status | The broker daemon: run it, ensure it, stop it (--all stops every live daemon on the machine), or inspect pid / version / uptime. |
doctor | List every live daemon on the machine (pid / comms dir / version / uptime), pruning dead registry entries, and flag a pile-up over the ceiling (BASEMIND_MAX_DAEMONS, default 8). |
Shell (basemind shell, --features shells)
| Command | Purpose |
|---|---|
spawn <command> [--cwd --env --title] | Start a detached headless shell session; prints a session_id. |
send <session-id> <text> [--no-enter] | Type into a session's stdin. |
capture <session-id> [--lines] | Read up to 500 recent non-blank retained-output rows (50 by default). |
kill <session-id> / list | End a session / list live sessions. |
broadcast <text> --session <id>… | Send the same input to several sessions at once. |
Other commands (scan, serve, watch, …)
| Command | Purpose |
|---|---|
scan / rescan <path> | Full scan / update one path. |
watch | Keep the index fresh as files change (no server). |
serve [--no-watch] | Start the server (keeps the index fresh by default). |
init | Re-runnable onboarding: write basemind.toml, select capabilities, inject usage rules. |
lang <list\|install\|clean> | Manage downloaded language grammars. |
hook install | Add a git pre-commit hook that runs a scan. |
compress-output / delta --old <path> | Backends for the optional guardrails above. |
checkpoint / detect-waste | Summarize a session / flag wasteful tool use. |
</details>
---
The plugin sets up everything for you — the server, the helper skills, the agent-comms features, and the slash commands. Pick your coding tool.
<details> <summary><strong>Claude Code</strong></summary>
In the session (not your shell), run in order:
/plugin marketplace add Goldziher/basemind
/plugin install basemind@basemind
Restart, then run /bm-statusline once to turn on the live statusline (a one-time step — see Statusline). Turn on auto-update for the basemind marketplace (Claude Code's plugin manager): the plugin then tracks each new release automatically, and the launcher resolves the latest published release, so you always get the current index format and tool set and startup stays reliable even during a release. Prefer to control timing? Update the marketplace regularly by hand instead.
</details>
<details> <summary><strong>Codex</strong></summary>
codex plugin marketplace add Goldziher/basemind
codex plugin add basemind@basemind
In the app: open the Plugins sidebar and add basemind. The CLI and IDE share one config file. The plugin starts the latest published GitHub release from the project workspace; it never runs from the installed plugin cache or races a shared npx install.
</details>
<details> <summary><strong>Cursor</strong></summary>
In Agent chat: /add-plugin basemind (once listed), or go to Dashboard → Settings → Plugins → Team Marketplaces → Import from Repo and point it at https://github.com/Goldziher/basemind.
</details>
<details> <summary><strong>Gemini CLI</strong></summary>
gemini extensions install https://github.com/Goldziher/basemind
Update later with gemini extensions update basemind.
</details>
<details> <summary><strong>Factory Droid</strong></summary>
droid plugin marketplace add https://github.com/Goldziher/basemind
droid plugin install basemind@basemind
</details>
<details> <summary><strong>GitHub Copilot CLI</strong></summary>
copilot plugin marketplace add Goldziher/basemind
copilot plugin install basemind@basemind
</details>
<details> <summary><strong>OpenCode</strong></summary>
Add to opencode.json (project) or ~/.config/opencode/opencode.json (global):
{ "plugin": ["basemind-opencode@latest"] }
</details>
<details> <summary><strong>Kimi Code</strong></summary>
/plugins install https://github.com/Goldziher/basemind
Kimi doesn't support the comms auto-notifications, but the chat tools still work.
</details>
<details> <summary><strong>Hermes</strong></summary>
Hermes exposes MCP servers through config, so basemind's tools are wired there. Two steps — the binary + MCP wiring gives you the tools; a small standalone plugin package adds the helper skills, slash commands, and comms notifications.
First install the program (Homebrew / npm / cargo / release — not pip), then add the server to ~/.hermes/config.yaml (this is what gives you the nine domain tools):
mcp_servers:
basemind:
command: basemind
args: [serve]
For the helper skills, slash commands, and agent-comms notifications, install the standalone plugin into the same Python environment Hermes runs in, then enable it (general plugins are opt-in):
pip install basemind-hermes-plugin
hermes plugins enable basemind
The plugin is pure-Python and ships no binary — it shells out to the basemind you installed above. Comms auto-notifications are best-effort; the chat tools work regardless.
</details>
<details> <summary><strong>Antigravity & pi</strong></summary>
Antigravity uses a shared MCP config — install the program, then add the generic MCP block. If you already use the Gemini extension, agy plugin import gemini brings it across.
pi: pi install git:github.com/Goldziher/basemind. pi has no MCP support, so basemind runs through its CLI here.
</details>
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 类型,复制安装指令后粘贴到对应客户端