# Cursor Chat History

> Use this tool when you need to analyze and gain insights from Cursor chat history to provide personalized coding assistance. It solves problems such as generating coding rules, extracting best practices, and creating project documentation by reading local conversation databases and providing advanced analytics on usage patterns and conversation relationships. It takes chat history as input and outputs summarized conversations, full conversations, and analytics in JSON, CSV, and graph formats.

Canonical page: https://skillsregistry.net/skills/cursor-chat-history  
JSON: https://api.skillsregistry.net/v1/skills/cursor-chat-history

## Description

This MCP server provides AI assistants access to Cursor chat history for analysis and insights, enabling personalized coding assistance based on actual development patterns. Built using TypeScript with better-sqlite3 and the MCP SDK, it reads local Cursor conversation databases directly without external services, supporting both legacy and modern conversation formats with tools for listing, searching, and retrieving full conversations, plus advanced analytics including usage patterns, file activity, programming language distribution, and relationship detection between conversations. The implementation uses a summary-first approach for context efficiency, allowing users to browse conversation summaries before diving into full content, and includes data extraction capabilities with JSON, CSV, and graph export formats, making it valuable for generating personalized coding rules from actual usage patterns, extracting best practices from past problem-solving sessions, and creating project documentation based on real development conversations.

## Trust

- **Trust score (0–1):** 0.85
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/cursor-chat-history)
- **Repository:** <https://github.com/vltansky/cursor-chat-history-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "cursor-chat-history"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/cursor-chat-history` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/cursor-chat-history/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
