
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that links Cursor conversations to git commits and lets an AI assistant search chat history and retrieve context.
Cursor Chat History MCP is cataloged as an MCP server attributed to vltansky. An MCP server that links Cursor conversations to git commits and lets an AI assistant search chat history and retrieve context. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Cursor Chat History MCP are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No; it runs entirely locally without external services or API keys and keeps data in on-disk SQLite databases.
It weighs file overlap at 70 percent and recency at 30 percent, using conversations from the last 14 days.
Yes, the link_conversation_commit tool manually links a conversation to a commit, with an optional confidence value.
README.md · e15492520e0e · 采集于 2026-11-13 08:50:48 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Connect your Cursor conversations to your git history.
You make a commit. Weeks later you wonder: "Why did I write it this way?"
The git message says fix auth bug but the real context - the debugging session, the alternatives considered, the AI suggestions - lives in a Cursor conversation you'll never find again.
This MCP server automatically links your Cursor conversations to git commits. When you revisit code, the AI assistant can pull up the original discussion.
Add to .cursor/mcp.json:
{
"mcpServers": {
"cursor-chat-history": {
"command": "npx",
"args": ["-y", "--package=cursor-chat-history-mcp", "cursor-chat-history-mcp"]
}
}
}
That's it. Hooks install automatically on first use.
"What was the context behind commit abc123?"
"Find the conversation that led to this fix"
"Show discussions about auth.ts from the last month"
"Find all debugging sessions about performance"
"Search conversations mentioning useState"
"List recent conversations in this project"
"Create TypeScript guidelines from my actual usage"
"Extract error handling patterns from my conversations"
"Summarize my React patterns from chat history"
| Tool | Purpose |
|---|---|
get_file_context | Get conversations and commits related to a file |
get_commit_conversations | Find conversations linked to a commit |
list_conversation_commits | Find commits linked to a conversation |
link_conversation_commit | Manually link conversation ↔ commit |
| Tool | Purpose |
|---|---|
list_conversations | Browse with filters (project, keywords, files) |
get_conversation | Get full conversation content |
search_conversations | Multi-keyword and pattern search |
get_conversation_analytics | Usage patterns, file activity, language stats |
Hooks are installed automatically when the MCP server starts:
~/.cursor/hooks.json) - capture file edits and session endsWhen you commit, the system finds related conversations using:
Large conversations aren't loaded directly into context. Instead:
get_file_context with keywords to find relevant conversationsget_conversation - writes to ~/.cursor-chat-history/context/conversations/<id>.md# Query links
npx cursor-chat-history-mcp link list-conversation-links --conversation <id>
npx cursor-chat-history-mcp link get-commit-links --hash <commit-hash>
# Manual linking
npx cursor-chat-history-mcp link manual --conversation <id> --commit <hash>
| Database | macOS | Windows | Linux |
|---|---|---|---|
| Cursor chats | ~/Library/Application Support/Cursor/User/globalStorage/state.vscdb | %APPDATA%/Cursor/... | ~/.config/Cursor/... |
| Git links | ~/Library/Application Support/CursorChatHistory/links.sqlite | %APPDATA%/CursorChatHistory/... | ~/.local/share/CursorChatHistory/... |
| Context files | ~/.cursor-chat-history/context/conversations/ | same | same |
Override with CURSOR_DB_PATH or CURSOR_LINKS_DB_PATH.
list_conversations
limit (default: 10) - Number of resultsprojectPath - Filter by projectkeywords - Search keywordshasCodeBlocks - Filter by code presenceget_conversation
conversationId (required) - Conversation IDsummaryOnly - Return summary only (saves context)search_conversations
query - Text searchkeywords + keywordOperator ('AND'/'OR') - Multi-keywordlikePattern - SQL LIKE patternsget_conversation_analytics
scope - 'all', 'recent', 'project'projectPath - Filter by projectincludeBreakdowns - ['files', 'languages', 'temporal', 'size']get_file_context
filePath (required) - File to get context forkeywords - Filter by keywords (e.g., ["JWT", "auth"]) - returns matching excerptslimit - Max results (default: 5)list_conversation_commits
conversationId - Filter by conversationprojectPath - Filter by projectfilePath - Filter by fileget_commit_conversations
commitHash (required) - Git commit hashlink_conversation_commit
conversationId (required)commitHash (required)confidence - Link confidence (0-1)git clone https://github.com/vltansky/cursor-chat-history-mcp
cd cursor-chat-history-mcp
yarn install
yarn build
| Assistant | Status | Notes |
|---|---|---|
| Cursor | ✅ Full | Chat, Composer, Agent modes |
| Claude Code | ✅ Full | VS Code extension |
| Cline/Roo/Kilo | ✅ Full | JSON task-based storage |
| Windsurf | ✅ Full | SQLite (same pattern as Cursor) |
| GitHub Copilot Chat | ✅ Full | VS Code native |
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Cursor Chat History MCP from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/cursor-chat-history)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.