Graph-It-Live CLI

Code dependency graph for VS Code, the CLI and MCP: imports, calls, cycles, dead code and change impact.

  • 63 ★ on the repository
  • Last commit
  • MIT
CLI

Minimal access

Why this level

  • Analysis runs locally and reads project code; the tools make no changes to it.
All reasons and checks

magic5644/graph-it-live

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/graph-it-live

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Minimal accessThe tool runs nothing and makes no network calls.

  • Analysis runs locally and reads project code; the tools make no changes to it.

This is third-party code. Review the repository files before installing.

What it does

Graph-It-Live analyzes imports, symbols, calls, cycles and unused exports, plus how a change affects neighboring code. It runs as a VS Code extension, a standalone `graph-it` command or an MCP tool provider for Copilot and other agents. Analysis is local and answers come back with evidence from your codebase. For an agent the service returns the graph instead of whole files: dependencies, reverse dependencies, callers, codemaps, dead code scans and architecture boundary checks from `graphit.architecture.json`. The MCP server exposes 25 tools, answers are compacted into TOON by default and `graph-it stats` shows token savings. TypeScript, JavaScript, Python, Rust, C#, Go, Java, Vue, Svelte and GraphQL are supported.

Who it is for. Developers of large repositories and teams who want to give an agent a dependency map and watch module boundaries in CI.

Good fit when

  • Before a refactor you need to know who imports a module and what will break.
  • An agent should get a call graph instead of reading hundreds of files.
  • CI checks that layers do not violate set architecture boundaries.
  • Unused exports and dead code are searched for before cleanup.
  • For a legacy codebase the current state is frozen and only new drift is watched.

Not a fit when

  • The project is small and ordinary code search is enough.
  • Analysis of a language outside the supported list is needed.
  • The environment cannot run local indexes and a SQLite database.

Example request

Build the dependency graph of the auth module, show who imports it and find cycles between analyzer and shared.

Limitations

The extension needs VS Code 1.96 or newer, and the cross-file call graph is built with Tree-sitter and SQLite and requires indexing: run `Refresh Graph` after large edits. The file graph relies on regular expressions and syntax parsing, so dynamic imports are not always visible. The CLI and MCP need Node.js. The MCP server exposes 25 tools by default, so do not connect more than the agent needs.

How to disable. Switch the server off in the MCP client settings or with `graph-it-live.enableMcpServer`. Uninstall the VS Code extension or the global `@magic5644/graph-it-live` package and delete the index with the project folder.

FAQ

How does the MCP server differ from the extension?

The extension draws the graph in VS Code while the MCP server serves the same data to agents: Claude, Cursor, Windsurf, Copilot. In VS Code it is enabled with `graph-it-live.enableMcpServer`.

What does `graph-it init` do?

It freezes the architecture of existing code so `graph-it check-architecture` fails only on new drift. It also lists quick wins.

Is there a pull request check?

Yes, a CI review gate scores changes. See the CI review gate section of the README.

What is TOON?

A compact tool response format. For scripts pass `response_format: "json"`, for readable tables `"markdown"`.

Which agents connect?

GitHub Copilot, Claude, Cursor, Windsurf, Antigravity and any MCP client. Copilot also gets native tools.

Discussion

No questions or reviews yet.

CLI tools

Structural questions about code instead of brute-forcing files: 38 languages, 42 tools, VS Code and JetBrains plugins, a CI mode

MCP serverExtended access155Repository stars

A CLI that builds a function-level dependency graph for 34 languages and serves it to agents through a 34-tool MCP server.

CLIExtended access99Repository stars

Local code graph for agents: an MCP server returns entry points, symbol links and change impact in one call

MCP serverExtended access77.5KRepository stars

An MCP server that builds a code knowledge graph: semantic search, call graph, HTTP route tracing and change impact analysis.

MCP serverExtended access95Repository stars

CodeGraph (Rust)

codegraph-rust

A Rust code graph for agents: four MCP tools show what an edit will touch, how the architecture fits together and where the fragile spots are

MCP serverExtended access915Repository stars

README in short

Three views of code: a file graph, symbols and a live call graph. The same data feeds the extension, the command line and the MCP server.

README badge

Report a problem