Claude Context Sync
@ybin4548
About Claude Context Sync
Share context, detect file conflicts, and send messages across parallel Claude Code sessions
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"claude-context-sync": {
"command": "npx",
"args": [
"-y",
"claude-context-sync",
"serve"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Claude Context Sync?
Claude Context Sync is an MCP server that automatically summarizes and shares context across parallel Claude Code sessions. It watches session logs, generates structured summaries on demand, and provides real-time file conflict detection and cross-session messaging for developers running multiple Claude Code sessions simultaneously.
How to use Claude Context Sync?
Install globally with npm install -g claude-context-sync then run context-sync init. The MCP server starts automatically the next time you open Claude Code, and the init command registers a conflict detection hook. Four tools are available: list_sessions, get_session_context, get_all_changes, send_message, get_messages, and resolve_conflicts.
Key features of Claude Context Sync
- Session context sharing across parallel Claude Code sessions
- Real-time file conflict detection with symbol-level accuracy
- Cross-session messaging between terminals without switching
- Lazy evaluation with zero cost when tools aren't called
- Auto-cleanup of tracked data when sessions end
- Symbol-level detection for TypeScript, Python, Swift, Go, and Rust
Use cases of Claude Context Sync
- Working on multiple features simultaneously with full context awareness
- Preventing file conflicts when multiple sessions edit the same codebase
- Sending messages between sessions without leaving the terminal
- Getting a bird's-eye view of all active Claude Code sessions and their changes
FAQ from Claude Context Sync
How does Claude Context Sync share context between sessions?
It watches your session logs for changes, marks sessions as stale at zero cost, and when a tool is called it summarizes only stale sessions by parsing .jsonl files and generating structured summaries using claude -p.
What languages are supported for symbol-level conflict detection?
TypeScript/JavaScript, Python, Swift, Go, and Rust. Unsupported file types fall back to file-level conflict detection only.
Does Claude Context Sync require a separate daemon process?
No. It runs as a single MCP server process that Claude Code launches automatically via stdio transport with no separate daemon.
Where is session data stored and when is it cleaned up?
Data is stored locally in ~/.claude/context-sync/ and tracked data is automatically removed when sessions end.
What are the runtime requirements?
Node.js 20+, the Claude Code CLI (claude command available), and jq for the conflict detection hook.
Frequently asked questions
How does Claude Context Sync share context between sessions?
It watches your session logs for changes, marks sessions as stale at zero cost, and when a tool is called it summarizes only stale sessions by parsing `.jsonl` files and generating structured summaries using `claude -p`.
What languages are supported for symbol-level conflict detection?
TypeScript/JavaScript, Python, Swift, Go, and Rust. Unsupported file types fall back to file-level conflict detection only.
Does Claude Context Sync require a separate daemon process?
No. It runs as a single MCP server process that Claude Code launches automatically via stdio transport with no separate daemon.
Where is session data stored and when is it cleaned up?
Data is stored locally in `~/.claude/context-sync/` and tracked data is automatically removed when sessions end.
What are the runtime requirements?
Node.js 20+, the Claude Code CLI (`claude` command available), and `jq` for the conflict detection hook.
Basic information
More AI & Agents MCP servers
Model Context Protocol Server for Home Assistant
tevonsbA MCP server for Home Assistant
π‘οΈ A.I.GοΌAI-Infra-GuardοΌ
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
π GPT Researcher
assafelovicAn autonomous agent that conducts deep research on any data using any LLM providers
MCP-LLM Bridge
patruffBridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
Comments