# Claude Code Explorer MCP

> Browse Claude Code CLI source code interactively.

- **URL**: https://followmcp.com/en/servers/tagoat-mcp-server
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 103
- **FMRS Score**: 49/100 (Grade D)
- **Source**: https://github.com/TaGoat/claude_code_cli/tree/main/mcp-server
- **Transports**: stdio (local process)
- **Runtimes**: Node.js
- **Auth**: No credential needed

## 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.

## 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
- 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.

## Client config (JSON)
```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"}}}}
```

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