1. Conduid
  2. Developer Tools
  3. Cursor History MCP
MCP server · Developer Tools

Cursor History MCP

MCP server for browsing, searching, and exporting Cursor AI chat history.

56Fair

Scored 22 hours ago · breakdown

About Cursor History MCP

Cursor History MCP is an MCP server published by S2thend in the Developer Tools category: mCP server for browsing, searching, and exporting Cursor AI chat history. Conduid read 8 tools from its source: cursor_history_backup, cursor_history_export, cursor_history_list, cursor_history_migrate, cursor_history_restore, cursor_history_search and 2 more. It is published to npm as cursor-history-mcp and starts with npx.

The repository has 34 stars and 3 forks, is licensed MIT, and its last commit was on 8 Sep 2026. The latest release is v0.3.1 (8 Sep 2026): v0.3.1 — SDK Update, Client Compatibility & Security Maintenance Updated Upgrade the MCP SDK from 1.0.0 to 1.30.0 and Zod from 3.24.1 to 3.25.76. It follows v0.3.0 (8 Sep 2026), and the 5 most recent releases go back to v0.2.2 (11 Jan 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools, chat-history, code-assistant and backup.

Install

Claude Code
claude mcp add cursor-history-mcp -- npx -y cursor-history-mcp@0.3.1
Run
npx -y cursor-history-mcp@0.3.1
From source
git clone https://github.com/S2thend/cursor-history-mcp

Tools (8)

cursor_history_backupCreate a Composer archive. `outputPath`, optional `force`
ParameterTypeDescription
forcebooleanOverwrite existing backup file if it exists (default: false)
outputPathstringPath where the backup file should be saved. If not specified, saves to ~/cursor-history-backups/ with a timestamp.
cursor_history_exportReturn Markdown or JSON content, not a file written by the server. One selector, `format`, `workspace`
ParameterTypeDescription
formatstringExport format: 'markdown' for human-readable, 'json' for structured data
cursor_history_listList sessions with IDs, index scope, source and data status. `limit`, `offset`, `workspace`
ParameterTypeDescription
limitintegerMaximum number of sessions to return (default: 20, max: 1000)
offsetintegerNumber of sessions to skip for pagination (default: 0)
cursor_history_migrateMove/copy eligible Composer sessions. `sessionIds` or `sessionIndexes`, `destination`, `workspace`, `mode`, `dryRun`
ParameterTypeDescription
destination *stringAbsolute path to the destination workspace folder
dryRunbooleanPreview without changing history (default: false).
modestringMigration mode: 'move' deletes original, 'copy' keeps original
sessionIdsarrayExact native UUIDs from list/search. Use instead of sessionIndexes for stable selection.
sessionIndexesarrayList of session indexes to migrate (1-based, as shown in list output)
workspacestringSource workspace scope; use the same scope that produced the session indexes.
cursor_history_restoreRestore a Composer archive; writes local history. `backupPath`, optional `force`
ParameterTypeDescription
backupPath *stringPath to the backup file to restore from
forcebooleanAllow overwriting existing backup targets (default: false). The server has no interactive confirmation; obtain approval in the client.
cursor_history_searchSearch text. `query`, `limit`, `context` (neighboring source lines), `workspace`
ParameterTypeDescription
contextintegerNumber of source lines of context requested around each match (default: 50)
limitintegerMaximum number of results to return (default: 10)
query *stringThe search query (keyword or phrase to find)
cursor_history_showInspect available messages. Exactly one of `sessionId` / `sessionIndex`; optional `workspace`
cursor_history_year_packReturn annual statistics and a report prompt. `year`, `language` (`en` / `zh`), `workspace`, sample limits
ParameterTypeDescription
languagestringReport language preference (default: en)
maxSampleLengthintegerMaximum characters per sample (default: 120)
maxSamplesintegerMaximum sample questions to include (default: 30)
topicsCountintegerNumber of topics to extract (default: 7)
workspacestringOptional workspace path to filter sessions
yearintegerCalendar year to analyze (default: current year)

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.4K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • ✓No dynamic code executionScanned 20 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/index.ts:10
Starts other programs
No calls that start other programs
Outbound network calls
No outbound network calls
Writes or deletes files
No file writes or deletes
Lockfile
package-lock.json

Pattern matches on the source text of 20 files: places to read, not proof of what the code does at run time.

Releases

v0.3.1v0.3.1 · 8 Sep 2026v0.3.1 — SDK Update, Client Compatibility & Security Maintenance Updated Upgrade the MCP SDK from 1.0.0 to 1.30.0 and Zod from 3.24.1 to 3.25.76. Keep the history reader pinned to cursor-history 0.18.0. Update development tooling and…
v0.3.0v0.3.0 · 8 Sep 2026v0.3.0 — Unified Cursor History & Better Year in Review Connect your existing Cursor history to MCP-capable assistants with broader storage support, reliable session selection, and an improved Year in Review workflow. Highlights Upgraded…
v0.2.4v0.2.4 · 11 Jan 2026Full Changelog: https://github.com/S2thend/cursor-history-mcp/compare/v0.2.3...v0.2.4
v0.2.3v0.2.3 · 11 Jan 2026Full Changelog: https://github.com/S2thend/cursor-history-mcp/compare/v0.2.2...v0.2.3
v0.2.2v0.2.2 · 11 Jan 2026Full Changelog: https://github.com/S2thend/cursor-history-mcp/compare/v0.2.1...v0.2.2

README

The repository's README runs to about 1.4K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Cursor History MCP

How do I install Cursor History MCP?

In Claude Code, run claude mcp add cursor-history-mcp -- npx -y cursor-history-mcp@0.3.1. Other MCP clients take the command after "--" in their server configuration.

Is Cursor History MCP safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 20 source files found that it serves MCP over stdio. Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Cursor History MCP still maintained?

Yes — the latest release is v0.3.1 (8 Sep 2026), and the last commit was 2 months ago. The repository has 34 stars.

What tools does Cursor History MCP provide?

Conduid read 8 tools from the source: cursor_history_backup, cursor_history_export, cursor_history_list, cursor_history_migrate, cursor_history_restore, cursor_history_search, cursor_history_show and cursor_history_year_pack. 7 of them publish their parameters, listed under Tools above.

What license is Cursor History MCP released under?

The repository declares the MIT license. That applies to the latest release, v0.3.1, as well.