aptu-coder is an MCP server that analyzes codebases using tree-sitter to provide directory trees, symbol definitions, imports, and call graphs without reading raw files. It runs locally over stdio and supports multiple languages including Rust, Python, Go, Java, TypeScript, Fortran, JavaScript, C/C++, and C#.
From the registry: MCP server for code structure analysis using tree-sitter.
$ cargo binstall aptu-coder$ brew install clouatre-labs/tap/aptu-coder$ cargo install aptu-coderPlease install the `aptu-coder` MCP server into my current AI client (that's you).
Optional prerequisites:
- Install aptu-coder — Install the aptu-coder binary using the simplest portable published method shown in the README. Run: `cargo binstall aptu-coder`
- Alternative install via Homebrew — On macOS or Linux, you can install aptu-coder from the project's Homebrew tap instead of using cargo-binstall. Run: `brew install clouatre-labs/tap/aptu-coder`
- Alternative install via cargo install — Install from crates.io using Cargo if you already have a Rust toolchain. Run: `cargo install aptu-coder`
Canonical MCP server config (stdio transport):
- command: `aptu-coder`
- args: []
- optional environment variables:
- `CODE_ANALYZE_FILE_CACHE_CAPACITY`: Maximum number of file-analysis results held in the in-process LRU cache. Increase for large repositories where many files are queried repeatedly. (example: `<file-cache-capacity>`)
- `CODE_ANALYZE_DIR_CACHE_CAPACITY`: Maximum number of directory-analysis results held in the in-process LRU cache. (example: `<dir-cache-capacity>`)
- `DISABLE_PROMPT_CACHING`: Set to 1 to disable prompt caching; recommended for single-pass subagent sessions. (example: `<1-or-unset>`)
- `DISABLE_PROMPT_CACHING_HAIKU`: Set to 1 to disable prompt caching for Haiku-specific pipelines only. (example: `<1-or-unset>`)
Note: The README explicitly recommends stdio because the server runs locally against files on disk. No environment variables are required for basic operation.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.CODE_ANALYZE_FILE_CACHE_CAPACITYMaximum number of file-analysis results held in the in-process LRU cacheCODE_ANALYZE_DIR_CACHE_CAPACITYMaximum number of directory-analysis results held in the in-process LRU cacheDISABLE_PROMPT_CACHINGSet to 1 to disable prompt caching, recommended for single-pass subagent sessionsDISABLE_PROMPT_CACHING_HAIKUSet to 1 to disable prompt caching for Haiku-specific pipelines onlyTrending hip-hop artist momentum scores across four cultural dimensions.
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
Official OpenMetadata MCP: governed context and business semantics for AI assistants and agents.