AI Skill Hub 推荐使用:图形思维 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
图形思维 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
图形思维 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/aouicher/graphmind
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"----": {
"command": "npx",
"args": ["-y", "graphmind"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 图形思维 执行以下任务... Claude: [自动调用 图形思维 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"____": {
"command": "npx",
"args": ["-y", "graphmind"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
Your codebase has a shape. Now your AI can see it. And remember it.
GraphMind turns your codebase into a knowledge graph your AI can query, navigate, and remember. Ask about dead code, dependencies, or blast radius — and get answers grounded in your actual architecture.
Up to 5,700× fewer tokens than raw search (~10M tokens saved per session). Works with Claude Code, Cursor, Windsurf, Cline, Zed, Continue, and any MCP-compatible AI assistant.
![]() |
![]() |
| CLI + Claude MCP integration | Desktop app — Mac & Windows |
Configures your machine so all AI tools can use graphmind: 1. Claude Code hooks (rewrites grep/find, injects session context, pre-fetches on prompts) 2. Claude Code skill (3-layer rule: graph → memory → raw files) 3. Claude Desktop MCP (~/Library/Application Support/Claude/claude_desktop_config.json) 4. Claude Code MCP (~/.claude/settings.json)
<details> <summary>Click to expand</summary>
claude mcp add graphmind -- graphmind mcp
Or manually in ~/.claude/settings.json:
{
"mcpServers": {
"graphmind": {
"command": "graphmind",
"args": ["mcp"]
}
}
}
Claude Desktop does not inherit your shell PATH. Use the full path:
{
"mcpServers": {
"graphmind": {
"command": "/opt/homebrew/bin/graphmind",
"args": ["mcp"]
}
}
}
Config file location: - macOS: ~/Library/Application Support/Claude/claude_desktop_config.json - Windows: %APPDATA%\Claude\claude_desktop_config.json
Tip: Run which graphmind to find the correct path on your system.
.mcp.json (optional){
"mcpServers": {
"graphmind": {
"command": "graphmind",
"args": ["mcp"]
}
}
}
Picked up automatically by Claude Code when you open the project.
graphmind install hook-claude
Registers hooks in ~/.claude/settings.json for: - PreToolUse — rewrites grep/find/rg to graphmind search, provides graph results for Grep/Glob/LS tools - SessionStart — loads project context (stats, structure) at session start - UserPromptSubmit — pre-fetches relevant graph context based on the user's prompt - PostToolUse — enriches results with graph-aware suggestions
Built-in intelligence: - Exhaustive search bypass — detects "find all occurrences", grep -c, pipes to wc/sort and lets them through - Cache deduplication — identical searches within 5 minutes are skipped (0 tokens cost) - Pattern extraction — extracts meaningful search terms from grep, find, fd, rg commands and Agent prompts
graphmind install skill
graphmind sync # updates CLAUDE.md in current project
graphmind sync --all # updates CLAUDE.md for all registered projects
graphmind install hook-git
</details>
graphmind setup # global one-time (hooks, MCP, skill)
graphmind init [path] # per-project (register, git hooks, build)
graphmind init --skip-build # per-project without building
graphmind build [slug] # incremental build
graphmind build --all # all projects
graphmind build --full # force full rebuild
graphmind build --watch # watch mode (debounced 2s)
graphmind clean [slug] # remove graph cache (forces full rebuild)
graphmind clean --all # clean all projects
graphmind install hook-claude # Claude Code search hook
graphmind install hook-git # git hooks (post-commit + pre-push)
graphmind install skill # Claude Code skill
graphmind uninstall hook-claude # remove Claude Code hook
graphmind uninstall hook-git # remove git hooks
graphmind sync [slug] # inject graph context into CLAUDE.md
graphmind sync --all # update CLAUDE.md for all projects
git clone https://github.com/aouicher/graphmind
cd graphmind
cargo build --release -p graphmind-cli
cargo clippy --workspace -- -D warnings
cargo test --workspace
graphmind setup # once — configures Claude Code, Claude Desktop, hooks, skill
cd ~/projects/myapp
graphmind init # per project — registers, installs git hooks, builds graph
That's it. Claude Code and Claude Desktop will use graphmind automatically.
curl -fsSL https://raw.githubusercontent.com/aouicher/graphmind/main/scripts/install.sh | bash
Then run graphmind setup once to configure Claude Code, hooks, and skill.
curl -fsSL https://github.com/aouicher/graphmind/releases/latest/download/graphmind-cli-linux-x64 -o ~/.local/bin/graphmind
chmod +x ~/.local/bin/graphmind
graphmind exposes 25 tools via MCP (Model Context Protocol):
| Tool | Description |
|---|---|
gm_query | Find symbol and its connections |
gm_fn | Function detail with source + callers/callees |
gm_deps | File-level dependency map |
gm_impact | Transitive reverse dependencies |
gm_fn_impact | Blast radius for a symbol |
gm_diff_impact | Impact of current git changes |
gm_map | Most-connected files |
gm_cycles | Circular dependency detection |
gm_search | Hybrid search (FTS + semantic + graph) |
gm_listeners | Find event listeners by event name |
gm_outline | Hierarchical file structure with qualified names |
gm_file | Raw source content of a file |
gm_who_calls_chain | Transitive caller chain (BFS) |
gm_dead_code | Find symbols with no incoming edges |
gm_export | Export subgraph as Mermaid/DOT |
gm_similar | Find structurally similar symbols |
gm_memory_search | Search stored decisions/patterns |
gm_memory_add | Store a fact (requires confirmation) |
gm_memory_list | List memory entries |
gm_cross_query | Symbol search across all projects |
gm_cross_deps | Cross-project dependency graph |
gm_cross_links | List all cross-project links |
gm_status | Project health and stats |
gm_context | Full project context for session start |
gm_list_projects | All registered projects |
gm_team_memories | Shared team memories and context *(Pro/Team)* |
gm_team_who_knows | Who documented a given symbol *(Pro/Team)* |
高质量的开源MCP工具
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,图形思维 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | graphmind |
| 原始描述 | 开源MCP工具:Local-first code intelligence for AI assistants. Turns your codebase into a know。⭐34 · Rust |
| Topics | aiai-agentchatgptrust |
| GitHub | https://github.com/aouicher/graphmind |
| License | MIT |
| 语言 | Rust |
收录时间:2026-05-28 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端