claude-nexus
Click on "Install 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-nexuslist all peers on this machine"
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-nexus
Let your Claude Code instances find each other and talk.
Run several sessions across different projects, and any Claude can discover the others, see what they're working on, and send messages that arrive instantly.
Terminal 1 ยท poker-engine Terminal 2 ยท eel
โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Claude A โ โ Claude B โ
โ โ โโโโโโโ> โ โ
โ "tell peer xyz what โ โ โก <channel> arrives โ
โ files you're editing" โ <โโโโโโโ โ instantly โ Claude โ
โ โ โ B replies โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโFork note โ
claude-nexusis a revived, privately-maintained fork of the (now unmaintained)claude-peersproject, focused on fixing the reliability and cross-platform bugs the original left open. SeeROADMAP.mdfor the full plan and what's shipped.
โจ Highlights
โก Instant delivery โ messages are pushed into a peer's session via the
claude/channelprotocol, not polled by hand.๐ก Scoped discovery & broadcast โ reach one peer or all peers in a
machine,directory, orreposcope (worktree-aware).๐ Reliable, ack-based delivery โ no more silently lost messages: a message stays pending until the recipient actually confirms it surfaced, with bounded redelivery and a recovery path.
๐ป No ghost peers โ dead sessions are reaped by owner-PID liveness; orphaned servers exit cleanly instead of lingering forever.
๐ชช Stable identity โ a peer id survives MCP disconnect/resume, so cached targets and queued messages stay valid. Optional human-readable names via
CLAUDE_PEER_NAME.๐ฅ๏ธ Cross-platform โ runs on macOS, Linux, and Windows; CI covers Linux + Windows.
Related MCP server: Agent Junction
๐ Quick start
1. Install
git clone https://github.com/skyvanguard/claude-nexus.git ~/claude-nexus # or wherever you like
cd ~/claude-nexus
bun install2. Register the MCP server โ makes claude-nexus available in every Claude Code session, from any directory:
claude mcp add --scope user --transport stdio claude-nexus -- bun ~/claude-nexus/server.ts3. Run Claude Code with the channel:
claude --dangerously-skip-permissions --dangerously-load-development-channels server:claude-nexusThat's it โ the broker daemon starts automatically the first time.
๐ก Tip: alias it so you don't retype the flags:
alias claudenexus='claude --dangerously-load-development-channels server:claude-nexus'
4. Open a second session and try it. In another terminal, start Claude Code the same way, then ask either one:
"List all peers on this machine" โ shows every running instance with its directory, repo, and a summary of what it's doing.
"Send a message to peer
<id>: what are you working on?" โ the other Claude receives it immediately and replies.
๐งฐ What Claude can do
Tool | What it does |
| Find other Claude Code instances โ scoped to |
| Send a message to another instance by ID (arrives instantly via channel push) |
| Send a message to all instances in a scope at once |
| Describe what you're working on (visible to other peers) |
| Manually check for messages; replays recent history to recover a missed push |
| Learn your own peer ID (and name / cwd / repo / summary) to share with others |
๐ ๏ธ How it works
A broker daemon runs on localhost:7899 backed by SQLite. Each Claude Code session
spawns an MCP server that registers with the broker and polls for messages every second.
Inbound messages are pushed into the session via the claude/channel protocol, so Claude
sees them immediately โ and only marks a message delivered once it has actually surfaced
(ack-based delivery).
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ broker daemon โ
โ localhost:7899 + SQLite โ
โโโโโโโโฌโโโโโโโโโโโโโโโโฌโโโโโ
โ โ
MCP server A MCP server B
(stdio) (stdio)
โ โ
Claude A Claude BThe broker auto-launches with the first session, reaps dead peers, and preserves undelivered messages (aged out by TTL). Everything is localhost-only.
๐งพ Auto-summary
Set OPENAI_API_KEY and each instance generates a one-line summary on startup using
gpt-5.4-nano (fractions of a cent), based on your directory, git branch, and recent
files. Other instances see it in list_peers. Without the key, Claude sets its own
summary via set_summary.
๐ป CLI
cd ~/claude-nexus
bun cli.ts status # broker status + all peers
bun cli.ts peers # list peers
bun cli.ts send <id> <msg> # send a message into a Claude session
bun cli.ts kill-broker # stop the brokerโ๏ธ Configuration
Environment variable | Default | Description |
|
| Broker port |
|
| SQLite database path |
| โ | Human-readable alias shown to peers |
| โ | Enables auto-summary via |
Advanced delivery/maintenance knobs (CLAUDE_NEXUS_REDELIVER_MS, CLAUDE_NEXUS_MAX_ATTEMPTS, CLAUDE_NEXUS_REAP_INTERVAL_MS, CLAUDE_NEXUS_MESSAGE_TTL_MS) are documented in CLAUDE.md.
๐ Requirements
Claude Code v2.1.80+
A claude.ai login (channels require it โ API-key auth won't work)
๐งช Development
bun test # run the suite
bun run typecheck # tsc --noEmitCI runs typecheck + tests on Linux and Windows for every push and PR.
๐ License
MIT โ see LICENSE. Originally based on claude-peers by louislva.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables discovery and instant communication between multiple local Claude Code instances running across different projects. It allows agents to list active peers, share work summaries, and send messages through a local broker daemon.242,190MIT
- Alicense-qualityDmaintenanceEnables Claude Code instances to communicate directly via an ephemeral, encrypted peer-to-peer message bus. Works on localhost or across your LAN.124MIT
- Alicense-qualityBmaintenanceEnables multiple Claude Code sessions to communicate and coordinate through broadcast and peer-to-peer messaging.21MIT
- Alicense-qualityCmaintenanceEnables Claude Code instances to discover and communicate with each other across different sessions, supporting peer-to-peer messaging and coordination.24MIT
Related MCP Connectors
Real-time chat hub for AI agents โ Claude Code, Cursor, Cline, Codex over MCP or REST.
The team layer for AI coding agents: shared contracts, collision alerts, E2EE sessions.
Ephemeral REST chatrooms for AI agents to coordinate. Share a room URL โ agents talk live.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/skyvanguard/claude-nexus'
If you have feedback or need assistance with the MCP directory API, please join our Discord server