trace-mcp
by nikolai-vysotskyi·★ 71·Score 46
MCP server that eliminates AI agent recomputation by building and serving cross-language dependency graphs through Model Context Protocol.
Overview
trace-mcp is an MCP server designed to reduce AI agent recomputation by building a framework-aware dependency graph of codebases and serving it through the Model Context Protocol. It helps AI coding agents avoid re-reading the same files, re-traversing dependencies, and re-inflating context windows with previously discovered structure. The server offers significant benefits including 40-50% fewer tokens, up to 2× effective capacity, and up to 99% less redundant processing. It supports 81 framework integrations across 80 languages with 162 tools, and also indexes markdown knowledge vaults alongside code.
Try asking AI
After installing, here are 8 things you can ask your AI assistant:
When to choose this
Choose trace-mcp when working with large, multi-language codebases where you need to understand dependencies across frameworks and reduce redundant agent processing.
When NOT to choose this
Don't choose trace-mcp for small projects or when you need real-time code analysis without the initial indexing overhead.
Tools this server exposes
12 tools extracted from the READMEget_change_impactReturns blast radius across codebase when changing a specific symbol
query_decisionsSearches the decision knowledge graph linked to code
plan_turnProvides optimal code subgraph + relevant past decisions for a new task
search_sessionsSearches across past session content for relevant information
get_request_flowReturns request flow from URL to rendered page with framework awareness
get_untested_symbolsIdentifies symbols that are untested or imported but never called in tests
get_subproject_impactReturns impact of API changes across different services
find_usagesFinds backlinks across codebase or markdown vault
apply_renameRenames symbols and updates all references across codebase
get_task_contextProvides optimal code subgraph for understanding a feature
get_wake_upProvides orientation in ~300 tokens for new sessions
get_session_resumeCarries over structural context from previous sessions
Comparable tools
Installation
Install via npm:
npm install -g trace-mcpAdd to Claude Desktop config:
{
"mcpServers": {
"trace": {
"command": "trace-mcp",
"args": []
}
}
}For advanced usage, see the [official documentation](https://github.com/nikolai-vysotskyi/trace-mcp) for configuration options and desktop app download.
FAQ
- What frameworks and languages does trace-mcp support?
- trace-mcp supports 81 framework integrations across 80 languages, including PHP, Vue, Laravel, React, Angular, and many more. It understands framework-specific patterns and constructs dependency graphs accordingly.
- Can trace-mcp work with documentation and markdown files?
- Yes, trace-mcp can index markdown knowledge vaults like Obsidian and Logseq. It treats wikilinks, tags, frontmatter, and embeds as graph edges and metadata, allowing the same tools to work across both code and documentation.
- How does trace-mcp improve AI agent performance?
- trace-mcp reduces AI agent recomputation by providing pre-computed dependency structures instead of requiring agents to repeatedly read files and traverse dependencies. This leads to fewer tokens, lower latency, higher accuracy, and better scaling with project size.
Compare trace-mcp with
Last updated · Auto-generated from public README + GitHub signals.