Static codebase analysis as MCP tools — give AI coding agents a map of your repo (file map, import graph, API routes, frontend-to-backend edges) instead of letting them burn tokens rediscovering it.
Three tools with clear, actionable descriptions (avg 156 chars) and well-defined input schemas. Naming follows verb_noun convention (analyze_repo, get_routes, find_api_callers). However, output schemas are not documented, LLMs cannot predict return structure. Parameters lack descriptions in schema (only present in tool description text). No error handling guidance or recovery paths. Missing tool annotations (readOnlyHint). Composition is sound: each tool has one responsibility and tools chain naturally (analyze_repo → get_routes → find_api_callers).
Analyze a repository and return its architecture map: file/module overview, internal import graph, HTTP routes (Express/Fastify/Koa), and frontend-to-backend call edges. Call this FIRST when entering an unfamiliar codebase instead of reading files one by one.
Find frontend call sites (fetch/axios) that hit a given API route path — answers "who calls this API?". Returns matching call sites with file:line.
List the HTTP routes (method, path, file:line, framework) defined in a repository. Supports Express, Fastify, and Koa router.
Output schemas not documented. LLMs cannot predict return structure (file lists, import graphs, route objects, call sites). Forces agents to guess field names and types.
Parameter descriptions missing from schema definitions. 'path' and 'route' parameters have no inline descriptions, only tool-level docstrings. Schema must include per-parameter descriptions for LLM clarity.
No error handling guidance. Tools return READ_ONLY risk but provide no recovery paths. E.g., if a path is invalid or route not found, LLM receives no actionable error message.
Tool annotations missing. No readOnlyHint, destructiveHint, or idempotentHint declared. These tools are read-only and idempotent, annotations would help agents reason about safety and retry logic.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 69 | 2026-07-28+ | v2 |
No pagination or result limits documented. analyze_repo and get_routes may return large graphs/lists. No mention of max results, pagination tokens, or truncation behavior.