Second Brain

Created By
rahilp24 days ago
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:

  1. remember — store a note with duplicate detection
  2. recall — semantic vector search by meaning
  3. list_recent — chronological listing by tag
  4. forget — delete entry and all its chunks
  5. 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 ago
Updated At
24 days ago
Author Name
rahilp
Star
-
Language
-
License
-
Category

Recommend Servers

View All