Local-first codebase knowledge-graph MCP server. Parses your repo into a symbol graph and serves it to AI coding agents so they stop wasting tokens re-scanning files. Watch-first: the graph stays fresh as you type.
codescope-mcp defines 9 code-analysis tools with consistent naming (verb_noun: search, get, callers, callees, impact, context, neighborhood, affected, fileOutline) and reasonable descriptions (avg ~60 chars). All tools are READ_ONLY and well-scoped. However, parameter descriptions are minimal (often 1-2 sentences), output schemas are not documented in the source, and error handling guidance is absent. The tools follow a single-responsibility pattern well, but lack the depth of documentation and error recovery patterns expected in production-grade tools.
Test files affected by a set of changed files
List what a function/method calls
List callers of a function/method
Ranked relevance map for a task (matches + neighbours)
Get the outline (symbols) of a file
Look up a definition by exact name
Transitive callers (blast radius) of a symbol
Show the call neighbourhood around a symbol
Output schemas not documented. No visible return type definitions for any tool. LLMs cannot plan downstream calls or extract required fields without knowing response structure.
Parameter descriptions are minimal (1-2 sentences). Missing format constraints, ranges, and dependency hints. E.g., 'limit' lacks min/max bounds; 'depth' lacks explanation of what constitutes a 'hop' or 'transitive depth'.
No error handling guidance. Tools do not document what happens on invalid input (e.g., symbol not found, invalid file path, depth out of range) or how LLMs should recover.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | 2026-07-28+ | v2 |
Fuzzy-search symbol names
Tool descriptions lack context on WHEN to use each tool. E.g., 'context' vs 'neighborhood' distinction is unclear; 'impact' vs 'callers' relationship is not explained. LLMs will struggle to select the right tool.
No pagination or result-limiting guidance in descriptions. Tools accept 'limit' but do not document default behavior, max cap, or whether results are sorted/ranked.