Skip to main content
Glama
cursor-chat-browser

cursor-chat-browser

cursor-chat-browser

Deprecated. This package is no longer the actively maintained version. Development continues in patryks-treadmill-claude-plugins under plugins/ai-conversation-intelligence/ (npm name ai-chat-browser), which has the same goals plus first-class subagent vs interactive classification, separate source adapters (src/sources/cursor.ts, src/sources/claude.ts), greedy filesystem-backed workspace path resolution, and richer per-source metadata extraction. Prefer that one for new installs.

MCP server that indexes and searches your past Cursor AI and Claude Code conversations across all workspaces.

Works with any MCP client — Cursor, Claude Desktop, Windsurf, and others.

What it does

  • Scans ~/.cursor/projects/*/agent-transcripts/ for Cursor conversation history

  • Scans ~/.claude/projects/*/*.jsonl for Claude Code interactive sessions (subagent transcripts are filtered out)

  • Builds a persistent full-text search index (SQLite FTS4 via sql.js — zero native dependencies)

  • Enriches Cursor conversations with metadata (timestamps, mode, branch) from Cursor's internal database

  • Exposes 5 MCP tools for searching, browsing, and retrieving past conversations

Related MCP server: cursor-history-mcp

Quick start

Add to your MCP client config:

Cursor

Edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "cursor-chat-browser": {
      "command": "npx",
      "args": ["-y", "cursor-chat-browser"]
    }
  }
}

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "cursor-chat-browser": {
      "command": "npx",
      "args": ["-y", "cursor-chat-browser"]
    }
  }
}

Then restart your MCP client. The server indexes all conversations on first run (~3s for 1,000 conversations) and uses a persistent cache for fast subsequent startups (~150ms).

Tools

search_conversations

Full-text search across all past conversations.

Parameter

Type

Required

Description

query

string

yes

Keywords, function names, concepts, or phrases

workspace

string

no

Filter by project name (partial match)

limit

number

no

Max results (default: 10)

get_conversation

Retrieve full content of a specific conversation.

Parameter

Type

Required

Description

id

string

yes

Conversation UUID from search results

max_length

number

no

Truncate at N chars (default: 10,000)

list_workspaces

List all workspaces with conversation counts.

recent_conversations

Browse most recent conversations.

Parameter

Type

Required

Description

workspace

string

no

Filter by project name (partial match)

limit

number

no

Number of results (default: 10)

reindex

Re-scan for new conversations added since the server started.

How it works

  1. On startup, scans ~/.cursor/projects/*/agent-transcripts/ and ~/.claude/projects/*/*.jsonl for transcript files

  2. Parses each file into structured conversations (user messages, assistant responses); skips Claude Code subagent transcripts (agent-<hash>.jsonl)

  3. Indexes into a persistent SQLite FTS4 database at ~/.cursor/chat-browser/search-index.db

  4. Optionally enriches Cursor conversations with metadata from state.vscdb (timestamps, mode, branch) using the system sqlite3 CLI

  5. Serves MCP tools over stdio transport

Only new conversations are parsed on subsequent runs — the index is persistent. Claude conversation IDs are prefixed with claude: so the source is visible in every result.

Data sources

Source

What it provides

Required

~/.cursor/projects/*/agent-transcripts/

Full Cursor conversation content

Yes

~/.claude/projects/*/*.jsonl

Claude Code interactive sessions (subagents filtered)

No

state.vscdb (via sqlite3 CLI)

Timestamps, mode, branch metadata for Cursor sessions

Optional

Platform support

Platform

Transcripts

Metadata enrichment

macOS

Yes

Yes (sqlite3 pre-installed)

Linux

Yes

Yes (sqlite3 usually available)

Windows

Yes

Requires sqlite3 in PATH

Requirements

  • Node.js >= 20

  • Cursor IDE and/or Claude Code (for conversation data)

License

Elastic License 2.0

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables searching and retrieving Claude Code conversation history that would otherwise expire after 30 days. Supports full-text search, semantic search, and session management with automatic backup of all conversations.
      28
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      MCP server for browsing, searching, exporting, and backing up your Cursor AI chat history directly into Claude via natural language.
      8
      66 npm
      34
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables searching and browsing past Claude Code conversations directly from within an active Claude session, with full-text search and cost tracking.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Capture, index, and search your Claude Code conversation history. Provides an MCP server for Claude Code to query its own past conversations.
      1
      MIT