← Back to directory
C

Claude Code Source

Community
Not a standard server
Full restoration of Claude Code source from npm package, including all native modules.

This is not a typical connect-and-use MCP server; read the source repository before using it.

Category
Dev Tools #426 of 438
Stars
★ 376 Popular
Transport
stdio (local process)
Runtime
Bun 1.3.10+
Credentials
Optional API key
Last commit
⚠
Tools
1
26FMRS · D

This MCP server provides a full suite of tools by restoring Claude Code's source code, but due to its unofficial nature, reliability and legal compliance should be carefully evaluated.

Strongest · Documentation 8/20 Weakest · Reliability 4/20

Reliability
4/20
Security and permissions
4/20
Maintenance
5/20
Documentation
8/20
Setup experience
5/20
Why each score
Reliability 4/20
The repository claims full source restoration from npm package, but there is no CI configuration and no test files that could serve as reproducibility evidence. There are numerous TypeScript compile errors (only 96% fixed) and no runtime logs or smoke tests. Static review cannot verify MCP handshake or tool behavior, hence low reliability score.
Security and permissions 4/20
The repository contains the complete source extracted from the official Anthropic package along with native modules, which poses potential risks of obfuscated code or backdoors, but the README does not disclose security audits or supply-chain verification measures. Startup scripts directly expose host configuration (start:home) without permission confirmation or sandbox isolation. No explicit malicious behavior is found, but lack of security review records and risk assessment.
Maintenance 5/20
Repository is active (373 stars, 4 open issues), but there is no license file, no obvious release versioning strategy (e.g., Changelog or GitHub Releases), and no security response channel. Commit history exists, but maintenance governance evidence is missing.
Documentation 8/20
README is very detailed, covering feature matrix, feature flags, directory structure, restoration methodology, and provides startup commands and configuration instructions. However, it lacks MCP protocol parameter details, troubleshooting guide, and example configurations. No client integration examples (like Claude Desktop, Zed) or cost/limitations are provided.
Setup experience 5/20
Bun-based installation steps are clear (bun install, bun run start), and MCP mode is supported (bun run mcp). However, requires Bun >= 1.3.10 and native module cross-platform compatibility concerns; no automated tests or CI to verify the installation process. No specific configuration examples for mainstream clients, hence deduction.

Static review · not runListed 2026-08-07

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the networkControls a browser

Best for

  • Developers
  • Researchers

Not for

  • General users
  • Those needing stable official support

Required permissions

  • File system access (for code operations)
  • Command execution (bash)
  • Network access (for tools like WebFetch)

Risks and side effects

  • Non-official project, potentially unstable
  • Legal risks due to proprietary code usage
  • Feature completeness may differ from official releases

Setup

Before you start

Runtime:Bun 1.3.10+

  1. Install Bun (>=1.3.10)
  2. Clone the repository and navigate into it
  3. Run bun install
  4. Run bun run mcp to start the MCP server

Check that it works

Run bun run mcp to start the MCP server mode and confirm the process starts and the client can connect and list tools; alternatively run bun run start to verify the CLI REPL launches.

Troubleshooting

  1. Check that Bun version meets requirements; ensure dependencies are installed; verify configuration directory permissions.

Things to try

Once connected, you can ask your AI assistant things like:

  • Start this restored Claude Code project in MCP server mode and connect to it
  • After running bun run mcp, list the available MCP tools
  • Which native modules and internal dependencies does this restored source include?

Tools 1

mcp writes
Starts the MCP server mode, allowing it to be used as an MCP server.

Use cases

Research Claude Code source code
Run a local variant of Claude Code
Develop or learn from the code

Supported clients

Claude DesktopPartial support

Listed from the project's documentation, not tested by this site.

Overview

claude-code-source is a project that restores the source code of Claude Code from the @anthropic-ai/claude-code npm package, aiming to fully recover all native modules, internal dependencies, and type definitions without feature cuts. It can run locally and provides an MCP server mode. Note: This is not an official Anthropic server, but a third-party restoration of publicly available content.

Similar servers

Context7 80 · B

Upstash's official server providing up-to-date third-party library docs for AI coding assistants

★ 62.9k · Tools 2 Compare with this →

Source revision 431056a3ed6a Data synced 2026-10-12 Read the FMRS scoring method