← Back to directory
C

Claude Code Explorer MCP

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

The server manifest confirms the name, version, npm package, Node runtime, and stdio transport. The README describes source browsing, search, architecture tools, and client configuration examples. There is no evidence that the server is maintained by the Claude Code upstream owner, so it is marked non-official.

Strongest · Setup experience 13/20 Weakest · Reliability 6/20

Reliability
6/20
Security and permissions
10/20
Maintenance
8/20
Documentation
12/20
Setup experience
13/20
Why each score
Reliability 6/20
The README lists server tools and prompts and provides an npm package with a stdio launch path. However, there are no server-specific tests, CI execution evidence, or error-handling details in the supplied material, so the initialization and tool-list handshake and the match between declared tools and actual behavior cannot be verified. The score reflects only limited plausibility.
Security and permissions 10/20
The README describes mainly source-reading and search capabilities and shows a configurable source root. The supplied material does not show implementation details for credential handling, network access, path constraints, or sensitive-data boundaries, and provides no evidence of confirmation for dangerous operations. Security controls are therefore only partially visible and key protections remain unverified. No supplied evidence establishes a red-line behavior.
Maintenance 8/20
The material states an MIT license and version 1.1.0, and the repository is not archived with zero open issues. It provides no commit history, release cadence, dependency update evidence, security response channel, or clear maintenance responsibility, leaving maintenance continuity and governance uncertain.
Documentation 12/20
The README provides a feature overview, lists tools and prompts, gives an npm install command, and includes configuration examples for several clients. It omits tool parameters, limitations, troubleshooting, dependency versions, and data-flow details; the capability claims also cannot be cross-checked against server source code in the supplied material, so the score is limited.
Setup experience 13/20
The README gives a one-step npm package launch example, source build steps, and configuration examples for VS Code, Claude Desktop, and Cursor. It does not specify runtime versions, platform compatibility, configuration validation, or connection troubleshooting, and there is no verifiable execution evidence, so the score remains below the upper range.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local files

Best for

  • Developers and researchers examining Claude Code CLI source in this repository.
  • Users who want to search and browse source through an MCP client.

Not for

  • Users who need to operate the Claude Code CLI, edit files, or run commands; the listed server capabilities focus on source browsing and search.
  • Users seeking access to other MCP servers or tools in the repository.

Required permissions

  • Requires running a local Node process and reading the source directory specified by CLAUDE_CODE_SRC_ROOT.
  • The provided configuration example does not show a need for network or write access.

Risks and side effects

  • Reading source may expose code accessible under the configured directory; set the source root carefully.
  • Source files may be outdated or incomplete, and reading them does not verify runtime behavior.
  • The README's tool list is repository-level documentation; the supplied server path and manifest define the server being profiled.

Setup

Before you start

Runtime:Node.js

CLAUDE_CODE_SRC_ROOT required Path to the Claude Code source directory; set it to the cloned repository's `src` directory.

Install and build the repository's mcp-server, then configure the MCP client to run node /absolute/path/mcp-server/dist/index.js and set CLAUDE_CODE_SRC_ROOT to the source directory. The README also describes launching through npx with the claude-code-explorer-mcp npm package; the manifest specifies Node and stdio.

.mcp.json
{"mcpServers":{"claude-code-explorer":{"command":"node","args":["/absolute/path/to/claude-code-source-code/mcp-server/dist/index.js"],"env":{"CLAUDE_CODE_SRC_ROOT":"/absolute/path/to/claude-code-source-code/src"}}}}

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": "node",
      "args": [
        "/absolute/path/to/claude-code-source-code/mcp-server/dist/index.js"
      ],
      "env": {
        "CLAUDE_CODE_SRC_ROOT": "/absolute/path/to/claude-code-source-code/src"
      }
    }
  }
}

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

~/.codex/config.toml
[mcp_servers.claude-code-explorer]
command = "node"
args = ["/absolute/path/to/claude-code-source-code/mcp-server/dist/index.js"]

[mcp_servers.claude-code-explorer.env]
CLAUDE_CODE_SRC_ROOT = "/absolute/path/to/claude-code-source-code/src"

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

Terminal
claude mcp add claude-code-explorer -e CLAUDE_CODE_SRC_ROOT=/absolute/path/to/claude-code-source-code/src -- node /absolute/path/to/claude-code-source-code/mcp-server/dist/index.js

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

Check that it works

Confirm that `list_tools` and `search_source` appear in the client's MCP tool list. Ask it to list the tools and check that the server returns Claude Code tool and source file information.

Troubleshooting

  1. Confirm Node is available and the server has been built to mcp-server/dist/index.js.
  2. Check that the script path is valid and CLAUDE_CODE_SRC_ROOT points to the intended src directory.
  3. If the connection fails, confirm the MCP client uses stdio configuration and can launch the command.

Things to try

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

  • List the Claude Code tools.
  • Search the source for permission checks.
  • Show me the implementation source for the /review command.

Tools 8

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

Use cases

Find how a tool or slash command is implemented in the Claude Code CLI source.
Search the source to locate functionality.
Browse source directories or get a quick architecture overview.

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 exposes browsing and search capabilities for Claude Code CLI source code through MCP. It can list tools and slash commands, read their source files, search the source tree, browse directories, and show an architecture overview. The manifest specifies stdio transport and a Node runtime.

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/tagoat-mcp-server.svg)](https://followmcp.com/en/servers/tagoat-mcp-server)