# OwnMemory

> OwnMemory is an open-source MCP server for knowledge and memory. Encrypted cross-assistant memory that runs in your own Cloudflare account. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** self-hosted, API
- **Website:** https://ownmemory.app
- **Repository:** https://github.com/ownmemoryhq/ownmemory
- **MCP Registry name:** app.ownmemory/ownmemory
- **Categories:** knowledge and memory
- **Listing updated:** 2026-11-15

## About

Memories are encrypted with AES-256-GCM before they reach storage, and the passphrase that unlocks the key never leaves your browser. The server keeps no key at rest: the memory key and any Google token live only inside the OAuth grant, and the MCP handler is stateless, so nothing is written to Durable Objects or logs.

Storage is a D1 database in your Cloudflare account by default, or an OwnMemory folder in your Google Drive. Search works by meaning and by keyword, in English, Chinese or mixed text; embeddings come from Cloudflare Workers AI in your own account and are stored encrypted. Setting the SEMANTIC_SEARCH secret to off keeps memory text away from it and falls back to keyword search.

The README is open about one exposure: the server and Anthropic see a memory's text while a save or search runs, because Claude sends plain text. It describes the project as early (v0.2), tested with Claude on the web, iPhone, Android and Claude Code; other OAuth-capable clients are untested.

## Features

- **Encrypted at rest:** Each memory is encrypted before storage, so your storage provider only sees ciphertext.
- **Rules enforced in code:** Blocked categories, a pause switch and a filter that refuses passwords, API keys and card numbers.
- **Meaning-based search:** Finds memories by meaning and keywords, in English, Chinese or mixed text.
- **Memory browser:** A /memories page on your server lets you browse, search, edit, add and delete entries.
- **Markdown export:** Download everything as Markdown and decrypt a copy in the browser without your server.
- **Update history:** Changed facts keep their previous wording as dated history.

## Good for

- Keep personal context when switching between AI assistants
- Store private notes under a key only you hold
- Import what Claude's built-in memory already knows
- Review and clean up what an assistant has saved about you

## Tools

- `load_core_memories`: Called at the start of a chat; returns the memory mode and, in OwnMemory-only mode, profile, preferences and recent work.
- `search_memories`: Searches by meaning and keywords in English, Chinese or mixed text.
- `list_memories`: Lists the most recent memories, optionally by category.
- `save_memory`: Saves one fact after the hard rules allow it and flags facts already saved.
- `import_memories`: Saves up to 50 facts at once.
- `update_memory`: Changes a fact and keeps the previous wording as dated history.
- `delete_memory`: Deletes a memory, kept 30 days in D1 or in the Drive trash.
- `review_memories`: Finds memories with the same wording or meaning so they can be merged.
- `set_memory_mode`: Records how OwnMemory is used alongside Claude's own memory.

## FAQ

### Where are my memories stored?

In a D1 database in your own Cloudflare account by default, or in an OwnMemory folder in your Google Drive.

### Can I turn off semantic search?

Yes. Set the SEMANTIC_SEARCH secret to off and search uses keywords only.

### What happens when I delete a memory?

It stays 30 days in D1, or in the Drive trash, before it is gone.

### Which clients work?

It is tested with Claude on the web, iPhone, Android and in Claude Code; other clients with remote OAuth support may work but are untested.

### Is OwnMemory free?

Yes. OwnMemory is open source, so you can use and self-host it for free.

### What are the best alternatives to OwnMemory?

The closest alternatives to OwnMemory are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and note1.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [MedXpert 图书馆连接器（通用版）](https://ai-powered.com/mcp/medxpert): MedXpert 图书馆连接器（通用版） is an open-source MCP server for knowledge and memory.
- [Context Nest](https://ai-powered.com/mcp/context-nest): Context Nest is a freemium MCP server for knowledge and memory.
- [Tulsa Ecosystem Map](https://ai-powered.com/mcp/tulsa-ecosystem-map): Tulsa Ecosystem Map is a free MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/ownmemory
