Best for
- Developers who want to search and reuse their Claude Code conversation history.
- Users who want project history injected at the start of new sessions.
The README describes an MCP server for indexing and searching Claude Code conversation history, with nine tools, a stdio entry point, an optional session-start hook, and cloud sync. No server manifest or verified client compatibility information is provided.
Strongest · Documentation 10/20 Weakest · Reliability 6/20
Static review · not runReviewed 2026-11-30
Read the FMRS scoring method →Runtime:Node.js
CLAUDE_HISTORY_API_KEY
Optional cloud sync API key; get it from the ClaudeHistory Cloud service.
CLAUDE_HISTORY_API_URL
Optional cloud sync server URL; get it from your ClaudeHistory Cloud deployment.
CLAUDE_HISTORY_TEAM_ID
Optional team sync ID; get it from your team configuration.
Clone the repository, then run npm install and npm run build. Optionally run npm run build-index to build the search index, then register the server with claude mcp add claude-history -- node "/path/to/ClaudeHistoryMCP/dist/index.js". Optionally run npm run install-hook to install the session-start hook and /claude-history skill. Cloud sync requires CLAUDE_HISTORY_API_URL and CLAUDE_HISTORY_API_KEY; CLAUDE_HISTORY_TEAM_ID is optional for team sync.
{"command":"node","args":["/path/to/ClaudeHistoryMCP/dist/index.js"]}
Works in clients that read an "mcpServers" key. For clients such as VS Code that use a different key, the configurator below converts it.
{
"command": "node",
"args": [
"/path/to/ClaudeHistoryMCP/dist/index.js"
]
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
{
"command": "node",
"args": [
"/path/to/ClaudeHistoryMCP/dist/index.js"
]
}
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
Confirm the Claude History tools appear in your client's MCP tool list. Then ask it to search for a past error or list projects to verify the connection.
Once connected, you can ask your AI assistant things like:
No matching tools
Claude History MCP indexes Claude Code conversations for hybrid search, knowledge extraction, session summaries, and project context. It can also inject project history at session start and provides optional cloud sync tools.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision a4d5cbca2704 Data synced 2026-12-05 Read the FMRS scoring method Markdown