get_conversation_history
Get paginated conversation history (use after exploring with list_projects/list_sessions for targeted data)
Search and read past Claude Code conversations by project, session, or date, and pull targeted history back into the assistant.
LABSCO SUMMARY
The 4 tools read the local history: list_projects and list_sessions map what exists, then get_conversation_history and search_conversations pull the relevant parts. Nothing here writes; it reads history already on disk.
A reader over Claude Code's conversation history: its 4 tools list projects and sessions, fetch paginated history, and search past conversations by content.
Local Claude Code conversation history on the machine where the server runs.
One command — npx claude-code-history-mcp
USE CASES
Search past conversations by content across projects to locate the thread.
List the project's sessions, then pull the targeted conversation history.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
get_conversation_historyGet paginated conversation history (use after exploring with list_projects/list_sessions for targeted data)
list_projectsList all projects with Claude Code conversation history (start here to explore available data)
list_sessionsList conversation sessions for a project or date range (use after list_projects to find specific sessions)
search_conversationsSearch through conversation history by content (useful for finding specific topics across all conversations)
BEFORE YOU INSTALL
4 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 4 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"claude-code-history-mcp": {
"command": "npx",
"args": [
"claude-code-history-mcp"
]
}
}
}npx claude-code-history-mcp