Prerequisites
- Claude Code installed (Get Claude Code)
 - Node.js 18+ installed
 - ShadowGit desktop app running with tracked repositories
 
Quick Setup
Install and configure ShadowGit in one command:Verify Installation
Ask Claude:What Claude can now do
AI Session Awareness
ShadowGit now tracks your active coding sessions with Claude, automatically detecting when you’re working together and preserving context across your development flow. This means Claude understands not just your code history, but also your current coding patterns and recent focus areas.Debug recent changes
Find when bugs appeared
Understand code evolution
Compare implementations
Example Commands
Ask Claude in natural language and it will use the right git commands: See recent commits:Session Management
Control how ShadowGit tracks your work with Claude: Start a session:Advanced Usage
Working with multiple repositories
Claude can analyze across all your projects:Time-based debugging
Pattern detection
Troubleshooting
Claude doesn’t see ShadowGit
- Restart Claude Code after adding the MCP server
 - Check installation:
 
“No repositories found”
- Open ShadowGit desktop app
 - Add at least one repository
 - Wait for first snapshot (usually within 3 minutes)
 - Ask Claude again
 
Permission errors
On macOS, you might need to grant Terminal permissions:- System Preferences → Security & Privacy
 - Privacy tab → Full Disk Access
 - Add Terminal or your terminal app
 
Claude can’t execute git commands
Make sure git is installed:Best Practices
1. Let ShadowGit run for a while
The more history ShadowGit captures, the smarter Claude becomes. Let it run for at least a day before expecting deep insights.2. Be specific with time ranges
Instead of “recent changes”, say “changes in the last 2 hours” or “changes from yesterday”.3. Use repository names
Always specify which repository when you have multiple:4. Combine with file context
Claude Code already reads your files. ShadowGit adds the history dimension:Security
- Read-only: Claude can only read history, never modify code
 - Local only: No code leaves your machine
 - Safe commands: Only non-destructive git commands allowed
 

