What are the runtime requirements?
Node.js 18 or later (tested with v22.14.0), npm (or yarn), and the Claude Code CLI installed and authenticated.
@KunihiroS
基本信息
MCP Server connects with claude code local command.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"claude-code-mcp": {
"command": "npx",
"args": [
"@kunihiros/claude-code-mcp"
]
}
}
}Provides a detailed explanation of the given code.
Reviews the given code.
Fixes bugs or issues in the given code.
Edits the given code based on instructions.
Generates tests for the given code.
Simulates the execution of a given command.
Sends a custom query with context.
claude-code-mcp is an MCP server that calls the locally installed Claude Code CLI and provides tools for code explanation, review, fixing, editing, testing, command simulation, and custom queries. It communicates via stdio and uses Base64 encoding to handle special characters in natural language text.
Run the server via npx @kunihiros/claude-code-mcp or install globally with npm install -g claude-code-mcp and run claude-code-mcp. Set the required CLAUDE_BIN environment variable to the path of your Claude CLI executable. Configuration can be provided through MCP host settings, a .env file, or a global ~/.claude-code-mcp.env file.
explain_code, review_code, fix_code, edit_code, test_code, simulate_command, and your_own_querydebug, info, warn, error)Node.js 18 or later (tested with v22.14.0), npm (or yarn), and the Claude Code CLI installed and authenticated.
Set the `CLAUDE_BIN` environment variable (required) to the absolute path of your Claude executable, e.g. `/home/linuxbrew/.linuxbrew/bin/claude`.
The server offers `explain_code`, `review_code`, `fix_code`, `edit_code`, `test_code`, `simulate_command`, and `your_own_query`.
The README notes that calling Claude Code from Claude Desktop may work, but this is unconfirmed.
The log file `claude-code-mcp.log` is first created in the project root, then falls back to the user’s home directory (`~/.claude-code-mcp.log`), and finally to `/tmp/claude-code-mcp.log`. Log rotation is not implemented.

Tokenaissance is a online Personal Agent for Quant and Research investment available at https://tokenaissance.com.
Open-source Node.js FHIR MCP server with SMART Backend Services, metadata-aware search/CRUD tools, compact responses, FHIRPath filtering, safe pagination, audit events, and terminology lookup.
AON MCP connects AI agents to real, buyable products and services with live pricing and tracked links—enabling builders to earn developer revenue share from attributed clicks and conversions.
Detect and redact PII, PHI, PCI and secrets — SSNs, credit cards, passports, API keys and cloud credentials — in text and in local files, using the Strac DLP API. Five tools: redact_text, detect_sensitive_data, detect_fi
28-tool MCP server for web scraping, crawling, deep research & autonomous extraction — clean Markdown & structured JSON for Claude, Cursor & any MCP client. 1,000 free one-time credits, local-Ollama LLM support.
评论