Skip to main content
MCP server CX Codex

repomap — Claude Code MCP server: what it does, how to install

repomap is an MCP server for Claude Code that builds a local code graph, traces call paths, and calculates change blast radius without external API keys.

MIT ★ 13 updated 2026-10-22

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

What repomap does

repomap creates a structural map of your codebase. A local Rust binary resolves symbol dependencies, returning file:line locations directly to your coding assistant.

The server handles symbol search and tracks which functions break when signatures change. Running it requires Node 18+, but external API tokens are not needed.

You can inspect the codebase visually by running npx -y @sylphx/repomap serve. The tool inspects your current workspace root or the path set in REPOMAP_ROOT.

What it helps with

  • calculate change blast radius before refactoring a function
  • inspect call hierarchies and symbol dependencies across files
  • view repository structure in an interactive browser interface
  • locate relevant source files directly from an issue description

Example prompts for the agent

  • Use repomap to check what breaks if function pagerank changes.
  • Trace all callers and dependent modules for DbSchema.graph_json.
  • Find the relevant source files for this bug report using repomap.

How to install repomap

Platform CLI

claude mcp add repomap -- npx -y @sylphx/repomap

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 repomap

How to install repomap in Claude Code?

Run claude mcp add repomap -- npx -y @sylphx/repomap in your terminal. You can also run npx -y @sylphx/repomap setup to automatically configure detected clients.

What does repomap do?

It equips coding agents with a local code graph, call path tracing, and change impact analysis.

Does repomap require an external API key?

No, repomap executes entirely on your machine. You only need Node 18+ installed.

Similar MCP servers

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

Project sponsors

Companies that keep this analytics open