claude-peers-mcp
CLAUDE.md2.2k starsChanged 8 months agoMITView on GitHub
Use Bun instead of Node.js, npm, pnpm, or vite.
- Reads credentials
Trending
Quiet since September.thin dataabout the whole repository
Who's talking about louislva/claude-peers-mcp
- @camilleroux.com“claude-peers-mcp permet à tes instances Claude Code de se découvrir et dialoguer en temps réel via un …”Bluesky · Mar 23, 2026 · 3 likes
- @tom-doerr.bsky.social“https://github.com/louislva/claude-peers-mcp”Bluesky · Mar 23, 2026 · 1 likes
- jamditis/claude-peers-mcp“Implement minimal expiring repo-scoped work claims”GitHub · Sep 3, 2026
- jamditis/claude-peers-mcp“Research repo-scoped work claims without turning the broker into a task manager”GitHub · Jul 22, 2026
- 8gi-foundation/8gent-code“[ABILITY] Live agent-to-agent MCP messaging (peer sessions)”GitHub · Apr 20, 2026
The biggest 5 of 12 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 12
Talked about on GitHub and Bluesky (12 times).
On GitHub · 10
- Sep 3, 2026Implement minimal expiring repo-scoped work claims — jamditis/claude-peers-mcp0 reactions
- Jul 22, 2026Research repo-scoped work claims without turning the broker into a task manager — jamditis/claude-peers-mcp0 reactions · 1 comment
- Apr 20, 2026[ABILITY] Live agent-to-agent MCP messaging (peer sessions) — 8gi-foundation/8gent-code0 reactions · 1 comment
- Mar 30, 2026feat: claude-peers — cross-node Claude Code peer discovery and messaging — Mikecranesync/MIRA0 reactions · 3 comments
- Mar 29, 2026feat: claude-peers-mcp から学んだ改善案(summary表示 / channel統合) — s-hiraoku/synapse-a2a0 reactions · 1 comment
5 more on GitHub
- Mar 27, 2026[scout:integrate] claude-peers-mcp — Cross-Session Claude Code Inter-Instance Messaging — baekenough/oh-my-customcode0 reactions · 5 comments
- Mar 24, 2026Add acknowledgments: @cyrilXBT, @louislva, @mvanhorn — wipcomputer/wip-ldm-os0 reactions
- Mar 24, 2026Evaluate claude/channel protocol for Bridge push delivery — wipcomputer/wip-ldm-os0 reactions · 1 comment
- Mar 24, 2026Add session status broadcast to session registry — wipcomputer/wip-ldm-os0 reactions
- Mar 22, 2026Update claude-peers link and clean up README — hunterg325/claude-code-pm0 reactions
On Bluesky · 2
- Mar 23, 2026claude-peers-mcp permet à tes instances Claude Code de se découvrir et dialoguer en temps réel via un broker local. ⚠️ Projet tout récent,… — @camilleroux.com3 likes and reposts
- Mar 23, 2026https://github.com/louislva/claude-peers-mcp — @tom-doerr.bsky.social1 likes and repost
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 0 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
Default to using Bun instead of Node.js.
- Very specific: line 39
Use bun <file> instead of node <file> or ts-node <file>
- Very specific: line 42
Use bun install instead of npm install or yarn install or pnpm install
- Very specific: line 44
Use bunx <package> <command> instead of npx <package> <command>
- Very specific: line 54
Prefer Bun.file over node:fs's readFile/writeFile
- Very specific: line 59
Use bun test to run tests.
- Very specific: line 71
Use HTML imports with Bun.serve().
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
claude-peers
Peer discovery and messaging MCP channel for Claude Code instances.
Architecture
broker.ts— Singleton HTTP daemon on localhost:7899 + SQLite. Auto-launched by the MCP server.server.ts— MCP stdio server, one per Claude Code instance. Connects to broker, exposes tools, pushes channel notifications.shared/types.ts— Shared TypeScript types for broker API.shared/summarize.ts— Auto-summary generation via gpt-5.4-nano.cli.ts— CLI utility for inspecting broker state.
Running
# Start Claude Code with the channel:
claude --dangerously-load-development-channels server:claude-peers
# Or just add to .mcp.json and use as regular MCP (no channel push, but tools work):
# { "claude-peers": { "command": "bun", "args": ["./server.ts"] } }
# CLI:
bun cli.ts status
bun cli.ts peers
bun cli.ts send <peer-id> <message>
bun cli.ts kill-brokerBun
Default to using Bun instead of Node.js.
- Use
bun <file>instead ofnode <file>orts-node <file> - Use
bun testinstead ofjestorvitest - Use
bun build <file.html|file.ts|file.css>instead ofwebpackoresbuild - Use
bun installinstead ofnpm installoryarn installorpnpm install - Use
bun run <script>instead ofnpm run <script>oryarn run <script>orpnpm run <script> - Use
bunx <package> <command>instead ofnpx <package> <command> - Bun automatically loads .env, so don't use dotenv.
APIs
Bun.serve()supports WebSockets, HTTPS, and routes. Don't useexpress.bun:sqlitefor SQLite. Don't usebetter-sqlite3.Bun.redisfor Redis. Don't useioredis.Bun.sqlfor Postgres. Don't usepgorpostgres.js.WebSocketis built-in. Don't usews.- Prefer
Bun.fileovernode:fs's readFile/writeFile - Bun.$
lsinstead of execa.
Testing
Use bun test to run tests.
import { test, expect } from "bun:test";
test("hello world", () => {
expect(1).toBe(1);
});Frontend
Use HTML imports with Bun.serve(). Don't use vite. HTML imports fully support React, CSS, Tailwind.
Server:
import index from "./index.html"
Bun.serve({
routes: {
"/": index,
"/api/users/:id": {
GET: (req) => {
return new Response(JSON.stringify({ id: req.params.id }));
},
},
},
// optional websocket support
websocket: {
open: (ws) => {
ws.send("Hello, world!");
},
message: (ws, message) => {
ws.send(message);
},
close: (ws) => {
// handle close
}
},
development: {
hmr: true,
console: true,
}
})HTML files can import .tsx, .jsx or .js files directly and Bun's bundler will transpile & bundle automatically. <link> tags can point to stylesheets and Bun's CSS bundler will bundle.
<html>
<body>
<h1>Hello, world!</h1>
<script type="module" src="./frontend.tsx"></script>
</body>
</html>With the following frontend.tsx:
import React from "react";
import { createRoot } from "react-dom/client";
// import .css files directly and it works
import './index.css';
const root = createRoot(document.body);
export default function Frontend() {
return <h1>Hello, world!</h1>;
}
root.render(<Frontend />);Then, run index.ts
bun --hot ./index.tsFor more information, read the Bun API docs in node_modules/bun-types/docs/**.mdx.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

