
MCP server for browsing, searching, exporting, and backing up your Cursor AI chat history.
Bring your Cursor AI chat history directly into Claude. Search past conversations, export sessions, create backups, and generate year-in-review reports—all through natural language. Built on the Model Context Protocol for seamless AI assistant integration.
Free, open-source, and MIT licensed. Built by the community, for the community.
No installation required! Run directly via npx:
npx cursor-history-mcp

Add to your Claude Code MCP settings:
{
"mcpServers": {
"cursor-history": {
"command": "npx",
"args": ["-y", "cursor-history-mcp"]
}
}
}
Add to your Claude Desktop configuration (~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"cursor-history": {
"command": "npx",
"args": ["-y", "cursor-history-mcp"]
}
}
}
| Tool | Description |
|---|---|
cursor_history_list |
List chat sessions with metadata |
cursor_history_show |
View full conversation content |
cursor_history_search |
Search across all sessions |
cursor_history_export |
Export session to Markdown or JSON |
cursor_history_backup |
Create backup of all history |
cursor_history_restore |
Restore from backup (destructive) |
cursor_history_migrate |
Move/copy sessions between workspaces (destructive) |
cursor_history_year_pack |
Generate year-in-review data package with stats, topics, and prompt template |
After configuring, ask your AI assistant:
Contributions are welcome! Whether it's bug reports, feature requests, documentation improvements, or code contributions—all PRs and issues are appreciated.
MIT
$ claude mcp add cursor-history-mcp \
-- python -m otcore.mcp_server <graph>