Self-Hosted Memory Layer for Claude Runs Free on Cloudflare

✍️ OpenClawRadar📅 Published: May 10, 2026🔗 Source
Self-Hosted Memory Layer for Claude Runs Free on Cloudflare
Ad

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 using bge-small-en-v1.5 model 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).
Ad

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

Ad

👀 See Also

Hyper iOS App: Voice Recorder with Real-Time Transcription and Action Extraction
Tools

Hyper iOS App: Voice Recorder with Real-Time Transcription and Action Extraction

Hyper is an iOS voice recorder app that transcribes conversations in real-time, provides summaries and action items, and allows mid-conversation queries via wakeword detection. It's designed for unstructured meetings like 1:1s, coffee chats, and standups.

OpenClawRadar
Throttle Meter: Open-Source Claude Code Usage Meter for macOS
Tools

Throttle Meter: Open-Source Claude Code Usage Meter for macOS

Open-source macOS menu bar app that reads local Claude Code logs to show real-time 5-hour and weekly usage, with threshold notifications and token-saving hooks. Also has a €19 commercial sibling with Exact mode (reads claude.ai's internal API via Safari).

OpenClawRadar
Browser39: A Headless Web Browser for AI Agents
Tools

Browser39: A Headless Web Browser for AI Agents

Browser39 is a headless web browser designed specifically for AI agents that converts web pages to token-optimized Markdown locally, runs JavaScript, manages cookies and sessions, queries the DOM, and fills forms. It's a single binary with no external browser needed, no fees, and no external service.

OpenClawRadar
Your Fair Share Tool: Calculate Your Equal Share of Company Profits
Tools

Your Fair Share Tool: Calculate Your Equal Share of Company Profits

A developer built a web tool using Claude Code and Vercel that calculates what your equal share of your employer's annual profits would be based on SEC 10-K filings. The tool shows specific numbers like Apple's $747,000 per employee and NVIDIA's $2.8 million per employee.

OpenClawRadar