MCP Catalogs
Hometrace-mcp screenshot

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.

developer-toolsai-llmknowledge-graph
7
Forks
10
Open issues
this month
Last commit
2d ago
Indexed

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:

you:Analyze impact of code changes across entire codebase
you:Trace request flows from URL to rendered UI components
you:Search and understand past architectural decisions
you:Find usage of specific symbols across both code and documentation
you:Optimize context management for AI coding assistants
you:What frameworks and languages does trace-mcp support?
you:Can trace-mcp work with documentation and markdown files?
you:How does trace-mcp improve AI agent performance?

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 README
  • get_change_impact

    Returns blast radius across codebase when changing a specific symbol

  • query_decisions

    Searches the decision knowledge graph linked to code

  • plan_turn

    Provides optimal code subgraph + relevant past decisions for a new task

  • search_sessions

    Searches across past session content for relevant information

  • get_request_flow

    Returns request flow from URL to rendered page with framework awareness

  • get_untested_symbols

    Identifies symbols that are untested or imported but never called in tests

  • get_subproject_impact

    Returns impact of API changes across different services

  • find_usages

    Finds backlinks across codebase or markdown vault

  • apply_rename

    Renames symbols and updates all references across codebase

  • get_task_context

    Provides optimal code subgraph for understanding a feature

  • get_wake_up

    Provides orientation in ~300 tokens for new sessions

  • get_session_resume

    Carries over structural context from previous sessions

Comparable tools

swan-mcpsemantic-symbols-mcpfilesystem-mcpcodebase-mcp

Installation

Install via npm:

npm install -g trace-mcp

Add 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.