xxczaki/local-history-mcp
by Various
๐ ๐ ๐ ๐ช ๐ง - MCP server for accessing VS Code/Cursor Local History
MCP
xxczaki/local-history-mcp
Added 1 June 2026
Overview
An MCP server that provides programmatic access to the local history feature in VS Code and Cursor. It exposes saved file versions through the Model Context Protocol, enabling AI assistants and other MCP clients to retrieve and restore previous edits.
Best for
Best for
Developers using VS Code or Cursor who want to query local history programmatically via MCP
Use cases
- Query previous file versions from VS Code or Cursor local history
- Restore accidentally overwritten code via an MCP client
- Integrate local history retrieval into AI-assisted development workflows
Notes
An MCP server that provides programmatic access to the local history feature in VS Code and Cursor. It exposes saved file versions through the Model Context Protocol, enabling AI assistants and other MCP clients to retrieve and restore previous edits.
Use cases
- Query previous file versions from VS Code or Cursor local history
- Restore accidentally overwritten code via an MCP client
- Integrate local history retrieval into AI-assisted development workflows
Pros
- Works across Windows, macOS, and Linux
- Leverages existing local history without extra setup
- Simple MCP interface for easy integration with compatible clients
Cons
- Only supports VS Code and Cursor local history format
- Requires an MCP client to interact with the server
- May not expose all metadata or features of the native history viewer
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Works across Windows, macOS, and Linux
- Leverages existing local history without extra setup
- Simple MCP interface for easy integration with compatible clients
Cons
- Only supports VS Code and Cursor local history format
- Requires an MCP client to interact with the server
- May not expose all metadata or features of the native history viewer
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.