Claude Code▌
by kunihiros
Experience Claude Code, a Claude chatbot for codegeass fans using a Claude LLM. Enjoy coding with less capable LLMs toda
Use Claude Code with less capable LLMs.
Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.
best for
- / Developers needing complex multi-step code operations
- / When Cursor or other editors struggle with file editing
- / Automating coding tasks that require system access
capabilities
- / Execute file operations without permission prompts
- / Run Git commands through Claude Code
- / Perform terminal operations with bypassed constraints
- / Edit files directly via Claude Code interface
- / Queue multiple commands for efficient execution
what it does
Executes coding tasks through Claude Code CLI with automatic permission bypassing, handling file operations, Git commands, and terminal operations without interruptions.
about
Claude Code is a community-built MCP server published by kunihiros that provides AI assistants with tools and capabilities via the Model Context Protocol. Experience Claude Code, a Claude chatbot for codegeass fans using a Claude LLM. Enjoy coding with less capable LLMs toda It is categorized under developer tools.
how to install
You can install Claude Code in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
Claude Code is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
claude-code-mcp Project
[0.1.9] - 2026-03-06
Security Update
- Add pnpm overrides to pin transitive dependencies to patched versions.
hono^4.12.4 (fixes serveStatic path traversal, SSE CRLF injection, Cookie attribute injection, basicAuth/bearerAuth timing)@hono/node-server>=1.19.10 (fixes authorization bypass via encoded slashes)ajv>=8.18.0 (fixes ReDoS with$dataoption)qs>=6.14.2 (fixes DoS via arrayLimit bypass)
[0.1.8] - 2026-02-05
Security Update
- Update @modelcontextprotocol/sdk version.
- Add zod dependency to satisfy peer dependency requirements.
- Bump TypeScript version for compatibility with updated dependencies.
Overview
The claude-code-mcp project is an MCP server for Claude Code.
It calls the locally installed Claude Code command and provides the following tools: explain_code, review_code, fix_code, edit_code, test_code, simulate_command, and your_own_query. The server is implemented using Node.js and the MCP SDK, receiving JSON format requests from clients via stdio. Internally, it adopts Base64 encoding to smoothly process special characters (newlines, quotation marks, etc.) in natural language text, resulting in improved stability and flexibility. Its main roles are receiving requests, encoding input, generating and executing commands, and returning execution results in JSON format.
This project has been confirmed to work in Claude Code CLI environments (Ubuntu/WSL2, etc.).
💡 MCP Host with less capable LLM, can tame and make use of Claude power💪! With claude-code-mcp, you can also call Claude Code from Claude Desktop!! 😇😜😎 (unconfirmed)
Functions
The main roles of the server are:
- Request Reception: Receive JSON format tool requests from clients (e.g.
code,context,focus_areas, etc.). - Input Processing: Internally Base64 encode the received natural language text.
- Tool Selection and Command Generation: Based on the tool name in the request, assemble a command string for the query using a fixed template or free format (
your_own_query). - Command Execution: Use Node.js's
child_process.spawnto execute the assembled command and get the result from standard output. - Result Return: Return the execution result to the client in JSON format.
Getting Started
Prerequisites
- Node.js (>= v18 recommended, tested with v22.14.0)
- npm (or yarn)
- Claude Code command installed and auth completed. https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview
Installation & Usage
There are several ways to use claude-code-mcp:
1. Using npx (Recommended for quick use)
You can run the server directly without installation using npx:
npx @kunihiros/claude-code-mcp
2. Global Installation
Install the package globally:
npm install -g claude-code-mcp
Then, you can run it as a command:
claude-code-mcp
3. Local Installation (For development)
Clone the repository and install dependencies:
git clone https://github.com/KunihiroS/claude-code-mcp.git
cd claude-code-mcp/claude-code-server
npm install
npm run build
You can then run the built script directly:
node build/index.js
Configuration
Environment Variables:
Regardless of the installation method, you need to configure the environment variables. Create one of the following files:
- Using MCP Host Settings (Recommended for
npx): Configure environment variables directly within your MCP Host's settings (see "MCP Host Configuration" below). This is the easiest way when usingnpx. - Using a
.envfile: Create a.envfile in the directory where you run thenpx @kunihiros/claude-code-mcpcommand. - Using a global config file: Create a
.claude-code-mcp.envfile in your home directory (~/.claude-code-mcp.env).
If using a file (.env or ~/.claude-code-mcp.env), add the following content, adjusting the CLAUDE_BIN path:
# .env or ~/.claude-code-mcp.env
CLAUDE_BIN=/path/to/your/claude/executable # REQUIRED: Set the full path to your Claude CLI
LOG_LEVEL=info # Optional: Set log level (e.g., debug, info, warn, error)
MCP Host Configuration (Recommended for npx):
Add the following to your MCP Host application settings (e.g., Claude Desktop settings). This method allows you to set environment variables directly.
"claude-code-server": {
"command": "npx",
"args": [
"-y",
"@kunihiros/claude-code-mcp"
],
"env": {
"CLAUDE_BIN": "/path/to/your/claude/executable", // REQUIRED: Set the absolute path
"LOG_LEVEL": "info" // Optional: Set log level
},
"disabled": false
}
(Restarting the host application might be required.)
Alternative MCP Host Configuration (Global Install / Local Dev):
If you installed the package globally or are running it locally from the cloned repository, and the claude-code-mcp command is in your system's PATH, you can use:
"claude-code-server": {
"command": "claude-code-mcp",
"disabled": false
}
In this case, you must configure environment variables using a .env file or the global ~/.claude-code-mcp.env file as described above.
Environment Variables Details
This server uses the following environment variables (set via MCP Host env settings, .env, or ~/.claude-code-mcp.env):
CLAUDE_BIN: Specifies the path to the Claude CLI executable. (Required) Example:/home/linuxbrew/.linuxbrew/bin/claudeorC:\Users\YourUser\AppData\Local\bin\claude.exeLOG_LEVEL: Specifies the log level. (Optional, defaults toinfo). Possible values:debug,info,warn,error.
Available Tools
The claude-code-mcp server provides the following tools:
explain_code: Provides a detailed explanation of the given code.review_code: Reviews the given code.fix_code: Fixes bugs or issues in the given code.edit_code: Edits the given code based on instructions.test_code: Generates tests for the given code.simulate_command: Simulates the execution of a given command.your_own_query: Sends a custom query with context.
Note
- Log file (
claude-code-mcp.log) location:- Attempts to create in the project root first.
- Falls back to the user's home directory (
~/.claude-code-mcp.log). - Finally falls back to
/tmp/claude-code-mcp.log.
- Log rotation is not implemented yet (be careful with log file size).
- Primarily tested with Claude CLI on Ubuntu/WSL2.
License
This project is licensed under the MIT License - see below for details.
MIT License
Copyright (c) 2024 KunihiroS
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Disclaimer
This software is provided for educational and research purposes only. This project is not officially associated with or endorsed by Anthropic. Claude is a trademark of Anthropic.
The project uses the Claude CLI as a dependency, but is an independent, community-driven effort. Users should ensure they comply with Anthropic's terms of service when using this project.
The maintainers of this project are not responsible for any misuse of the software or violations of the terms of service of any third-party APIs or services.
FAQ
- What is the Claude Code MCP server?
- Claude Code is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for Claude Code?
- This profile displays 61 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
Use Cases▌
Extended AI Capabilities
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Context Enhancement
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Workflow Automation
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Implementation Guide▌
Prerequisites
- ›Claude Desktop 0.7.0+ or Cursor IDE with MCP support
- ›Basic understanding of MCP architecture and capabilities
- ›Access credentials for integrated services (if required)
- ›Willingness to experiment and iterate on configuration
Time Estimate
15-60 minutes depending on server complexity
Installation Steps
- 1.Install MCP server: npm install -g [package-name] or via GitHub
- 2.Add server configuration to ~/.claude/mcp.json
- 3.Provide required credentials and configuration
- 4.Restart Claude Desktop to load new server
- 5.Test basic functionality with simple prompts
- 6.Explore capabilities and experiment with use cases
- 7.Document successful patterns for reuse
Troubleshooting
- ⚠MCP server not loading: Check config syntax, verify installation
- ⚠Connection errors: Check network, firewall, credentials
- ⚠Feature not working: Read server docs, check required parameters
- ⚠Performance issues: Monitor resource usage, check for network latency
- ⚠Conflicts with other servers: Check port assignments, namespace collisions
Best Practices▌
✓ Do
- +Read server documentation thoroughly before setup
- +Start with simple use cases to validate functionality
- +Test in non-production environment first
- +Monitor resource usage and performance
- +Keep servers updated for bug fixes and new features
- +Document configuration for team members
- +Use environment variables for sensitive configuration
✗ Don't
- −Don't grant overly permissive access to MCP servers
- −Don't skip reading security considerations in docs
- −Don't expose sensitive data without proper controls
- −Don't run untrusted MCP servers without code review
- −Don't ignore error messages—investigate root cause
💡 Pro Tips
- ★Combine multiple MCP servers for powerful workflows
- ★Create custom MCP servers for your specific needs
- ★Share successful configurations with team
- ★Use MCP inspector for debugging
- ★Join MCP community for tips and troubleshooting
Technical Details▌
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
- Model Context Protocol (MCP)
- JSON-RPC 2.0
- stdio or HTTP transport
Compatibility
- Claude Desktop
- Cursor IDE
- Custom MCP clients
When to Use This▌
✓ Use When
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid When
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.
Integration▌
- →Tool composition: Chain multiple MCP tools in workflows
- →Context augmentation: Provide AI with relevant external data
- →Action delegation: Let AI execute tasks on external systems
- →Bidirectional sync: Keep AI context and external systems in sync
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
List & Promote Your MCP Server
Share your MCP server with the developer community
Ratings
4.5★★★★★61 reviews- ★★★★★Liam Robinson· Dec 24, 2024
According to our notes, Claude Code benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Lucas Malhotra· Dec 16, 2024
I recommend Claude Code for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Yusuf Shah· Dec 4, 2024
We evaluated Claude Code against two servers with overlapping tools; this profile had the clearer scope statement.
- ★★★★★Liam Park· Nov 23, 2024
Claude Code is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Lucas Mehta· Nov 23, 2024
Claude Code reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Ren Sharma· Nov 15, 2024
Useful MCP listing: Claude Code is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Aditi Jain· Nov 15, 2024
Claude Code is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
- ★★★★★Kwame Huang· Nov 11, 2024
Strong directory entry: Claude Code surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Layla Desai· Oct 14, 2024
Strong directory entry: Claude Code surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Evelyn Torres· Oct 14, 2024
I recommend Claude Code for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
showing 1-10 of 61