
Cursor History
Pulls your Cursor IDE chat history into Claude through direct SQLite reads. You get seven tools: list sessions, view full conversations, grep style search across all chats, export to markdown or JSON, create backups, restore from backup, and migrate sessions between workspaces. The year pack tool generates an annual coding review with stats, topics, and trends. Unlike vector based alternatives, this runs instant text searches with no embedding step, no LLM required, and works completely offline. Run it with npx, zero install needed. Useful when you want to reference past Cursor conversations without switching windows, or when you need to preserve chat history before switching machines.
- GitHub stars
- 33
- tools
- 8
- transport
- STDIO
- last updated
- Sep 8, 2026
Tools
8 toolsPublic tool metadata for what this MCP can expose to an agent.
cursor_history_listList sessions with IDs, index scope, source and data status.
List sessions with IDs, index scope, source and data status.
No parameter schema in public metadata yet.
cursor_history_showInspect available messages.
Inspect available messages.
No parameter schema in public metadata yet.
cursor_history_searchSearch text.
Search text.
No parameter schema in public metadata yet.
cursor_history_exportReturn Markdown or JSON content, not a file written by the server.
Return Markdown or JSON content, not a file written by the server.
No parameter schema in public metadata yet.
cursor_history_backupCreate a Composer archive.
Create a Composer archive.
No parameter schema in public metadata yet.
cursor_history_restoreRestore a Composer archive; writes local history.
Restore a Composer archive; writes local history.
No parameter schema in public metadata yet.
cursor_history_migrateMove/copy eligible Composer sessions.
Move/copy eligible Composer sessions.
No parameter schema in public metadata yet.
cursor_history_year_packReturn annual statistics and a report prompt.
Return annual statistics and a report prompt.
No parameter schema in public metadata yet.
Sponsors
Readme
Cursor History MCP
cursor-history-mcp — Search your Cursor history through MCP. MCP-exclusive Year in Review: statistics, topics and report prompts.
English | 中文 | Français | Español
Let your AI search your Cursor history.
Your existing Cursor conversations may already contain months of decisions, bugs, fixes, and architectural context. Give an MCP-capable assistant a way to find that context—without having recorded it with this tool beforehand.
Details
- Repository
- github.com/s2thend/cursor-history-mcp
- Category
- Communication & Messaging
- Package
cursor-history-mcp- Transport
- STDIO
- Registry
- MCP registry, active