The MCP server that gives AI assistants perfect memory across all your projects.
Context Sync is an MCP server that provides persistent memory, advanced code analysis, and cross-platform AI collaboration. Works with Claude Desktop, Cursor IDE, and more.
npm install -g @context-sync/serverThat's it! Restart Claude Desktop and you're ready to go.
- Cross-Chat Memory - Claude remembers everything across all chats
- Project Context - Tracks architecture, tech stack, and decisions
- Decision History - Never forget why you made choices
- Local-First - All data stays on your machine
- File Reading - Claude can read any file in your project
- Code Understanding - Analyze your codebase structure
- Smart Search - Find files, content, and symbols instantly
- Git Integration - Track changes and suggest commits
- Dependency Analysis - Understand imports, exports, and circular dependencies
- Call Graph Analysis - Trace function calls and execution paths
- Type Analysis - Find type definitions and track usage
- Impact Analysis - See what breaks when you change code
- Platform Detection - Works with Claude Desktop, Cursor IDE, GitHub Copilot
- Context Handoff - Seamlessly switch between AI platforms
- Unified Memory - All AIs share the same project context
- Easy Setup - One-click integration with Cursor IDE
Monday: Start project with Claude
Tuesday: Continue in new chat - context preserved
Friday: Come back - Claude remembers everything
Start in Claude Desktop โ Switch to Cursor IDE โ Continue seamlessly
Both AIs have full context of your project
"How does authentication work?"
โ Claude traces the auth flow across your codebase
โ Shows dependencies, call graphs, and type relationships
"What breaks if I change this function?"
โ Claude shows all callers and dependencies
โ Predicts impact before you make changes
Context Sync provides 30+ MCP tools organized into categories:
init_project- Initialize or switch projectsget_project_context- Get current project contextsave_decision- Save architectural decisionssave_conversation- Archive important discussions
set_workspace- Open project foldersread_file- Read any file in your projectget_project_structure- Visualize folder structurescan_workspace- Intelligent project overview
create_file- Create new files with previewmodify_file- Edit files with approval workflowdelete_file- Remove files with confirmationundo_file_change- Rollback changes
search_files- Find files by name or patternsearch_content- Grep-like search across codebasefind_symbol- Jump to functions, classes, variables
git_status- Check repository statusgit_diff- View differences between commitsgit_branch_info- Get branch informationsuggest_commit_message- Generate commit messages
analyze_dependencies- Get complete dependency infoanalyze_call_graph- Trace function relationshipsfind_type_definition- Find type definitionstrace_execution_path- Follow code execution paths
switch_platform- Switch between AI platformsget_platform_status- Check platform configurationsetup_cursor- Get Cursor IDE setup instructionsget_platform_context- Get platform-specific context
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ
โ Claude โ โ Cursor โ โ Copilot โ
โ Desktop โ โ IDE โ โ (coming) โ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ
โ โ โ
โโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโ
โ Context Sync โ
โ MCP Server โ
โโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโ
โ SQLite DB โ
โ ~/.context-sync โ
โโโโโโโโโโโโโโโโโโโ
All your context is stored locally - never leaves your machine.
npm install -g @context-sync/servergit clone https://github.com/Intina47/context-sync.git
cd context-sync
node setup.js- Mac:
Cmd+Qthen reopen - Windows: Right-click tray icon โ Exit, then reopen
- Linux: Close and reopen
Want to use Context Sync with Cursor? Super easy!
-
Install Context Sync (if you haven't already):
npm install -g @context-sync/server
-
In Claude Desktop, type:
setup cursorClaude will give you exact setup instructions for your OS! โจ
-
Open Cursor:
Settings โ MCP -
Add Context Sync:
{ "mcpServers": { "context-sync": { "command": "npx", "args": ["-y", "@context-sync/server"] } } } -
Refresh MCP servers
In Cursor: "What's my current project?"
If connected, it'll know your projects! ๐
Chat 1:
You: "Initialize project 'TaskFlow' with Next.js and Supabase"
Claude: "Project initialized and saved to context"
Chat 2 (NEW):
You: "What project am I working on?"
Claude: "You're working on TaskFlow (Next.js + Supabase).
Want to continue with authentication setup?"
You: "Analyze dependencies for src/lib/auth.ts"
Claude: [Shows imports, exports, circular deps, and impact analysis]
You: "What calls the authenticate function?"
Claude: [Traces call graph and shows all callers]
Claude Desktop: "I'll switch you to Cursor IDE"
Cursor IDE: "Welcome back! I can see you were working on
the authentication flow. Ready to continue?"
All context is stored locally at:
- Mac/Linux:
~/.context-sync/data.db - Windows:
%USERPROFILE%\.context-sync\data.db
Your data never leaves your machine.
You: "Switch to my blog project"
Claude: [loads blog context]
You: "What projects do I have?"
Claude: [Lists all projects with descriptions]# Start in Claude Desktop
You: "Initialize project 'my-app'"
Claude: "Project created and saved"
# Switch to Cursor IDE
You: "Switch to Cursor"
Claude: "Context handed off to Cursor IDE"
# Cursor IDE automatically has full contextYou: "Set workspace to /my/project"
You: "Analyze dependencies for src/components/Header.tsx"
Claude: [Shows complete dependency graph]
You: "What breaks if I change the Header component?"
Claude: [Shows all callers and impact analysis]- Verify installation:
context-sync --version - Check Claude config:
~/.config/Claude/claude_desktop_config.json - Restart Claude Desktop completely
You: "Initialize a project called 'test'"You: "Check platform status"
Claude: [Shows configuration status and setup instructions]See TROUBLESHOOTING.md for detailed help.
- ๐ Dependency analysis and call graph tracing
- ๐ Cross-platform AI collaboration
- ๐ท๏ธ Type analysis and definition lookup
- ๐ Impact analysis and execution tracing
- ๐ค Automatic context capture
- ๐ง Semantic code understanding
- ๐ Analytics and insights
- ๐ Learning and suggestions
- ๐ฅ Team context sharing
- โ๏ธ Optional cloud sync
- ๐ Enterprise features
- ๐ Advanced analytics
See ROADMAP.md for full details.
We welcome contributions! See CONTRIBUTING.md for guidelines.
Priority areas:
- ๐จ UI/UX improvements
- ๐ Additional IDE integrations
- ๐ Documentation improvements
- ๐งช Testing and QA
MIT License - see LICENSE for details.
- Built on the Model Context Protocol by Anthropic
- Inspired by developers frustrated with AI memory loss
- Thanks to the MCP community for feedback and support
If Context Sync saves you time and frustration, give it a star! โญ
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Made with โค๏ธ by developers tired of explaining the same thing 10 times
Get Started โข Demo โข Roadmap โข Contributing