By guyowen
Navigate large TypeScript codebases using type-aware tools for go-to-definition, find-references, dependency graphs, cycle detection, and impact analysis—helping you understand architecture and safely refactor modules.
Run typegraph-mcp benchmarks (token, latency, accuracy)
Run typegraph-mcp health checks to verify setup
Run a comprehensive 7-phase codebase analysis producing a detailed report
Run smoke tests to verify all 14 typegraph-mcp tools work
Efficiently explore unfamiliar TypeScript code using navigation tools instead of reading entire files. Trigger when asking how something works, exploring a new module, understanding architecture, or tracing request flows.
Run a comprehensive 7-phase codebase analysis using all typegraph-mcp tools, producing a detailed architectural report. Trigger when onboarding to an unfamiliar codebase, requesting a full architectural overview, asking for a codebase health report, or needing to understand the overall structure before making significant changes.
Audit module dependencies to find circular imports, analyze coupling, and understand dependency structure. Trigger when asking about circular deps, module structure, package coupling, or evaluating module boundaries.
Analyze the impact of changing a TypeScript symbol by combining blast radius, dependents, and module boundary analysis. Trigger when asking what will break, assessing change risk, or before modifying widely-used symbols.
Verify a refactor is safe before making changes. Trigger when renaming, moving, or restructuring TypeScript modules, extracting code into new modules, or changing interfaces and service definitions.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Supercharge your AI coding agent with TypeScript superintelligence.
14 semantic navigation tools delivered via the Model Context Protocol so any MCP-compatible agent can use them.
AI coding agents navigate TypeScript blind. They grep for a symbol name and get string matches instead of real references. They read entire files to find a type that's re-exported through three barrel files. They can't tell you what depends on what, or whether your refactor will break something two packages away.
Every wrong turn burns context tokens and degrades the agent's output.
Measured on a real 440-file TypeScript monorepo:
| grep | typegraph-mcp | |
|---|---|---|
| Context tokens | ~113,000 | 1,006 |
| Files touched | 47 | 3 |
| False positives | dozens | 0 |
| Barrel file resolution | reads 6 files, still guessing | 1 tool call, exact source |
| Cross-package impact | 1,038 string matches | 31 direct + 158 transitive, by package |
| Circular dependency detection | impossible | instant |
| Avg latency (semantic) | n/a | 16.9ms |
| Avg latency (graph) | n/a | 0.1ms |
99% context reduction. 100% accuracy. Full benchmarks.
Agent: I need to find where createUser is implemented.
→ grep "createUser" across project
→ 47 results: test files, comments, variable names, string literals, actual definitions
→ reads 6 files trying to follow the chain
→ burns ~113,000 tokens, still not sure it found the right implementation
Agent: ts_trace_chain({ file: "src/handlers.ts", symbol: "createUser" })
→ 3-hop chain: handlers.ts → UserService.ts → UserRepository.ts
→ each hop shows the exact line with a code preview
→ 1,006 tokens, done
cd /path/to/your-ts-project
npx typegraph-mcp setup
The interactive setup auto-detects your AI agents, installs the plugin into ./plugins/typegraph-mcp/, registers the MCP server, copies workflow skills, appends agent instructions, and runs verification. Use --yes to skip prompts.
Claude Code — load the plugin for the full experience:
claude --plugin-dir ./plugins/typegraph-mcp
This gives you 14 MCP tools, 5 workflow skills that teach Claude when and how to chain tools, /typegraph:check, /typegraph:test, and /typegraph:bench slash commands, and a SessionStart hook for dependency verification.
Other agents (Cursor, Codex CLI, Gemini CLI, GitHub Copilot) — restart your agent session. The MCP server and skills are already configured.
For Codex CLI, setup now writes a project-local .codex/config.toml entry using absolute paths so the tools stay scoped to the project and still work when Codex launches from a subdirectory.
First query takes ~2s (tsserver warmup). Subsequent queries: 1-60ms.
| Tool | Description |
|---|---|
ts_find_symbol | Find a symbol's location in a file by name |
ts_definition | Go to definition — resolves through imports, re-exports, barrel files, generics |
ts_references | Find all semantic references (not string matches) |
ts_type_info | Get type and documentation — same as VS Code hover |
ts_navigate_to | Search for a symbol across the entire project |
ts_trace_chain | Follow definition hops automatically, building a call chain |
ts_blast_radius | Analyze impact of changing a symbol — all usage sites and affected files |
ts_module_exports | List all exports from a module with resolved types |
| Tool | Description |
|---|---|
ts_dependency_tree | Transitive dependency tree of a file |
ts_dependents | All files that depend on a given file, grouped by package |
ts_import_cycles | Detect circular import dependencies |
ts_shortest_path | Shortest import path between two files |
ts_subgraph | Extract the neighborhood around seed files |
ts_module_boundary | Analyze module coupling: incoming/outgoing edges, isolation score |
npx claudepluginhub guyowen/typegraph-mcpAST knowledge graph for intelligent code navigation — auto-indexes your codebase and provides semantic search, call graph traversal, HTTP route tracing, and impact analysis via MCP tools
Code graph navigation and semantic search for LLM coding agents
Local codebase intelligence + change-safety gates for coding agents. Pre-indexes your repo's symbols, call graph, deps, and git history into SQLite (28 languages, 100% local, zero API keys), then exposes a lean 16-tool MCP core preset: graph-precise search, callers/impact blast radius, coupling, dead code, taint reachability, and pre-merge verify/critique gates that catch regressions, broken references, AI-slop duplication, and convention drift before they ship.
Graph-first code intelligence for AI agents. SurrealDB knowledge graph + 52 MCP tools replace Read/Grep/Glob with deterministic graph traversal. 80–95% fewer tokens on code context. Rust-native, fully local.
Dead code analysis, duplication detection, complexity hotspots, and auto-fix for JavaScript/TypeScript using fallow
Lumin Repo Lens: evidence-backed TS/JS repo structure lens for Claude Code.