Skip to main content

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:
That’s it. Claude now has perfect memory of your code changes.

Verify Installation

Ask Claude:
Claude should respond with your tracked repositories. If not, see troubleshooting below.

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:
Check what broke:
Find who changed a line:
See file history:

Session Management

Control how ShadowGit tracks your work with Claude: Start a session:
Create checkpoints:
End 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

  1. Restart Claude Code after adding the MCP server
  2. Check installation:

“No repositories found”

  1. Open ShadowGit desktop app
  2. Add at least one repository
  3. Wait for first snapshot (usually within 3 minutes)
  4. Ask Claude again

Permission errors

On macOS, you might need to grant Terminal permissions:
  1. System Preferences → Security & Privacy
  2. Privacy tab → Full Disk Access
  3. Add Terminal or your terminal app

Claude can’t execute git commands

Make sure git is installed:
If not installed, download Git.

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

Next Steps

Installation Guide

General installation instructions

Cursor Setup

Configure Cursor with ShadowGit