MCP server for integrating with Claude Code CLI
Claude Code MCP has 12 tools with basic schemas and descriptions, but significant quality gaps. Most tool descriptions are terse (10-50 chars), well below the 50-200 char baseline for LLM-optimized descriptions. Parameter descriptions are sparse or missing entirely. No output schemas are documented. Error handling is minimal, tools delegate to Claude Code CLI without recovery guidance. Tool naming is inconsistent: 'execute-query' and 'run-slash-command' are vague; 'execute-shell' exposes dangerous functionality without clear risk communication. No tool annotations (readOnlyHint, destructiveHint) despite high-risk operations like delete and shell execution. Composition is weak, tools are thin wrappers around CLI commands rather than agent-friendly abstractions.
Clear the Claude Code conversation history
Get detailed information about the codebase
Compact the Claude Code conversation to optimize memory
Create a new file with specified content via Claude Code
Edit files through Claude Code
Natural language query to send to Claude Code
Execute shell commands through Claude Code
search-codebase tool has no visible input schema or description in source code. Cannot verify parameter types, constraints, or expected output structure.
Tool descriptions are uniformly terse (10-50 chars), far below the 50-200 char baseline for LLM-optimized descriptions. Examples: 'Natural language query to send to Claude Code' (45 chars), 'Claude Code slash command to run' (32 chars). LLMs cannot distinguish when to use similar tools or understand prerequisites.
No output schemas documented for any tool. LLMs cannot plan downstream calls or extract required fields. Example: does 'search-codebase' return file paths, line numbers, snippets? Unknown.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | <=2025-11-25 | v2 |
Retrieve token usage and cost information from Claude Code
Initialize a project with Claude Code, creating a CLAUDE.md file
Read file contents using Claude Code
Claude Code slash command to run (with or without the leading / character)
Search the codebase
High-risk tools (execute-shell, clear-history, edit-file) lack tool annotations (destructiveHint, readOnlyHint). No explicit risk communication to agents. execute-shell is marked IRREVERSIBLE but has no confirmation step or dry-run option.
Parameter descriptions are missing or minimal. Example: 'directory' param appears in 10 tools but is described identically as 'Directory to execute query in (defaults to current directory)', no guidance on absolute vs relative paths, symlink handling, or permission requirements.