Get the FREE Ultimate OpenClaw Setup Guide →

ClaudeHistoryMCP

MCP server for searching and surfacing Claude Code conversation history

How to use

ClaudeHistoryMCP is a specialized Model Context Protocol server that allows you to search and retrieve conversation history from Claude Code interactions. Developers can leverage this tool to efficiently access past discussions, enabling them to improve their coding practices and revisit important insights without sifting through extensive logs. This server is particularly useful for teams that frequently collaborate using Claude Code, ensuring that valuable information is always at your fingertips.

Once connected to ClaudeHistoryMCP, you can issue queries to search for specific conversations or topics from your Claude Code history. You can use simple text-based commands to filter results by date or keywords, making it easy to find relevant discussions quickly. For best results, formulate your queries with specific terms or phrases related to your coding projects to help narrow down the search effectively.

How to install

Prerequisites

Before installing ClaudeHistoryMCP, ensure you have Node.js installed on your system. You can download it from nodejs.org.

Option A: Quick start with npx

If you want to quickly start using ClaudeHistoryMCP without a full installation, you can use npx:

npx -y jhammant/ClaudeHistoryMCP  

Option B: Global install alternative

To install ClaudeHistoryMCP globally, use the following command:

npm install -g jhammant/ClaudeHistoryMCP  

This allows you to access the server from anywhere on your machine.

Additional notes

When configuring ClaudeHistoryMCP, ensure your environment has access to the necessary network permissions to communicate effectively. You might also want to set environment variables for API keys or service endpoints if required for your specific use case. Be cautious of rate limits when querying the server, as excessive requests may lead to throttling.

Related MCP Servers

Sponsor this space

Reach thousands of developers