Help us improve
Share bugs, ideas, or general feedback.
From mybrain
Overviews MyBrain personal knowledge base with semantic search using PostgreSQL/pgvector embeddings. Covers tools (capture_thought, search_thoughts), Docker/RDS deployment, architecture, and usage examples.
npx claudepluginhub robertsfeir/mybrainHow this skill is triggered — by the user, by Claude, or both
Slash command
/mybrain:mybrain-overviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
MyBrain is a personal knowledge base with semantic search. It stores thoughts, ideas, notes, and context in PostgreSQL with vector embeddings, making everything searchable by meaning -- not just keywords.
Mines projects and conversations into a searchable memory palace and retrieves past work via semantic search.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
Share bugs, ideas, or general feedback.
MyBrain is a personal knowledge base with semantic search. It stores thoughts, ideas, notes, and context in PostgreSQL with vector embeddings, making everything searchable by meaning -- not just keywords.
It works as an MCP (Model Context Protocol) server, accessible from Claude Code CLI and Claude Desktop.
| Mode | Database | Best For |
|---|---|---|
| Docker | Local PostgreSQL + pgvector in containers | Self-contained, no external dependencies |
| RDS | Shared AWS RDS with ltree scoping | Teams, multi-project, persistent cloud storage |
Run /mybrain-setup to install either mode.
capture_thought with your texttext-embedding-3-small) for a 1536-dim vectorsearch_thoughts with your querymatch_thoughts_scored()When BRAIN_SCOPE is set (e.g. personal, myproject.app), all queries filter by scope. This lets multiple users or projects share one database without interference.
| Tool | Description | Uses OpenRouter | Cost |
|---|---|---|---|
capture_thought | Save a thought with metadata | Yes | ~$0.0001 |
search_thoughts | Semantic search with scored ranking | Yes | ~$0.0001 |
browse_thoughts | List recent thoughts, filter by metadata | No | Free |
brain_stats | Total count, date range, top metadata | No | Free |
Docker mode:
Claude Code --HTTP--> mybrain_mcp (port 8787) --> mybrain_postgres
--> OpenRouter (embeddings)
RDS mode:
Claude Code --stdio--> server.mjs --> AWS RDS (projects_brain)
--> OpenRouter (embeddings)
Claude Desktop (either mode):
Claude Desktop --HTTPS--> Cloudflare Tunnel --> server.mjs (HTTP :8787)
The database uses the full atelier brain schema:
All data lives in PostgreSQL. OpenRouter is only used for generating embeddings -- no thought content leaves your database.