Getting Started

Get GraphMind running in under a minute.

Install

brew install graphmind
# or: cargo install graphmind

Index your codebase

cd your-project
graphmind index .

Connect to your AI assistant

Run graphmind setup to auto-configure Claude, Cursor, Windsurf and more. Or add manually to your MCP config:

{
  "mcpServers": {
    "graphmind": {
      "command": "graphmind",
      "args": ["mcp", "start"]
    }
  }
}

Verify

Ask your AI assistant: "Run gm_status to check GraphMind is connected."

MCP Tools (25)

Tool Description
gm_status Check GraphMind connection and index status
gm_context Load project context into your AI assistant session
gm_search Find symbols by name or keyword (FTS + semantic)
gm_fn Full source code + callers + callees for a symbol
gm_fn_impact Blast radius — all transitive callers of a function
gm_deps File or symbol dependency map
gm_dead_code Find symbols with zero callers across all projects
gm_cross_links Cross-project dependency edges
gm_outline File outline — all symbols with line numbers
gm_file Read raw source of a file from the graph
gm_callers Direct callers of a symbol
gm_callees Direct callees of a symbol
gm_who_calls Transitive caller chain (BFS)
gm_similar Semantically similar symbols
gm_map Project overview ranked by connectivity
gm_cycles Detect dependency cycles
gm_diff Structural diff between two versions
gm_memory_add Store an architectural decision or convention
gm_memory_read Recall stored architectural knowledge
gm_memory_write Overwrite a memory entry
gm_memory_prune Remove stale memory entries
gm_query Graph query — find symbols by pattern
gm_export Export graph as Mermaid or DOT
gm_listeners Find event listeners for a domain event
gm_rebuild Rebuild the index from scratch