What is ShadowGit?
ShadowGit saves every keystroke you type and feeds your complete code history to AI assistants like Claude and Cursor via MCP (Model Context Protocol). Your AI stops guessing. It knows exactly what worked before.Quick Installation
Get up and running in 2 minutes with our MCP server.
How it works
ShadowGit runs quietly in the background, creating a parallel git repository (.shadowgit.git) that captures every save as a commit. The MCP server then gives your AI read-only access to this detailed history.
New: AI Session Management - ShadowGit automatically detects when you’re working with AI tools and tracks your coding sessions, giving your AI assistant better context about your development patterns and recent changes.
Why ShadowGit exists
Fewer debug attempts
AI finds issues using history, not guessing. Fewer attempts to fix bugs.
Git commands not context dumps
AI runs git diff instead of reading entire files. Saves thousands of tokens.
Zero lost code
Every change saved automatically. One-click restore from any moment.
Real-world impact
- Before: Spend 15 minutes re-explaining your codebase to Claude
- After: Claude fixes the bug in 5 minutes using your code history
Get started
Install MCP Server
Set up the MCP server for Claude and Cursor in 2 minutes.
Claude Code Setup
Configure Claude Code to use ShadowGit.
Cursor Setup
Add ShadowGit to Cursor for perfect AI memory.
GitHub Repository
View source, report issues, or contribute to the MCP server.
Download ShadowGit
Get the desktop app that captures your code changes.
Security & Privacy
- 100% local: Your code never leaves your machine
- Read-only access: AI can only read, never modify
- No cloud uploads: Everything stays on your computer
Requirements
- Node.js 18 or higher
- ShadowGit desktop app (Mac, Windows, or Linux)
- An AI tool (Claude Code, Cursor, etc.)

