Self-Hosted Memory Layer for Claude Runs Free on Cloudflare

A Reddit user built second-brain-cloudflare, an open-source MCP server that adds persistent memory to Claude. It runs entirely on Cloudflare's free tier using Workers, D1 (SQLite), Vectorize, and Workers AI.
Key Features
- Four MCP tools:
remember,recall,list_recent,forget. - Semantic search via
recall: notes are vector-embedded usingbge-small-en-v1.5model via Workers AI and stored in Cloudflare Vectorize. Searches match by meaning, not keywords. - Works with Claude Desktop, Claude Code, and
claude.ai(via custom connectors).
How It Works
You add instructions to Claude's system prompt. The server is deployed via one-click deploy button on the repo. Context: remember stores a note, recall searches semantic embeddings, list_recent shows recent notes, forget deletes a note. The stack: TypeScript, Cloudflare Workers + D1 + Vectorize + Workers AI.
Tradeoffs and Implementation Details
The author notes that semantic search has tradeoffs — embedding quality, latency, and cost are discussed in the Reddit thread. The free tier handles personal use without issue.
📖 Read the full source: r/ClaudeAI
👀 See Also

MCP Server for Semantic Search in Obsidian Vaults
A developer built an MCP server that indexes Obsidian vaults into Qdrant with local embeddings, enabling semantic search instead of keyword matching. It chunks markdown by headings, uses BAAI/bge-small-en-v1.5 embeddings, and works with Claude Code, Cursor, Windsurf, or any MCP client.

MCP server for depth-packed codebase context
A new MCP server packs codebase context at 5 depth levels within token budgets, addressing the problem where AI coding agents either load too few files or get flat repo maps without actual content.

Building an Agentic RAG for Obsidian with Claude and an Eval Harness to Detect Hallucinations
A developer built an agentic RAG system over an Obsidian vault to let Claude answer questions from engineering books, then created an eval harness using Claude Sonnet as a judge to detect when the agent was confidently wrong. Rubric iterations improved judge-human agreement from 39% to 94%.

SkyClaw: Rust AI Agent Runtime for Cloud VPS with Telegram Control
SkyClaw is a 6.9 MB Rust-based AI agent runtime designed for cloud VPS deployment with Telegram as the sole interface. It executes shell commands, browses the web via headless Chrome, reads/writes files, and fetches URLs with multi-round tool chaining.