Second Brain
@rahilp
About 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.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"second-brain": {
"command": "npx",
"args": [
"mcp-remote",
"https://<your-worker-url>/mcp"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Second Brain?
Second Brain is a self-hosted memory layer for Claude and any MCP-compatible AI client. It gives your AI persistent, searchable memory across sessions using semantic search instead of keywords.
How to use Second Brain?
Deploy Second Brain with one click on Cloudflare’s free tier. Once deployed, it works with Claude Desktop, Claude Code, and claude.ai. No explicit installation commands or config keys are documented in the README.
Key features of Second Brain
- Five tools: remember, recall, list_recent, forget, append
- Semantic vector search by meaning, not keywords
- Duplicate detection blocks near-exact matches before storage
- Long notes are automatically chunked before embedding
- Built on Cloudflare Workers, D1, Vectorize, and Workers AI
- Runs entirely on the free tier with one-click deploy
Use cases of Second Brain
- Persistent memory across chat sessions for Claude
- Searchable knowledge base without exact keyword matching
- Tag-based chronological browsing of stored notes
- Updating previous entries with new timestamps
- Deleting outdated or incorrect memory entries
FAQ from Second Brain
How does Second Brain store and search memory?
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. Recall performs semantic vector search by meaning.
How does duplicate detection work?
Duplicate detection blocks near-exact matches before storing a new note. This prevents redundant entries when the same information is provided again.
What infrastructure does Second Brain require?
The stack uses Cloudflare Workers, D1, Vectorize, and Workers AI. Everything deploys automatically with one click and runs on Cloudflare’s free tier.
Which AI clients are supported?
Second Brain works with Claude Desktop, Claude Code, and claude.ai, as well as any MCP-compatible AI client.
What are the five tools and what do they do?
The tools are: 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), and append (update an existing entry with a timestamp).
More Cloud & Infrastructure MCP servers
aws-finops-mcp-server
ravikiranvmAn MCP (Model Context Protocol) server that brings powerful AWS FinOps capabilities directly into your AI assistant. Analyze cloud costs, audit for waste, and get budget insights using natural language, all while keeping your credentials secure on your local machine.
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
Query | MCP server for Supabase
alexander-zuevQuery MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, access to logs and much more.
Comments