Builds a tree-sitter code graph of a repository so agents can map it, search symbols, see callers and callees, trace call paths and estimate change impact.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add repomap -- npx -y @sylphx/repomap~/.codex/config.toml
[mcp_servers.repomap]
command = "npx"
args = ["-y", "@sylphx/repomap"]
# codex mcp add repomap -- npx -y @sylphx/repomap~/.cursor/mcp.json
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}.vscode/mcp.json
{
"servers": {
"repomap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}