A Model Context Protocol (MCP) server for accessing Cursor IDE's SQLite databases. This server allows AI assistants to explore and interact with Cursor's project data, chat history, and composer information.
Cursor

Cursor IDE
Use the provided installation script to install all dependencies:
python install.pyThis script will install:
- Basic MCP server and dependencies
- Open Cursor and navigate to Settings->Cursor Settings->MCP.
- Click: Add new MCP server
- Name: Cursor DB MCP; Type: Command
- Command: <fully qualified path to>uv run --with mcp[cli] mcp run <fully qualified path to>/cursor-db-mcp-server.py

Now you can ask questions about the database or retrieve info about historical chats.


Installing MCP servers for Claude Desktop
Add this to your claude_desktop_config.json file