I built persistent AI memory for Claude on Cloudflare's free tier
Rahil Pirani developed a persistent AI memory solution for Claude using Cloudflare's free tier. The system allows for memory retention across sessions, enhancing productivity by eliminating the need to reintroduce context daily. It utilizes a self-hosted MCP server and various technologies to manage and store data efficiently.
- ▪The solution is called second-brain-cloudflare and operates entirely on Cloudflare's free tier.
- ▪It employs a tag-based time-decay reranking system to prioritize more recent memories.
- ▪The system includes features like duplicate detection and temporal recall for improved memory management.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3922851) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Rahil Pirani Posted on May 20 I built persistent AI memory for Claude on Cloudflare's free tier #ai #cloudflare #productivity #opensource Every Claude session starts fresh. You copy context, explain your setup, reintroduce your project, and then do it all over again the next day. I got tired of this and created a solution. second-brain-cloudflare is a self-hosted MCP server that provides Claude, ChatGPT, Cursor, and any MCP-compatible client with persistent memory across sessions.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).