repomap
Local code graph for agents with search, call tracing and change impact analysis
- Pricing
- Open source
- Platforms
- CLI, macOS, Linux
- Runs
- Locally
- Version
- 1.9.0
- Listing updated
- 2 days ago
About repomap
repomap is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
repomap indexes a repository with a parallel Rust indexer and keeps an in-memory graph that refreshes as you edit. It then offers five views: a map of modules, central files by PageRank and entry points; hybrid search combining symbol names, BM25 and a local code embedding model; a context call with a symbol's callers, callees and tests; a trace for the shortest call path between two symbols; and an impact call that lists callers by depth, importing files, tests to run and a risk level for a symbol or your current git diff.
Results cite file:line. The project reports finding every fix file in the top ten for 83.0% of SWE-bench Verified issues against 71.0% for semble, and openly notes semble wins slightly on its own public search set. Indexing excalidraw (687 files) takes under half a second.
Everything is local, needs no API key and is MIT licensed. A setup command writes config for Claude Code, Codex, Cursor, VS Code, Claude Desktop, Windsurf and Gemini CLI, and a graph UI is available.
Install
Run in a terminal
claude mcp add repomap -- npx -y @sylphx/repomapAdd to claude_desktop_config.json
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"repomap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}Tools this server provides (5)
Taken from the project documentation; the running server may differ.
- map
- Shows modules, central files, key symbols and entry points.
- search
- Searches symbols and code by name or plain words.
- context
- Returns a symbol's code, callers, callees and tests.
- trace
- Finds the shortest call path between two symbols.
- impact
- Shows the blast radius of a change or git diff.
What it does
- Repository map
- Shows modules, central files and entry points.
- Hybrid search
- Combines names, BM25 and local embeddings.
- Call tracing
- Finds the shortest call path between two symbols.
- Impact analysis
- Lists callers, tests to run and risk for a change.
- Graph UI
- Browse the graph in an interactive interface.
Good for
- Map an unfamiliar repository before editing
- Find files related to a bug report
- See what breaks if a function changes
- Pick tests to run for a diff
Pricing
Open source
MIT licence; no API key
Prices change. Check sylphxai.github.io before you buy.
repomap FAQ
Does it need an API key?
No. It runs locally and nothing leaves your machine.
How do I install it?
Run npx -y @sylphx/repomap setup to configure supported clients.
What licence is it?
MIT.
How fast is indexing?
The site reports excalidraw's 687 files indexed in under half a second.
Is repomap free?
Yes. repomap is open source, so you can use and self-host it for free.
How do I add repomap to Claude Code?
Run this command in your terminal: claude mcp add repomap -- npx -y @sylphx/repomap
What are the best alternatives to repomap?
The closest alternatives to repomap are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to repomap

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools