MCP server for browsing, searching, exporting, and backing up your Cursor AI chat history
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
π¨π³ δΈζζζ‘£ | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol
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.
There are other Cursor history tools out there (like the Python-based Cursor-history-MCP). Here's what makes this one different:
| Feature | cursor-history-mcp (this project) | Other Solutions |
|---|---|---|
| π¦ Setup | β
npx cursor-history-mcp - zero install | β Docker, Python, dependencies |
| β‘ Speed | β Instant - direct SQLite reads | β Slow - requires LLM vectorization |
| π Search | β Grep-style text matching - precise & stable | β Vector retrieval - unpredictable results |
| π€ LLM Required | β No - works offline | β Yes - needs Ollama/embeddings |
| π οΈ Language | β TypeScript (type-safe) | β οΈ Python |
| πΎ Backup/Restore | β Built-in | β Not available |
| π Migration | β Move sessions between workspaces | β Not available |
| π Dependencies | β Minimal (just Node.js) | β Docker, LanceDB, Ollama, FastAPI |
npx - no Docker containers, no Python environments, no API keys, no LLM setup.No installation required! Run directly via npx:

Add to your Claude Code MCP settings:
Add to your Claude Desktop configuration (~/.claude/claude_desktop_config.json):
| 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 |
Generate a personalized annual report from your Cursor AI chat history β discover your coding patterns, favorite topics, and development journey.
| π Chat Stats | Total questions, active months, monthly activity |
| π·οΈ Topic Discovery | Auto-detected coding topics and interests |
| π Trend Tracking | How your focus shifted throughout the year |
| π Keywords | Your most-used terms and phrases |
| π Privacy Safe | Sensitive data automatically masked |
| π LLM Prompt | Ready-to-use prompt for a polished report |
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
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/cursor-history)<a href="https://allmcps.com/mcp/cursor-history"><img src="https://allmcps.com/api/badge/cursor-history?style=directory" alt="Cursor History on AllMCPs" /></a>