Enhanced Claude Code CLI — Your AI Coding Mate | Claude AI 编程助手. Provides custom MCP tools for project memory, code analysis, git operations, and environment detection.
Server provides 20 tools with basic schemas and descriptions, but quality is inconsistent. Most tools have descriptions (good), but many lack depth and actionable guidance. Schemas are present but sparse, parameters often lack type constraints, enums, or validation rules. Error handling is minimal; most tools return generic text responses without recovery guidance. No tool annotations (readOnlyHint, destructiveHint, idempotentHint). Naming is generally clear (verb_noun pattern), but some tools like 'run_command' and 'run_python' expose dangerous operations without sufficient safeguards in the schema itself. Output schemas are undocumented, LLMs cannot predict response structure. Composition is reasonable (tools are single-purpose), but dangerous tools (run_command, write_file) lack confirmation patterns or dry-run support.
Analyze project directory: detect type, languages, framework, key files, file statistics.
Detect package manager and list outdated dependencies.
Count lines of code by language, file count, and largest files.
Detect environment: OS, Python version, Node.js version, disk space, memory.
Get git repository info: branch, status, recent commits.
Analyze git blame for a file: show line counts by author.
Show git changes since a reference: files changed, insertions, deletions.
Dangerous operations (run_command, run_python, write_file) lack confirmation/dry-run patterns. No tool annotations (destructiveHint, idempotentHint) to signal irreversible side effects to LLMs.
Output schemas are undocumented. LLMs cannot predict response structure (e.g., what fields does git_summary return? Is it a dict or array?). Breaks tool chaining and forces LLMs to guess.
Parameter schemas lack enums, ranges, and validation rules. E.g., 'days' in git_summary has no min/max; 'timeout' in run_command is unbounded; no enum for 'allow_dangerous' boolean.
Error handling is generic. Tools return plain text errors without recovery guidance. E.g., 'command not found' does not suggest alternatives; 'Key not found' does not explain how to list available keys.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | 2026-07-28+ | v2 |
Get git repository summary: commits, authors, insertions/deletions over a time period.
Recursively list files matching glob pattern, skipping .git, __pycache__, node_modules, etc.
List all keys in project memory.
Read a value from project-specific memory.
Write a value to project-specific memory.
List all quick notes with timestamps.
Search quick notes by keyword or tag.
Write a timestamped note to the quick notes store.
Read file content, auto-detecting encoding (utf-8 → gbk → latin-1).
Execute shell command, returning stdout, stderr, returncode. Blocks dangerous commands (rm -rf, mkfs, dd, chmod 777, etc.) unless allow_dangerous=true.
Execute Python code snippet in isolated subprocess, returning stdout, stderr, returncode.
Search files for regex pattern, returning matching lines with file paths and line numbers.
Write file content, creating .bak backup if file exists.
run_command blocks dangerous patterns (rm -rf, mkfs, dd, chmod 777) but only when allow_dangerous=false. No server-side permission gate; LLM can override with allow_dangerous=true. Requires trust in agent behavior, not enforcement.