Skip to main content
MCP server CX Codex

trace-mcp — Claude Code MCP server: features and setup

trace-mcp indexes a repository so an agent can retrieve code context instead of repeatedly reading files. Use it to explore a project or prepare for a pull request review.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add trace-mcp -- npx -y trace-mcp
Open on GitHub

What trace-mcp does

trace-mcp creates a code index that an agent can query for project details. It lists support for 81 languages and integrations with 88 frameworks. Project code stays local.

Install the server with npm install -g trace-mcp, then connect it to Claude Code with claude mcp add trace-mcp -- npx -y trace-mcp. Run trace add from the repository directory to index that project. Claude Code needs the MCP connection configured before it can use the server.

What it helps with

  • retrieve code context without repeatedly reading project files
  • gather repository details for a pull request review
  • index the repository in the current directory

Example prompts for the agent

  • Use trace-mcp to find the code related to this change and explain how it fits the project.
  • Gather project context with trace-mcp before reviewing this pull request.
  • Index the current repository with trace add.

How to install trace-mcp

Platform CLI

claude mcp add trace-mcp -- npx -y trace-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about trace-mcp

How do I install trace-mcp in Claude Code?

Run claude mcp add trace-mcp -- npx -y trace-mcp. Then open the repository directory and run trace add to index the project.

What does trace-mcp do?

It indexes a codebase and lets an agent retrieve project context rather than reading the same files repeatedly.

Which platforms support trace-mcp?

Listed platforms include Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, and Zed.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor