local-history-mcp
Active·★ 15·MIT·Updated 2026-05-29
★ Trending★ API Integration★ Dev Tooling
MCP server for accessing VS Code/Cursor's Local History
This MCP server bridges the gap between AI assistants and editor Local History, enabling data recovery and enhanced context awareness. Unlike undo/redo, Local History captures file snapshots at save points, preserving work that would otherwise be lost.
#Model Context Protocol (MCP)#Local History#AI Integration#Data Recovery#Code Editor#VS Code#Cursor#Developer Tool
01
Features
01List files with local history
02View complete history for a file
03Restore file to previous state (with backup)
04Search across all history entries
05Get history overview statistics
02
Compatibility
Cursor
Editor Integration
Verified via docs
Claude Code
AI Assistant
Verified via docs
Claude Desktop
AI Assistant
Verified via docs
VS Code
Editor Integration
Verified via docs
03
Quick start
1
$ npx local-history-mcp
04
Use cases
↳Enable AI assistants to access editor Local History for enhanced context.
↳Recover lost code or content from previous save points.
↳Gain deeper diagnostic capabilities by analyzing historical file states.
↳Search for specific content within the entire local history of files.
05
Alternatives
mcp-context-forge★ 3.8k
A Model Context Protocol (MCP) Gateway & Registry. Serves as a central management point for tools, resources, and prompts that can be accessed by MCP-compatible LLM applications. Converts REST API endpoints to MCP, composes virtual MCP servers with added security and observability, and converts between protocols (stdio, SSE, Streamable HTTP).
cursor-talk-to-figma-mcp★ 6.8k
TalkToFigma: MCP integration between Cursor and Figma, allowing Cursor Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
XcodeBuildMCP★ 5.8k
A Model Context Protocol (MCP) server that provides Xcode-related tools for integration with AI assistants and other MCP clients.
Related searches
Comments
Log in to leave a comment
- RRiley HarrisMay 14, 2026
Local history context helps AI understand the evolution of code being modified.
- CCameron ZhangMay 7, 2026
Works with VS Code's built-in local history storage.
- HHarley WilsonApr 23, 2026
VS Code and Cursor local history accessible via MCP for AI agents.
- RRowan WilsonApr 1, 2026
Good for developers who want AI to understand recent file change history.