# Claude Code Explorer MCP

> Browse Claude Code CLI source interactively.

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

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

## 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
- Source reads and search results may contain sensitive content; review them before sharing.
- An incorrect source path can prevent access to the expected files.

## Client config (JSON)
```json
{"mcpServers":{"claude-code-explorer":{"command":"npx","args":["-y","claude-code-explorer-mcp"]}}}
```

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