Context Sync
Lets your AI agent keep local project memory: decisions, constraints and active work that persist between sessions.
190 stars on GitHubby Intina47License MITUpdated 8 months ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add context-sync -- npx -y @context-sync/server
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Set this folder as my project and recall what we decided before.
Remember that we use SQLite for local storage.
What it is
Context Sync stores project context locally so an agent can recall earlier decisions and where it left off. It also explores files and git history for context. An optional read-only Notion search is included.
What it can do
set_project: choose the projectremember: save a decision or noterecall: bring back saved contextread_file: read a filesearch: search the projectstructure: view the project structuregit: status, context, hotspots, blame and analysisnotion: read-only search and page read
When to use
- βΊWhen you want your agent to remember decisions between sessions.
- βΊWhen you switch between AI tools and want the same project context.
- βΊWhen you want git hot spots and blame information as context.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
hindsight-recallHelps your agent search long-term memory for past decisions, project context, and preferences when you ask about earlier work.memory-searchLets your agent search past conversations and decisions by meaning, keyword or code symbol, so earlier context can be recalled across sessions.AgentDB Memory PatternsLets your agent remember conversations and context across sessions, using AgentDB as its persistent memory store.Frequently asked questions
Where is my data stored?
Locally, by default in ~/.context-sync/data.db. You can change it with --db-path or CONTEXT_SYNC_DB_PATH.
Is it free?
The readme does not mention any price. It is installed from npm.
Which tools work?
Claude Desktop, Cursor, VS Code with Copilot, Continue, Zed, Windsurf, Codex CLI, Claude Code and others.
Does it change my git hooks?
Yes, inside a git repo it can install hooks for post-commit, pre-push, post-merge and post-checkout. Existing hooks are backed up first.
Is Notion write access included?
No. Notion support is read-only.
Does auto-config always run?
Only on a global install. For a local install, use the manual config guide.
If it does not work
- βΊRestart your AI tool after installing so context-sync appears in the tool list.
- βΊCheck with claude mcp list or codex mcp list that it is registered.
- βΊIf auto-config fails, see docs/CONFIG.md and docs/TROUBLESHOOTING.md in the repo.
5 new skills a week. 1 minute to read.