← Back to directory
C

Claude Code Explorer MCP

Community
Browse Claude Code CLI source interactively.
Category
Dev Tools #664 of 751
Stars
★ 103 Popular
Transport
stdio (local process)
Runtime
Node.js
Credentials
No credential needed
License
MIT
Last commit
⚠
Tools
8
38FMRS · D

The manifest identifies this server as Claude Code Explorer MCP and specifies stdio transport with a Node runtime. The README lists source browsing, search, and architecture tools. There is no evidence that the Claude Code upstream product maintains it, so it is marked non-official.

Strongest · Setup experience 10/20 Weakest · Reliability 3/20

Reliability
3/20
Security and permissions
9/20
Maintenance
6/20
Documentation
10/20
Setup experience
10/20
Why each score
Reliability 3/20
The README lists tools and prompts, but provides no verifiable test or CI execution evidence. The supplied manifest begins with “cl{” and points to nirholas/claude-code's mcp-server, while the target repository is TaGoat/claude_code_cli. These format and ownership inconsistencies prevent confirming initialization and the tool-list handshake, so the score is low.
Security and permissions 9/20
The README describes browsing, searching, and reading source code, with the read interface described as operating under src/. The material shows no credential handling or dangerous side effects, and provides no evidence of a red-line issue. Since the server implementation is absent, path enforcement, input validation, error handling, and data flows cannot be verified, so the score is well below full marks.
Maintenance 6/20
The material gives an MIT license, version 1.1.0, 103 stars, zero open issues, and an unarchived status, providing some maintenance signals. However, the manifest's repository ownership conflicts with the target, and there is no evidence of commit history, release cadence, dependency updates, or a security response channel, so the score is limited.
Documentation 10/20
The README provides tool and prompt lists, an npm installation command, configuration examples for several clients, and instructions for a custom source path. Parameter details, limitations, troubleshooting, and verifiable implementation evidence are missing; the manifest also conflicts with the README about repository ownership, so points are deducted.
Setup experience 10/20
The README includes a one-line npm install command, source build steps, and configuration examples for Claude Code, VS Code, Claude Desktop, and Cursor. The source setup requires cloning, installing dependencies, and building; runtime and source-path assumptions are not fully explained, and the manifest ownership conflict reduces confidence in the setup path.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local files

Best for

  • Developers studying Claude Code source.
  • Users who want to query tools, commands, and their implementations through MCP.

Not for

  • Users who need to execute Claude Code commands or invoke its agent tools.
  • Users who want to browse source code from unrelated projects.

Required permissions

  • Needs access to the Claude Code source directory to browse and read files; CLAUDE_CODE_SRC_ROOT can specify its location.

Risks and side effects

  • Source reads and search results may contain sensitive content; review them before sharing.
  • An incorrect source path can prevent access to the expected files.

Setup

Before you start

Runtime:Node.js

Other optional settings (1)
CLAUDE_CODE_SRC_ROOT optional Optional path to the source directory; set it to the repository's `src` directory in VS Code or Claude Desktop configuration.

Start the npm package with npx by setting command to npx and args to ["-y", "claude-code-explorer-mcp"] in the MCP client configuration. For a source installation, the README describes cloning the repository, installing dependencies and building in mcp-server, then registering the generated Node program. If source files cannot be found, check the CLAUDE_CODE_SRC_ROOT setting.

.mcp.json
{"mcpServers":{"claude-code-explorer":{"command":"npx","args":["-y","claude-code-explorer-mcp"]}}}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "claude-code-explorer": {
      "command": "npx",
      "args": [
        "-y",
        "claude-code-explorer-mcp"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.claude-code-explorer]
command = "npx"
args = ["-y", "claude-code-explorer-mcp"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add claude-code-explorer -- npx -y claude-code-explorer-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Check that `list_tools` and `get_architecture` appear in the client's MCP tool list. Then ask it to list tools; a response with tools and their source files confirms the connection.

Troubleshooting

  1. Confirm the source directory exists and CLAUDE_CODE_SRC_ROOT points to it.
  2. For a source installation, confirm dependencies are installed, the project is built, and the client points to the built program.
  3. Confirm the MCP client uses stdio and an available Node runtime.

Things to try

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

  • List Claude Code tools and their source files.
  • Search the source for where permissions are checked.
  • Show me the implementation source for the /review command.

Tools 8

list_tools read-only
List Claude Code agent tools and their source files.
list_commands read-only
List Claude Code slash commands and their source files.
get_tool_source read-only
Read the full source of a specified tool.
get_command_source read-only
Read the source of a specified slash command.
read_source_file read-only
Read a specified file under src/.
search_source read-only
Search across the source tree.
list_directory read-only
Browse directories under src/.
get_architecture read-only
Provide a high-level architecture overview.

Use cases

Find the implementation of a Claude Code tool or slash command.
Search source for permission checks or other logic.
Browse directories and understand the codebase architecture.

Supported clients

Claude Code
Claude Desktop
VS Code
Cursor

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

Overview

Claude Code Explorer MCP provides MCP access to browse Claude Code source code. It can list tools and slash commands, read source files, search code, browse directories, and show an architecture overview. The manifest specifies stdio transport and a Node runtime. It suits developers examining this codebase; it is not for operating the Claude Code CLI or browsing unrelated projects.

Similar servers

More servers from this repository

Source revision 66f774078704 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/claude-code-cli.svg)](https://followmcp.com/en/servers/claude-code-cli)