- Second Brain
Second Brain
Self-hosted semantic memory layer for Claude and MCP-compatible AI clients. Store notes, search by meaning not keywords, and recall relevant context automatically. Built on Cloudflare Workers, D1, Vectorize, and Workers AI. Runs on the free tier. One-click deploy.
Overview
A self-hosted memory layer for Claude and any MCP-compatible AI client. Gives your AI persistent, searchable memory across sessions using semantic search — not keywords.
Five tools:
- remember — store a note with duplicate detection
- recall — semantic vector search by meaning
- list_recent — chronological listing by tag
- forget — delete entry and all its chunks
- append — update an existing entry with a timestamp
How it works: Notes are embedded using bge-small-en-v1.5 on Workers AI and stored in Cloudflare Vectorize. Long notes are chunked before embedding so each section gets its own vector. Duplicate detection blocks near-exact matches before storing.
**Stack: **Cloudflare Workers, D1, Vectorize, Workers AI. Runs entirely on the free tier. One-click deploy provisions everything automatically.
Works with Claude Desktop, Claude Code, and claude.ai.
Server Config
{
"mcpServers": {
"second-brain": {
"command": "npx",
"args": [
"mcp-remote",
"https://<your-worker-url>/mcp"
]
}
}
}Project Info
Created At
24 days agoUpdated At
24 days agoAuthor Name
rahilpStar
-Language
-License
-