Memory
MCP server by fstamatelopoulos Verified · npm:@cerefox
Cerefox is user-owned shared memory for AI agents. Tools like Claude, ChatGPT and Cursor can read and write one knowledge base backed by Postgres and pgvector. It suits people who want their agents to share context across tools and sessions.
Install Memory
Built from the published package, never by AI.
claude mcp add memory -- npx -y @cerefox/memoryRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"memory": {
"args": [
"-y",
"@cerefox/memory"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"memory": {
"args": [
"-y",
"@cerefox/memory"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"memory": {
"args": [
"-y",
"@cerefox/memory"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add memory -- npx -y @cerefox/memory{
"mcpServers": {
"memory": {
"args": [
"-y",
"@cerefox/memory"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add memory npx -y @cerefox/memoryGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the memory block.
About
Cerefox is a persistent, curated knowledge base that several AI tools can read and write. Knowledge written by one agent, such as Claude, ChatGPT, Cursor or a custom agent, becomes searchable by the others. It runs on Postgres with pgvector, either on a hosted Supabase project or fully self-hosted in a single Docker container. It offers hybrid full-text and semantic search, Markdown ingestion, and an audit log of writes. Its MCP server runs locally over stdio, and a remote MCP endpoint is available through Supabase Edge Functions. The project is aimed at people who want to own their data and share context between AI agents over time.
Written from the project's README and checked against it.
Tools it gives your assistant
cerefox_list_projectsLets an agent discover the projects available in the knowledge base.cerefox_insertAdds new content to a document without resending the whole document.cerefox_editChanges part of a document, such as appending, replacing or deleting a section.cerefox_get_documentReturns a full document or one section named by its heading.cerefox_set_document_metadataChanges document tags without touching content, merging keys by default.cerefox_delete_documentSoft-deletes a document, requiring the caller's read hash and recording a reason.cerefox_restore_documentRestores a document that was soft-deleted, as the audited inverse of delete.
What you need
- A Supabase project (free tier is enough) or Docker for the fully local backend
- Node.js 24 or later for the npm package
- An OpenAI API key for the default embeddings
Try asking
- Search my Cerefox memory for the decisions we made about the API design
- Save this summary as a new document in my Cerefox project
- List the projects available in my Cerefox knowledge base
Good to know
- PDF files are not supported, so convert them to Markdown or text first
- .docx files are converted on ingest and the fidelity of the result varies
- The ChatGPT Custom GPT connection stops working when OpenAI retires Custom GPTs on December 11, 2026
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://github.com/fstamatelopoulos/cerefox/releases/latest/download/install.sh | sh
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Memory
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
Memory: common questions
Can Cerefox run fully offline?
The source says Cerefox Local can run a fully offline embedding model inside its container, so text never leaves the machine. The default embeddings use the OpenAI API.
Which AI tools can use Cerefox?
The source names Claude Code, Codex, Cursor, Gemini, Claude Desktop, cloud Claude over OAuth, and ChatGPT through a Custom GPT with GPT Actions.
Where is the data stored?
Data lives in a Postgres database that the user controls, either a Supabase project or a self-hosted Cerefox Local instance.
How do I install Memory?
In Claude Code run claude mcp add memory -- npx -y @cerefox/memory. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Memory the official server?
Memory is published by npm:@cerefox from its verified domain in the official MCP Registry.
Is Memory free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Memory safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to Memory?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does Memory work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
