Shipwright Brain
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Shipwright Brain
Persistent memory for Claude Code. Markdown files, no database. Brain remembers ideas, decisions, features, and progress across sessions so Claude doesn't start from zero every time.
Part of the Shipwright a la carte toolkit.
Install
Plugin (recommended)
In Claude Code:
/plugin install shipwright-brain
/shipwright-brain:setupSetup asks for docs directory (default ./docs) and port (default 3111). That's it — Brain tools are available as brain.create_memory, brain.browse_memories, etc.
Via Shipwright
If you're using Shipwright, Brain is set up during Layer 2 of /shipwright:setup.
npx (no plugin)
cd your-project
npx github:shipwright-ai/shipwright-brain initCreates docs/ and wires Brain into .mcp.json. Restart Claude Code for MCP to pick it up.
Manual
Add to .mcp.json in your project root:
{
"mcpServers": {
"brain": {
"command": "npx",
"args": ["github:shipwright-ai/shipwright-brain", "mcp", "--dir", "./docs"]
}
}
}Related MCP server: ecc-memory
Browse Your Memories
npx github:shipwright-ai/shipwright-brain uiStarts Brain API on http://localhost:3111 and Shipwright UI on http://localhost:5173. The UI is downloaded automatically on first run (~2MB, cached in ~/.shipwright/brain-ui/).
Options:
npx github:shipwright-ai/shipwright-brain ui --port 4000 # Brain API on custom port
npx github:shipwright-ai/shipwright-brain ui --ui-port 8080 # UI on custom port
npx github:shipwright-ai/shipwright-brain api # API only, no UIInit downloads everything upfront — Playwright Chromium (~150MB, for screenshots) and the embedding model (~80MB, for semantic search) — so there are no surprise delays during use.
What Makes Brain Different
Dynamic kinds and tags
No predefined taxonomy. Create any kind — ideas, decisions, features, bugs, epics, sessions — whatever fits your project. Tags are freeform: area/auth, priority/high, persona/admin. Organize however makes sense.
Format guides per kind
Each kind has its own template in docs/format-guides/{kind}/memory.md. Brain uses it when creating memories — Claude gets the right structure automatically.
Tag-aware sub-templates: brain.create_memory({ kind: "ideas", tags: ["plan"] }) looks for docs/format-guides/ideas/plan/memory.md first. Different tags get different formats from the same kind.
Sections — sibling .md files
Any .md file next to memory.md is a section. Brain parses them (frontmatter, checkboxes, progress).
Naming convention: {order}_{section}_{agent}.md
docs/ideas/auth-redesign/plan/task-1/
memory.md <- the work-item
1_execution_developer.md <- developer checklist
2_review_reviewer.md <- reviewer checklist
3_documentary_documenter.md <- doc-writer checklistFormat guides can include section templates — they get copied automatically on create_memory.
Progress from checkboxes
No status field. Brain counts - [ ] and - [x] and derives: not-started / in-progress / done. Section checkboxes aggregate into memory progress. Child memories roll up into parent progress.
MCP responses steer Claude
This is the enforcement mechanism. Every Brain tool response includes:
NEXT STEPS — checklist of what Claude must do after creating a memory
CLAUDE_REMINDER — appended to every search/browse result ("update memories if scope changed")
Duplicate blocking — 90%+ similar memory blocks creation, presents two forced choices
Related memories — auto-linked as refs, suggested as parents
Claude follows these because they arrive fresh with every tool call — unlike CLAUDE.md rules that get compacted away.
Agent recall
Agents remember across sessions:
brain.recall_agent_memory({ agent_name: "developer" })— returns learnings, auto-creates file if first timebrain.recall_developer_profile({})— returns communication preferences, auto-detects user
Screenshots
Capture UI state at any breakpoint:
brain.screenshot({ url: "http://localhost:5173/profiles", memory_file: "docs/features/profiles/memory.md", width: 375 })Width: 375 (mobile), 768 (tablet), omit for desktop (1280). Full page capture. Click sequences supported.
How It Works
Claude creates memories as markdown files with frontmatter. Brain handles everything else.
docs/
ideas/
auth-improvements/
memory.md <- the idea + checklist
auth-plan/
memory.md <- plan (sub-memory)
migrate-tokens/
memory.md <- work-item (sub-memory of plan)
1_execution_developer.md <- section
decisions/
jwt-tokens/
memory.md
whiteboard.png <- attached files live next to the memory
features/
auth/
memory.md <- living feature doc
login/
memory.md <- sub-featureA memory looks like this:
---
title: Auth improvements
kind: ideas
tags: [auth, security, urgent]
refs: [docs/decisions/jwt-tokens/memory.md]
by: developer
at: 2025-03-28T10:00:00.000Z
---
> Why: session tokens don't meet compliance requirements
> What: switch to JWT with refresh tokens
> Who: all authenticated users
> How: implement token rotation, update API docs
- [x] Research refresh token best practices
- [x] Replace long-lived session tokens
- [ ] Add token rotation on refresh
- [ ] Update API docsBrain reads the checkboxes and knows this is 2/4 = in progress.
MCP Tools
Tool | What it does |
| Create memory with duplicate check, auto-refs, format guide, section templates |
| Navigate tree by kind, filter by tags/status, sort, paginate |
| Hybrid keyword + semantic search with filters |
| Capture URL at any viewport width with optional click sequence |
| Attach any file type to a memory |
| Move memory to new parent, auto-update all refs |
| Full connection graph |
| Load agent learnings from previous sessions |
| Load developer preferences |
| Remove + cleanup refs |
HTTP API
All endpoints return JSON with CORS headers.
Endpoint | Params | Description |
|
| Browse memory tree |
|
| Hybrid search |
|
| Full detail with rich refs/children |
| -- | Full reference graph |
| -- | Stats, kinds, tags |
|
| Serve attachments |
Related Projects
Shipwright — a la carte toolkit for Claude Code (methodology + orchestration)
Shipwright UI — web UI for browsing Brain memories
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
Hosted MCP memory for coding agents: persistent across sessions, editable markdown, team sharing.
Private persistent memory for Claude, ChatGPT & Gemini via MCP - semantic search, zero-code setup.
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code to use local markdown notes as persistent, searchable memory with hybrid recall, episodic memory, note-graph traversal, design memory, and optional cloud sync.209 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude Code to persist and recall cross-repository memories as Markdown files via save, search, read, and health-check tools, with local-only storage and no cloud services.MIT
- AlicenseNot gradedqualityAmaintenanceGives Claude Code persistent cross-session memory with semantic search over facts, decisions, and lessons, plus automatic tracking of user corrections and behavioral patterns. Enables a Claude that evolves reusable frameworks over time — promoting what works and retiring what doesn't — all locally through MCP tools and hooks.6 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables Claude Code to persist identity, memory, and behavioral patterns across sessions through an MCP server with 15 tools, providing semantic memory search, automatic correction tracking, and evolving frameworks. It lets users recall past decisions, monitor recurring mistakes with trend analysis, and let judgment develop over time — all locally with no cloud dependency.6 npmMIT