MCP server for code structure analysis using tree-sitter.
If you already use Aptu Coder, the aptu coder mcp server is the piece that lets your assistant work with it directly. MCP server for code structure analysis using tree-sitter.
Standalone MCP server for code structure analysis using tree-sitter. OpenSSF silver certified: fewer than 1% of open source projects reach this level.
aptu-coder is a Model Context Protocol server that gives AI agents precise structural context about a codebase: directory trees, symbol definitions, and call graphs, without reading raw files. It supports 18 languages (see Supported Languages) and integrates with any MCP-compatible orchestrator.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
summary — booleancursor — stringpage_size — integeranalyze_directory — Directory tree with LOC, function, and class counts; respects .gitignoreanalyze_file — Functions, classes, and imports with signatures and line ranges; returns graceful fallback (line count, file head, no AST) for unsupported extensionsanalyze_module — Lightweight function and import index (~75% smaller than analyze_file); returns graceful fallback (empty index with note) for unsupported extensionsanalyze_symbol — Call graph for a named symbol across a directory; callers, callees, call depthedit_overwrite — Create or overwrite a file; creates parent directoriesedit_replace — Replace a unique exact text block or all non-overlapping occurrences (replace_all=true); errors if zero or multiple matches; empty new_text deletesexec_command — Run a shell command; returns stdout, stderr, exit code; output capped and filtered; optional timeout_secs (kill on expiry) and drain_timeout_secsSetup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
Among the file and storage access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Aptu Coder's toolset — summary, cursor, page_size and 7 more — is a fair guide to whether it matches your workflow. It is maintained by clouatre-labs; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| summary | boolean |
| cursor | string |
| page_size | integer |
| analyze_directory | Directory tree with LOC, function, and class counts; respects .gitignore |
| analyze_file | Functions, classes, and imports with signatures and line ranges; returns graceful fallback (line count, file head, no AST) for unsupported extensions |
| analyze_module | Lightweight function and import index (~75% smaller than analyze_file); returns graceful fallback (empty index with note) for unsupported extensions |
| analyze_symbol | Call graph for a named symbol across a directory; callers, callees, call depth |
| edit_overwrite | Create or overwrite a file; creates parent directories |
| edit_replace | 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; CRLF normalized before matching; returns occurrences_replaced |
| exec_command | Run a shell command; returns stdout, stderr, exit code; output capped and filtered; optional timeout_secs (kill on expiry) and drain_timeout_secs (post-exit drain window); heredoc rejected before spawn (file-write patter |
Scoped local file access — read, write, search and reorganise files in directories you explicitly allow.
Search and read your Drive — Docs, Sheets and files become context your assistant can actually use.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Chat with your second brain — search, read and write vault notes through the Local REST API.
Connects AI models to an Obsidian knowledge base for direct access and manipulation of notes and folders.