dekko — Claude Code MCP server: what it does, how to install
Parses repositories offline using tree-sitter to create call graphs and maps, cutting token waste during agent code search.
claude mcp add dekko -- uvx dekkoWhat dekko does
dekko scans source code offline with tree-sitter without consuming model tokens. It produces a human-readable .dekko/MAP.md containing directory overviews, symbol signatures, and callers, alongside a machine-readable graph in .dekko/map.json. Coding assistants query this index directly to trace call chains or inspect file interfaces without dumping entire source files into context.
Author benchmarks show notable token savings on large repositories when exploring unfamiliar code or tracking caller hierarchies. Small isolated files gain far less from indexing, and repositories using languages beyond the primary Tier-1 set require installing the dekko[all] package.
What it helps with
- generate static architecture maps and call graphs without token costs
- locate all callers of a function without grepping through source files
- inspect interfaces and signatures of large files with minimal context use
- produce a concise directory and entry point digest for code orientation
Example prompts for the agent
- Run dekko summary to show the project structure and primary entry points
- Find every function that calls parse_config using dekko
- Outline the methods and caller hierarchy for parser.py without reading the entire file
How to install dekko
Platform CLI
claude mcp add dekko -- uvx dekkouvx runs the command named after the package; if the README names another one, use uvx --from dekko <command>
Platform CLI
codex mcp add dekko -- uvx dekkouvx runs the command named after the package; if the README names another one, use uvx --from dekko <command>
Config file
{
"mcpServers": {
"dekko": {
"command": "uvx",
"args": [
"dekko"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from dekko <command>
Config file
{
"servers": {
"dekko": {
"type": "stdio",
"command": "uvx",
"args": [
"dekko"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from dekko <command>
Platform CLI
gemini mcp add dekko uvx dekkouvx runs the command named after the package; if the README names another one, use uvx --from dekko <command>
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 dekko
How to install dekko in Claude Code?
Run claude mcp add dekko -- uvx dekko in your terminal.
What files does dekko write to the project?
Running the tool creates .dekko/MAP.md with call hierarchies and summaries, along with .dekko/map.json for automated agent queries.
Which programming languages are supported by default?
Tier-1 support covers Python, C, C++, JavaScript, TypeScript, Go, Java, Kotlin, and Rust. For 43 additional languages, install dekko[all].