clouatre-labs avatar

Aptu Coder

clouatre-labs/aptu-coder

Built on tree-sitter, this server gives Claude structural insight into codebases across 11 languages without dumping raw files into context. You get directory trees with symbol counts, function signatures with line ranges, call graphs that trace dependencies, and targeted symbol lookups. The analyze_directory, analyze_file, and analyze_symbol tools replace the guess-and-grep pattern with precise structural queries. Benchmarks against Django and OpenFAST codebases show 46-68% token reductions on migration and audit tasks. Supports stdio or HTTP transport, with HTTP recommended for multi-agent setups where goose spawns delegates. Output caps and pagination keep large codebases manageable. Three editing tools and a filtered exec_command round out the kit for actual code changes.

GitHub stars
7
tools
8
transport
STDIO
last updated
Nov 11, 2026

Tools

8 tools

Public tool metadata for what this MCP can expose to an agent.

analyze_directoryDirectory tree with LOC, function, and class counts; respects `.gitignore`; file paths in the output are relative to the working directory

Directory tree with LOC, function, and class counts; respects `.gitignore`; file paths in the output are relative to the working directory

No parameter schema in public metadata yet.

analyze_fileFunctions, classes, and imports with signatures and line ranges; returns graceful fallback (line count, file head, no AST) for unsupported extensions

Functions, classes, and imports with signatures and line ranges; returns graceful fallback (line count, file head, no AST) for unsupported extensions

No parameter schema in public metadata yet.

analyze_moduleLightweight function and import index (~75% smaller than `analyze_file`); returns graceful fallback (empty index with note) for unsupported extensions

Lightweight function and import index (~75% smaller than `analyze_file`); returns graceful fallback (empty index with note) for unsupported extensions

No parameter schema in public metadata yet.

analyze_symbolCall graph for a named symbol across a directory; callers, callees, call depth

Call graph for a named symbol across a directory; callers, callees, call depth

No parameter schema in public metadata yet.

edit_overwriteCreate or overwrite a file; creates parent directories

Create or overwrite a file; creates parent directories

No parameter schema in public metadata yet.

edit_replaceReplace a unique exact text block or all non-overlapping occurrences (replace_all=true); errors if zero or multiple matches; empty `new_text` deletes the block

Replace a unique exact text block or all non-overlapping occurrences (replace_all=true); errors if zero or multiple matches; empty `new_text` deletes the block

No parameter schema in public metadata yet.

exec_commandRun a shell command; returns stdout, stderr, exit code; output capped and filtered

Run a shell command; returns stdout, stderr, exit code; output capped and filtered

No parameter schema in public metadata yet.

verify_anchorsBatch-verify path:line[:symbol] anchors against a workspace root: file exists, 1-based line within range, and optional word-boundary symbol match within a plus or minus 2 line window

Batch-verify path:line[:symbol] anchors against a workspace root: file exists, 1-based line within range, and optional word-boundary symbol match within a plus or minus 2 line window

No parameter schema in public metadata yet.

Sponsors

Readme

aptu-coder

crates.io SLSA Level 3 OpenSSF Best Practices

A Model Context Protocol (MCP) code-intelligence server that gives AI coding agents pre-parsed symbol tables and structural code search instead of raw file bytes, cutting token usage by up to 59% in the cited benchmark conditions (see Benchmarks). OpenSSF silver certified: fewer than 1% of open source projects reach this level.


View the full README on GitHub

Details

Repository
github.com/clouatre-labs/aptu-coder
Package
https://github.com/clouatre-labs/aptu-coder/releases/download/v0.46.0/aptu-coder-0.46.0-aarch64-apple-darwin.mcpb
Transport
STDIO
Registry
MCP registry, active

More from clouatre-labs