MCP 27 graph tools for your AI assistant

See your codebase
as a graph

Imports, symbols, cross-file calls, cycles, dead code and change impact — analyzed locally and returned as evidence. In VS Code, in your terminal, and inside your AI assistant.

VS Code version VS Code installs Open VSX Open VSX downloads npm CLI License MIT
Graph-It-Live — dependency graph
Graph-It-Live dependency graph in VS Code
27MCP graph tools
10+Languages parsed
3Graph views
100%Local analysis
Three views, one graph

From file imports down to a single call

The same indexed graph powers navigation, review, codemaps, and the context you hand to an AI assistant.

File graph

Which files import this file? What depends on this module? Regex and AST parsing across the whole workspace, with cycle detection.

Symbol view

Drill into a file to see functions, classes, outgoing calls, incoming callers and recursion. Click a symbol to jump to its definition.

Live call graph

Cross-file symbol relationships in a Cytoscape.js panel. Expand callers and callees up to depth 5, group by folder, highlight recursion.

Features

Answers, not file dumps

Every result points back to real code: a file, a symbol, a line.

Drill down into any file

Symbol View turns a file into its own little graph — exports, internals, and who calls what.

  • Functions, classes and variables with export status
  • Outgoing calls and incoming callers side by side
  • Self-recursion and mutual recursion highlighted
  • Hierarchical, force-directed or radial layout
Symbol View
Graph-It-Live Symbol View

Follow calls across files

The Live Call Graph is built with Tree-sitter and SQLite, and refreshes after you save.

  • Expand callers and callees with depth 1 to 5
  • Calls numbered in invocation order
  • Filter by symbol type or folder
  • TypeScript, JavaScript, Vue, Svelte, Python, Rust, C#, Go, Java
Live Call Graph
Graph-It-Live live call graph

Find what nobody uses

Hide or dim unused dependencies, then hunt unused exported symbols and dead files before a refactor.

  • Unused dependency filter: hide or dim mode
  • Unused exported symbol detection
  • Execution trace from any function
  • Callers affected by a signature change
Filter unused dependencies
Unused dependencies hidden from the graph
AI integrations

Give your assistant a map, not a haystack

27 MCP tools expose the same local graph to GitHub Copilot, Claude, Cursor, Windsurf, Antigravity and any MCP client.

Native Copilot tools

Install the extension and use them in Agent mode with no MCP setup:

  • #graphContext — bounded unified graph context
  • #graphDeps, #graphFindRefs, #graphCallers
  • #graphImpact, #graphCodemap, #graphTrace
  • #graphDeadCode, #graphQuery

Portable agent plugin

One package bundling the MCP server plus four skills: graph-it-live, onboarding-express, dead-code-hunter and pr-review.

  • Claude Code & GitHub Copilot CLI marketplaces
  • VS Code: Chat: Install Plugin From Source
  • Cursor and Codex plugin panels
.vscode/mcp.json
{
  "servers": {
    "graph-it-live": {
      "type": "stdio",
      "command": "graph-it",
      "args": ["serve"],
      "env": { "WORKSPACE_ROOT": "${workspaceFolder}" }
    }
  }
}
.cursor/mcp.json
{
  "mcpServers": {
    "graph-it-live": {
      "type": "stdio",
      "command": "graph-it",
      "args": ["serve"],
      "env": { "WORKSPACE_ROOT": "${workspaceFolder}" }
    }
  }
}
Claude Code
# add the repository marketplace, then install the plugin
claude plugin marketplace add magic5644/Graph-It-Live
/plugin install graph-it-live@graph-it-live

# or run from a local checkout
claude --plugin-dir ./plugins/graph-it-live
Codex CLI
codex mcp add graph-it-live \
  --env WORKSPACE_ROOT=/path/to/project \
  -- graph-it serve
Windsurf, Antigravity, any MCP client
{
  "graph-it-live": {
    "type": "stdio",
    "command": "npx",
    "args": ["-y", "@magic5644/graph-it-live@latest", "serve"]
  }
}
Graph-It-Live tools in GitHub Copilot
Graph-It-Live tools used inside GitHub Copilot
Standalone CLI

The same engine, without VS Code

Index a workspace, trace a symbol, export a graph, or start the MCP server — straight from your terminal.

install
# global install
npm install -g @magic5644/graph-it-live

# or one-shot
npx @magic5644/graph-it-live scan
unified graph context
graph-it context "what calls the request handler" \
  --scope 'src/**' --format toon

graph-it context --mode impact \
  --seeds src/api.ts#handle --depth 3
common commands
graph-it scan                    Index the workspace
graph-it summary                 Workspace overview
graph-it summary <file>          File codemap
graph-it trace <file#Symbol>     Trace execution
graph-it explain <file>          Intra-file call flow
graph-it path <file>             Dependency path
graph-it check [path]            Unused exports
graph-it query "<question>"      Ask the graph
graph-it review-pr --base main   Local PR review
graph-it wiki                    Markdown wiki
graph-it export [path]           Export as HTML
graph-it serve                   MCP stdio server

Analysis commands support --format json|toon|markdown; trace and path also emit Mermaid. Full CLI reference →

CI review gate

graph-it review-pr runs a deterministic local diff review before CI: exported signature changes, bounded dependent-symbol impact, cycle evidence, unused exports, test candidates and consumer standing. The reusable GitHub Action is informational by default — set fail-on-risk: high to gate a pull request.

Supported languages

Ten languages, one indexer

Tree-sitter grammars ship with the extension and the CLI. No language server required.

LanguageFile graphSymbol ViewLive Call Graph
TypeScript / JavaScript
Vue / Svelte
Python
Rust
C# / Go / Java
GraphQL

Start with one command

Install the extension, or index any repository from your terminal in a few seconds.