claude-sync
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-syncpull up the handoff for my portfolio site and what's next"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-sync
A local memory for working with Claude across many sessions and many projects.
Every Claude session starts cold. claude-sync gives each of your projects a
living handoff.md (what it is, what's verified, what's next), a cross-project
rulebook and lessons file, and tools so any session can pull the full context
in one call instead of you re-explaining it. Plus git guards that stop the two
mistakes agents make most: committing to the wrong repo, and pushing things
nobody approved.
100% local. No accounts, no cloud, nothing leaves your machine unless your push policy says so.
What's in the box
Piece | What it does |
| Each project's living memory. Dated, appended, tagged by source. |
| The rulebook ("Standing conventions") + cross-project lessons. |
| Packs every handoff into indexed, greppable |
| MCP tools for Claude: |
| Local web panel: |
| Rebuilds the rollup when a handoff changes. |
| Redacts secrets (keys, tokens, MACs, IPs, wifi passwords) before text goes anywhere; reversible locally. |
| Windows tray icon that supervises the bridge (green up / red down), restarts it, and heartbeats. |
| When Claude launches the MCP server, checks the bridge and tray are alive and repairs them; Windows toast if it can't. |
|
|
| Claude Code skills for working discipline: attention-to-detail, disconfirming-evidence, upfront-planning, grounded-system-review, systematic-hardware-debugging, the handoff workflow, GUI mockups, and parametric CAD verification (OpenSCAD |
Related MCP server: kb
Setup (the easy way)
Clone it, open the folder in Claude Code (or hand it to any Claude with file access) and say:
Read
SETUP-FOR-CLAUDE.mdand set this up for me.
Claude interviews you first (OS, how you work, whether your code goes to GitHub, how you like to be talked to) and then installs and tailors it. Don't skip the interview: the conventions are only useful once they fit you.
Setup (by hand)
python rollup.py build # index the knowledge base (stdlib only)
bash tools/githooks/install.sh # wire the git guards
pip install fastmcp flask # MCP server + web panel (optional)
claude mcp add claude-sync -- python /full/path/to/mcp_server.py # Claude Code
python server.py # bridge on 127.0.0.1:5151; then open dashboard.htmlWindows tray monitor (optional): pip install pystray pillow, then
powershell -ExecutionPolicy Bypass -File install_tray.ps1.
Before your first commit: this clone's origin points at the template.
Your knowledge base is private, so git remote remove origin (or rename it
upstream), and pick a push policy (below).
Code on GitHub? The push policy
tools/githooks/push-policy decides what may leave the machine:
none(default): every push is blocked;ALLOW_PUSH=1 git pushfor a one-off.code: everycode/<name>/repo pushes freely; the knowledge base stays local.all: everything, notes included.or a list of repo names.
The knowledge base holds your notes about your work and you; most people want
code at most.
Notes in each repo instead? (claude-sync.json)
By default notes live centrally in knowledge-base/projects/ and never leave
the machine. If your repos already travel (cloud sessions, several machines,
git pull everywhere), keep each project's notes inside its repo as
HANDOFF.md and let claude-sync index them instead of owning them. Create
claude-sync.json next to rollup.py (see claude-sync.example.json):
{
"notes_home": "repo",
"repo_roots": ["code", "~/src"],
"learnings_path": "~/dotfiles/claude/learnings.md"
}notes_home: where NEW entries go:kb(central, the default) orrepo(<repo>/HANDOFF.md, committed and pulled with the code). The rollup reads both kinds regardless, and a project with both shows both, labelled.repo_roots: folders whose sub-folders are your project repos; they don't have to live under this folder. Code search and the uncommitted-work report cover all of them.learnings_path: keep the cross-project lessons file somewhere that syncs (a dotfiles repo), instead ofknowledge-base/_global/learnings.md.repo_handoff_names(optional): file names to look for, defaultHANDOFF.md,handoff.md,docs/HANDOFF.md.
get_project tells Claude where the next entry goes (append_next_entry_to).
python test_notes_in_repo.py exercises the whole mode on a throwaway tree.
How a session uses it
Start: read
learnings.md(the rulebook) and the project'shandoff.md(get_project).Work. Code goes in
code/<name>/, its own repo.End: append a dated entry to the handoff (what changed, what's verified vs assumed, what's next) where
get_projectsays (append_next_entry_to),add_learningfor cross-project lessons,build_rollup, and commit: in both layers inkbmode, or just the project repo inrepomode.
The single most important convention: never write "working" unless it was verified on the real thing. Notes that overclaim poison every later session.
Credits
Built by EzP41NB0W with Claude over a few months of firmware, CAD, web and homelab projects, then generalized for anyone. MIT licensed.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
MCP server for generating rough-draft project plans from natural-language prompts.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Share one project context across ChatGPT, Claude, Telegram and any MCP client.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceLocal MCP server that provides semantic search (RAG) over code repositories, enabling AI clients like Claude and Gemini to access project context without manual re-upload.-
- AlicenseNot gradedqualityCmaintenanceA local MCP server that provides a shared context and learning foundation across multiple AI tools (Claude, Copilot, Codex) for multiple projects, enabling persistent knowledge, decisions, and gap reflection through note storage.MIT
- FlicenseNot gradedqualityCmaintenanceCentral MCP server for storing and querying lessons learned and project-specific implementation details, compatible with MCP-capable AI clients like Cursor, Claude Code, and Google Antigravity.-
- AlicenseNot gradedqualityCmaintenanceMCP server providing RAG context and failure capture for Claude Code, enabling semantic search across project knowledge and storing/analyzing failures.1MIT