npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@hypnodroid/cursor-conversations-mcp

v1.0.0

Published

MCP server for accessing Cursor conversation data

Downloads

4

Readme

Cursor Conversations MCP Server

An MCP (Model Context Protocol) server that provides direct access to your Cursor IDE conversation history. Connect to Claude Code to search and analyze your past AI conversations.

Quick Start

1. Prerequisites

  • Node.js 24.0.0+ (required for TypeScript support)
  • Cursor IDE with existing conversations

2. Clone and Install

git clone https://github.com/your-username/mcp-cursor-conversations.git
cd mcp-cursor-conversations
npm install

3. Set Up with Claude Code

# Add MCP server (use your actual project path)
claude mcp add cursor-conversations "node --experimental-strip-types /absolute/path/to/project/src/index.ts" -s user

# Verify setup
claude mcp get cursor-conversations

4. Start Using

Ask Claude to search your conversations:

Search my Cursor conversations for "React components"
List my most recent conversations from the past week
Find conversations with more than 50 messages about debugging

Available Tools

  • list_conversations - List all conversations with pagination
  • search_conversations - Search by content with basic filters
  • search_conversations_advanced - Advanced search with date/count/status filters
  • get_conversation - Retrieve specific conversation by ID

System Requirements

  • Node.js 24.0.0+ (required for TypeScript support)
  • Cursor IDE with existing conversations

How It Works

The MCP server reads directly from Cursor's SQLite database (state.vscdb) located in your Cursor application data directory. It queries the cursorDiskKV table where conversations are stored, providing real-time access without needing to export data.

Troubleshooting

Quick Diagnostics

# Verify Node.js version
node --version  # Should be 24.0.0+

# Test database connection
node --experimental-strip-types src/index.ts
# Should show: "Cursor Conversations MCP server running on stdio"

# Check database exists
ls -la "$HOME/Library/Application Support/Cursor/User/globalStorage/state.vscdb"

Common Issues

"ENOENT: no such file or directory"

Problem: Can't find node or database

Solutions:

  1. Use full path to node: which node then use that path in config
  2. Set custom database path: export CURSOR_DB_PATH="/path/to/state.vscdb"

"Cursor database not found"

Problem: Database not at expected location

Solution:

# Find your database
find ~ -name "state.vscdb" 2>/dev/null

# Set custom path
export CURSOR_DB_PATH="/path/to/your/state.vscdb"

Database Locations

  • macOS: ~/Library/Application Support/Cursor/User/globalStorage/state.vscdb
  • Windows: %APPDATA%/Cursor/User/globalStorage/state.vscdb
  • Linux: ~/.config/Cursor/User/globalStorage/state.vscdb

Advanced Configuration

Environment Variables

# Custom database location
export CURSOR_DB_PATH="/path/to/custom/state.vscdb"

# Debug logging
export DEBUG="cursor-conversations:*"

MCP Server Commands

claude mcp list    # Show all configured servers
claude mcp remove cursor-conversations -s user  # Remove if needed

Privacy Note

This tool accesses your local Cursor conversation data. No data is sent to external services - everything runs locally on your machine.

License

MIT License - see LICENSE file for details.