Give Claude Code perfect memory with ShadowGit
# Install MCP server globally npm install -g shadowgit-mcp-server # Add to Claude Code claude mcp add shadowgit -- shadowgit-mcp-server # Restart Claude Code
Can you list my ShadowGit repositories?
Claude, what changed in my auth.ts file in the last hour?
Claude, when did the login function last work correctly?
Claude, show me how the payment processing evolved this week
Claude, what approach worked better - yesterday's or today's refactor?
// See recent commits await shadowgit.git({ repo: "my-app", command: "log --oneline -20" }) // Check what broke await shadowgit.git({ repo: "my-app", command: "diff HEAD~10 HEAD" }) // Find who changed a line await shadowgit.git({ repo: "my-app", command: "blame src/api.ts" }) // See file history await shadowgit.git({ repo: "my-app", command: "log -p -- src/components/Header.tsx" })
Claude, check if I've solved similar authentication issues in my other projects
Claude, what was I working on yesterday between 2-4 PM?
Claude, do you see any patterns in when my tests fail?
# Verify MCP server is installed npm list -g shadowgit-mcp-server # Test it works shadowgit-mcp-server --version
git --version
Claude, in my 'frontend' repo, what changed in the last hour?
Claude, looking at this error and my recent changes, what broke?