mcp-memory

MCP.Pizza Chef: Puliczek

Two tools do all the work: one saves something you want kept, the other finds it again later by meaning rather than exact wording, so asking what you eat for breakfast can surface a note about porridge. It runs on Cloudflare and stays free at ordinary volumes, roughly a thousand saved notes. A ready-made public instance exists that you can point at in minutes, but nothing checks who you are, and the code has not changed since April 2025.

Unmaintained ยท no code changes since April 2025
Data
Notes

Use This MCP server To

Tell my assistant a preference once and stop repeating it Save a detail now and recall it next week Ask what I said about a project a month ago Keep a small set of notes my assistant can search Carry the same context across different chat apps

README

๐Ÿค Show your support - give a โญ๏ธ if you liked the content

MCP Memory

MCP Memory is a MCP Server that gives MCP Clients (Cursor, Claude, Windsurf and more) the ability to remember information about users (preferences, behaviors) across conversations. It uses vector search technology to find relevant memories based on meaning, not just keywords. It's built with Cloudflare Workers, D1, Vectorize (RAG), Durable Objects, Workers AI and Agents.

๐Ÿ“บ Video

Watch the video

๐Ÿš€ Try It Out

๐Ÿ› ๏ธ How to Deploy Your Own MCP Memory

Option 1: One-Click Deploy Your Own MCP Memory to Cloudflare

Deploy to Cloudflare

In Create Vectorize section choose:

  • Dimensions: 1024
  • Metric: cosine

Click button "Create and Deploy"

In Cloudflare dashboard, go to "Workers & Pages" and click on Visit

Visit MCP Memory

Option 2: Use this template

  1. Click the "Use this template" button at the top of this repository
  2. Clone your new repository
  3. Follow the setup instructions below

Option 3: Create with CloudFlare CLI

npm create cloudflare@latest --git https://github.com/puliczek/mcp-memory

๐Ÿ”ง Setup (Only Option 2 & 3)

  1. Install dependencies:
npm install
  1. Create a Vectorize index:
npx wrangler vectorize create mcp-memory-vectorize --dimensions 1024 --metric cosine
  1. Install Wrangler:
npm run dev
  1. Deploy the worker:
npm run deploy

๐Ÿง  How It Works

MCP Memory Architecture

  1. Storing Memories:

    • Your text is processed by Cloudflare Workers AI using the open-source @cf/baai/bge-m3 model to generate embeddings
    • The text and its vector embedding are stored in two places:
      • Cloudflare Vectorize: Stores the vector embeddings for similarity search
      • Cloudflare D1: Stores the original text and metadata for persistence
    • A Durable Object (MyMCP) manages the state and ensures consistency
    • The Agents framework handles the MCP protocol communication
  2. Retrieving Memories:

    • Your query is converted to a vector using Workers AI with the same @cf/baai/bge-m3 model
    • Vectorize performs similarity search to find relevant memories
    • Results are ranked by similarity score
    • The D1 database provides the original text for matched vectors
    • The Durable Object coordinates the retrieval process

This architecture enables:

  • Fast vector similarity search through Vectorize
  • Persistent storage with D1
  • Stateful operations via Durable Objects
  • Standardized AI interactions through Workers AI
  • Protocol compliance via the Agents framework

The system finds conceptually related information even when the exact words don't match.

๐Ÿ”’ Security

MCP Memory implements several security measures to protect user data:

  • Each user's memories are stored in isolated namespaces within Vectorize for data separation
  • Built-in rate limiting prevents abuse (100 req/min - you can change it in wrangler.jsonc)
  • Authentication is based on userId only
    • While this is sufficient for basic protection due to rate limiting
    • Additional authentication layers (like API keys or OAuth) can be easily added if needed
  • All data is stored in Cloudflare's secure infrastructure
  • All communications are secured with industry-standard TLS encryption (automatically provided by Cloudflare's SSL/TLS certification)

๐Ÿ’ฐ Cost Information - FREE for Most Users

MCP Memory is free to use for normal usage levels:

  • Free tier allows 1,000 memories with ~28,000 queries per month
  • Uses Cloudflare's free quota for Workers, Vectorize, Worker AI and D1 database

For more details on Cloudflare pricing, see:

โ“ FAQ

  1. Can I use memory.mcpgenerator.com to store my memories?

    • Yes, you can use memory.mcpgenerator.com to store and retrieve your memories
    • The service is free
    • Your memories are securely stored and accessible only to you
    • I cannot guarantee that the service will always be available
  2. Can I host it?

    • Yes, you can host your own instance of MCP Memory for free on Cloudflare
    • You'll need a Cloudflare account and the following services:
      • Workers
      • Vectorize
      • D1 Database
      • Workers AI
  3. Can I run it locally?

    • Yes, you can run MCP Memory locally for development
    • Use wrangler dev to run the worker locally
    • You'll need to set up local development credentials for Cloudflare services
    • Note that some features like vector search or workers AI requires a connection to Cloudflare's services
  4. Can I use different hosting?

    • No, MCP Memory is specifically designed for Cloudflare's infrastructure
  5. Why did you build it?

    • I wanted an open-source solution
    • Control over my own data was important to me
  6. Can I use it for more than one person?

    • Yes, MCP Memory can be integrated into your app to serve all your users
    • Each user gets their own isolated memory space
  7. Can I use it to store things other than memories?

    • Yes, MCP Memory can store any type of text-based information
    • Some practical examples:
      • Knowledge Base: Store technical documentation, procedures, and troubleshooting guides
      • User Behaviors: Track how users interact with features and common usage patterns
      • Project Notes: decisions and project updates
    • The vector search will help find related items regardless of content type

๐Ÿค Show your support

๐Ÿค Show your support - give a โญ๏ธ if you liked the content

mcp-memory FAQ

Who else can read my memories?
Anyone who has your address. There is no password, key, sign-in or token of any kind. The web address you paste into your app contains a plain user name, and anyone who has that address can read, edit and delete everything stored under it.
The readme mentions a rate limit as protection. Does that help?
No. The limit of a hundred requests a minute is declared in the deployment settings but is never actually applied anywhere in the running code, so the protection the readme leans on does not exist. Treat this as an open notebook and keep anything sensitive out of it.
Does it cost anything?
Not for normal personal use. The free Cloudflare allowances cover roughly a thousand saved notes and about twenty-eight thousand look-ups a month. Beyond that you pay Cloudflare's usual rates for the storage and search it uses.
Do I need a key or an account?
Not if you use the ready-made public instance, which is free and needs nothing but a web address pasted into your app. Running your own copy needs a free Cloudflare account and a one-click deploy, plus a search index created with the right settings.
Which apps does it work in?
Cursor, Claude and Windsurf are named, and any app that accepts a remote MCP address will work the same way. Setup is pasting one small block containing your address.
Can I use this to stop repeating myself to my assistant?
Yes, that is exactly the point. You tell it your preferences once, and later conversations can search that store instead of starting cold every time.
Can it delete or list memories from chat?
No. Only two tools exist, one to save and one to search. Viewing and deleting happen through the web page attached to your own instance, not through your assistant.
Is it still maintained?
The code has not been touched since April 2025, more than a year ago. It also ships without a licence file, which means no permission to reuse it has formally been granted, so check with your employer before putting work information into it.