SuperAPIAI Directory

local-history-mcp

github.com · AI developer platforms

local-history-mcp is a server based on the Model Context Protocol (MCP) that lets AI assistants access the Local History of Cursor or VS Code. It exposes the local file snapshots that the editor generates at save points to AI tools, thereby supporting data recovery and enhanced context awareness. The project description states that saved history that undo/redo cannot cover can be read by this server, solving the problem that assistants such as Claude, Cursor AI, and GitHub Copilot cannot directly access local history data. The project offers two installation methods: package manager installation and source code installation, and provides configuration entry points in Cursor, Claude Code, and Claude Desktop.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

local-history-mcp is an MCP server whose goal is to connect the Local History of Cursor/VS Code to AI assistants for AI-assisted data recovery and context enhancement.

Purpose: The editor's Local History records file snapshots at save points; unlike undo/redo, it can preserve work content that might otherwise be lost. However, existing AI assistants (such as Claude, Cursor AI, and GitHub Copilot), despite having strong diagnostic capabilities, cannot directly access this local history data. This project provides a direct access channel through MCP and is intended for personal use.

Main capabilities: As an MCP server, it exposes access to the local history of Cursor/VS Code to AI clients compatible with MCP, enabling assistants to read historical snapshot information for data recovery or supplementary context. The materials do not provide specific tool names, interface parameters, the range of supported historical versions, or retrieval methods.

Usage: Two installation paths are provided. One is installation through a package manager (recommended); the materials do not give the specific package name or command. The other is installation from source code. In Cursor, it can be installed via a one-click install button, or configured manually according to Cursor's official MCP documentation. Claude Code (CLI) can be installed directly; the materials do not give the specific command. Claude Desktop requires configuration by referring to the official MCP documentation.

Applicable scenarios: When an AI assistant needs to view the editor's local history to recover content that was saved but later overwritten or lost; when reading historical snapshots during AI-assisted investigation of file changes or supplementation of context.

Limitations: The project is positioned for personal use; the materials do not specify supported operating systems, editor versions, compatibility of history storage paths, permission requirements, or security considerations. The project contains code generated by large language models under human supervision and proofreading.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools