Are you the author? Sign in to claim
Every project gets a brain — one open .klypix file your AI agents read, write, and argue from, over MCP. Works with Clau
You've seen the setup: point an AI at a folder of notes, watch the graph fill up, call it a brain. Look closer — the human never touches anything. Even the pattern's inventor says it: "you never write the wiki yourself… I browse the results in real time." The human is a reader. The AI is the sole writer. That's not a brain — that's an aquarium.
klypix-mcp gives your project a brain you're allowed inside while it works. One file — brain.klypix — in your repo, versioned with git, that your AI agents read, write, and argue from. And in the KLYPIX app, you work in it while they do: your cursor typing in one card while agent decisions land beside your hands, each in its area, with an arrow explaining why — and the save refuses to write a file that lost a card.
Their AI keeps a diary about your project. Ours works in the same room as you — and the room remembers.
Claude Code (native — live hooks, zero effort):
npx klypix-mcp install
Every repo on your machine with a brain.klypix now auto-briefs each session with the project's state and auto-captures decisions as you work. Give a project a brain by dropping a brain.klypix in it — the KLYPIX app does it in one click (Save canvas as project brain), or create_canvas makes one from any agent.
Every other agent tool (one command per project):
npx klypix-mcp link
Extends the brain to Cursor & VS Code/Copilot (MCP config + rules) and to Cline, Windsurf, Gemini CLI, Aider, and any AGENTS.md-reading agent — always-on rules that teach the tool to read and capture the brain.
The difference from a folder of notes is not the shape — it's that this memory is a mechanism, not a filing convention:
brain_challenge: propose a decision and the brain answers with receipts — "you reversed this on June 12; here's the correction — captured by a different agent, coordinate before overriding." Deterministic evidence only (correction-cues, opposite-polarity), never mere topical similarity. A memory that can't disagree with you is flattery.brain_ask with as_of: 2026-03-01 answers what the project believed then — corrections from the future never leak backwards.brain_message), and genuine contradictions surface as red arrows for a human to arbitrate — never auto-resolved.The whole brain — layout, decisions, arrows, and the actual bytes (images, PDFs, audio, code) — is a single .klypix file. Email it. Git it. Hand it to an agent. A folder of markdown points at its attachments; this file carries them.
And it's not a cage: everything exports to Markdown and JSON Canvas in one command, and Obsidian .canvas files open directly in KLYPIX. Plain markdown is the most portable text on earth — that's exactly why we export to it. Full spec: FORMAT.md.
"Project" means any project. Two showcase brains ship in examples/, identical in engine, different in life: showcase-brain.klypix is Aurora, a fictional weather app mid-build (radar tiles, API caps, a correction with its receipt) — and showcase-wedding.klypix is Our Wedding (venue, vendors, guest list, the same correction machinery pointed at a caterer). Same 📌 Focus, same arrows, same brief. If it has decisions worth keeping, it gets a brain.
Any MCP client gets the tools without the hooks. For Claude Desktop, in claude_desktop_config.json:
{
"mcpServers": {
"klypix": {
"command": "npx",
"args": ["-y", "klypix-mcp", "--vault", "/absolute/path/to/canvases"]
}
}
}
Then ask your agent things like "what did we decide about auth?", "challenge this: let's switch to polling", or "turn these notes into a board."
| Tool | What it does |
|---|---|
brain_ask | Whole-brain question answering — correction-aware, as_of time-travel |
brain_challenge | The brain argues back: contradictions with receipts, tried-and-reversed chains, standing rules, other-agent provenance flags |
brain_note | Capture with the full lifecycle — supersede / ✓ resolve / ~ update / 🛠 skill / closes: |
brain_reconcile | Find stale-vs-correction pairs + unrecorded migrations |
brain_insights | Hubs, orphaned decisions, stale questions, area sizes |
brain_garden | Maintenance pass over the brain |
brain_doctor | Self-diagnosis: version alignment, hooks wired, projection drift |
brain_message | Session-to-session coordination notes |
brain_connect | Find + draw related-but-unlinked cards |
canvas_view | The board as an MCP App — Apps-capable chats get an interactive spatial view; everyone else gets clean text |
read_canvas | A canvas as markdown (cards, connection graph, [[links]], #tags) |
search_canvases | Search across canvases by name + content |
search_all_brains | Cross-project memory search across every registered brain |
create_canvas | New .klypix from cards + connections |
add_to_canvas | Append cards/connections (positions preserved) |
list_canvases | List every .klypix in the vault |
This package is the agent-neutral read/write surface — any MCP client gets the tools above on demand (pull), in any project. The automatic brain — auto-capturing decisions from your work, injecting the brief into each session, coordinating concurrent sessions (push) — runs in a host hook, which npx klypix-mcp install wires for Claude Code (and the KLYPIX desktop app ships built-in). Other tools get the always-on rules via link.
install lays the whole brain (hooks + engine + local MCP server) into ~/.claude/project-brain, and the emitted config runs the server from that installed bundle (no npx cache to go stale). Updates are then automatic: at session start the hook checks npm (≤ once/24h, fail-open, disable with KLYPIX_AUTO_UPDATE=0) and self-installs newer releases. One honest caveat: a running stdio server can't hot-swap — a new binary loads on the next full app launch (or /mcp reconnect); brain_doctor's RUNNING line tells you when that's needed.
npx -p klypix-mcp klypix-a2a --vault ./canvases # 127.0.0.1:41241
# Agent Card: http://127.0.0.1:41241/.well-known/agent-card.json
Skills: make_board, remember, recall, read_canvas, list_canvases, brain_insights, search_all_brains. Unlike a typical A2A agent that returns text, KLYPIX returns the .klypix board itself as a multimodal artifact. Details: A2A.md.
import { parseKlypix, buildKlypix, appendToKlypix, structToMarkdown } from 'klypix-mcp';
npx -p klypix-mcp klypix-read path/to/board.klypix # → markdown brief
echo '{ "title": "Plan", "cards": [{ "text": "kickoff" }] }' \
| npx -p klypix-mcp klypix-write --out plan.klypix
The brain is open and free — this package, the hooks, the format. KLYPIX is the Windows app built around it: see the brain as a living spatial map, work inside it while your agents write, capture anything from anywhere, act with agents, share encrypted. Bilingual English/Arabic.
Frontier labs are racing to put your context inside their memory — a roach motel your work checks into and never leaves for a competitor. klypix-mcp is the opposite: your project, your file, any model, offline. A brain that any agent reads and writes is the one thing a lab is structurally disincentivized to build.
Apache-2.0 © Dahshan Labs. The KLYPIX desktop app is a separate, proprietary product — the file and this server are fully open and work without it.
Run analytics queries on ClickHouse — explore schemas, execute SQL, fetch results
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases