Observed since 20 Oct, 22:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
MCP server for searching Claude Code conversation history via Agent Genesis
MCP server for searching Claude Code conversation history
This package provides an MCP (Model Context Protocol) server that enables Claude Code to search through your conversation history using the Agent Genesis API.
Current package version: 1.7.1
pip install agent-genesis-mcp
git clone https://github.com/agentgenesis/agent-genesis.git
cd agent-genesis/mcp-server
pip install -e .
Add to your Claude Code configuration:
Linux/macOS: ~/.claude.json
Windows: %USERPROFILE%\.claude.json
{
"mcpServers": {
"agent-genesis": {
"command": "agent-genesis-mcp",
"args": []
}
}
}
Or if installed in a virtual environment:
{
"mcpServers": {
"agent-genesis": {
"command": "/path/to/venv/bin/agent-genesis-mcp",
"args": []
}
}
}
search_conversationsSearch through your Claude Code conversation history.
Parameters:
query (str): Search query stringlimit (int, optional): Max results (default: 5, max: 50)project (str, optional): Filter by project nameExample:
search_conversations(query="authentication flow", limit=10, project="my-app")
Returns:
{
"success": true,
"results": [
{
"score": 0.856,
"project": "my-app",
"timestamp": "2025-01-15T10:30:00Z",
"conversation_id": "conv_abc123",
"content_snippet": "Implementing authentication...",
"full_content_length": 1245
}
],
"total_found": 3,
"query": "authentication flow"
}
get_api_statsGet statistics about the indexed conversation corpus.
Returns:
check_api_healthVerify that the Agent Genesis API is running and healthy.
manage_schedulerControl automatic conversation indexing.
Parameters:
action (str): One of status, enable, disable, remove, configurefrequency_minutes (int, optional): Indexing interval (default: 30)Examples:
# Check status
manage_scheduler(action="status")
# Enable with 1-hour interval
manage_scheduler(action="enable", frequency_minutes=60)
# Disable
manage_scheduler(action="disable")
index_conversationsManually trigger conversation indexing.
Parameters:
full_reindex (bool): Reindex all conversations (default: False)time_range (str, optional): Time filter - "1h", "24h", "7d", "30d"force (bool): Bypass rate limiting (default: False)Examples:
# Index new conversations only
index_conversations()
# Full reindex
index_conversations(full_reindex=True, force=True)
# Index last 24 hours
index_conversations(time_range="24h")
config://api-endpoints - API endpoint documentationagentgenesis://stats - Current corpus statisticsagentgenesis://health - Current API health statussearch_conversations_workflow - Guided workflow for building and refining searchestrigger_indexing_workflow - Guided workflow for manual indexing and scheduler operationsBy default, the MCP server connects to http://localhost:8080.
To use a different endpoint, set the environment variable:
export AGENT_GENESIS_API_URL=http://your-host:port
The server provides MCP resources for documentation:
config://api-endpoints - API endpoint documentationagentgenesis://stats - Current corpus statisticsagentgenesis://health - API health statusEnsure the Agent Genesis Docker container is running:
docker-compose ps
curl http://localhost:8080/health
The API might be busy indexing. Try again in a few seconds.
# Clone the repo
git clone https://github.com/agentgenesis/agent-genesis.git
cd agent-genesis/mcp-server
# Install dev dependencies
pip install -e ".[dev]"
# Validate MCP compliance
python3 test_mcp_2025_compliance.py
# Run the interactive MCP smoke test
python3 test_mcp.py
# Format code
black .
ruff check .
MIT License - see LICENSE for details.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.7.1 | 20 Oct 2026 | 6 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:7ea4e63b16e30dee0bd088a667a27a22e7abe5465eae7a13159db63fb2882b80