MCP server for code graph analysis, indexing, and querying across multiple programming languages
Codegraph provides 20 tools with consistent naming (verb_noun pattern) and basic schemas. However, descriptions are minimal (10-50 chars, well below the 194-char baseline), parameter descriptions are sparse or missing, and output schemas are undocumented. Most tools lack guidance on when to use them vs. similar tools. Error handling is present but generic. The server follows a reasonable structure but falls short of production-grade quality expected for agent integration.
Execute an agentic query using LLM backend
Get an overview of the repository architecture
Get relevant code context for a development task
Find all functions/methods called by a given symbol
Find all functions/methods that call a given symbol
Find dead code in the repository with pagination
Find tests related to a symbol or file
Tool descriptions are critically short (10-50 chars vs. 194-char baseline). Most lack context on WHEN to use the tool, prerequisites, or how it differs from similar tools. E.g., 'Find symbols matching a query with pagination support' does not explain when to call find_symbol vs. search_symbols vs. search_semantic.
Parameter descriptions are missing or trivial. E.g., 'query' in find_symbol has description 'Symbol name or pattern to search for' but does not explain regex support, case sensitivity, or scope (function names only vs. variables vs. types). LLMs cannot infer these constraints.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 51 | 2026-07-28+ | v2 |
Find symbols matching a query with pagination support
Get the impact radius of changes to specified symbols or files
Get statistics about the code graph
Index a repository to build the code graph
Get errors from the latest scan with pagination
List files in the repository with optional path filtering
List all indexed repositories with pagination
List all scans for a repository with pagination
Perform semantic search across the codebase
Search for symbols by name or pattern
Get list of supported programming languages
Trace dependencies of a symbol in a specified direction
Update the code graph with changes to the repository
Output schemas are not documented in tool definitions. The code returns structured JSON (e.g., wrapData('matches', items, err)) but the tools/list response does not include outputSchema fields. LLMs cannot plan downstream tool calls without knowing what fields to expect.
Error handling is generic. The code returns {'ok': false, 'error': '<message>'} but does not categorize errors as retryable, user-fixable, or fatal. No recovery guidance (e.g., 'Try search_symbols() with a partial name'). LLMs cannot decide whether to retry, ask the user, or give up.
Overlapping tool semantics without clear differentiation. find_symbol, search_symbols, and search_semantic all search for code entities but descriptions do not explain when to use each. LLMs will waste reasoning cycles deciding between them or pick the wrong one.