Memory7
MCP server by amjiddader Verified · npm:memory7
Memory7 gives AI coding tools a local long-term memory over MCP. It works with Claude Code, Kiro, VS Code, Cursor and OpenCode, and project memory can be shared with a team through git.
Install Memory7
Built from the published package, never by AI.
claude mcp add memory7 -- npx -y memory7Run in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"memory7": {
"args": [
"-y",
"memory7"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"memory7": {
"args": [
"-y",
"memory7"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"memory7": {
"args": [
"-y",
"memory7"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add memory7 -- npx -y memory7{
"mcpServers": {
"memory7": {
"args": [
"-y",
"memory7"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add memory7 npx -y memory7Gemini 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 memory7 block.
About
Memory7 is an MCP server that stores long-term memory for AI coding assistants. It keeps global facts about you, such as preferred package managers, and separate memory for each project, such as its stack, commands and decisions. The memory lives in a local SQLite file, with no network access and no telemetry. One memory is shared across Claude Code, Kiro, VS Code, Cursor and OpenCode.
The assistant gets four tools: memory_context, memory_search, memory_save and memory_delete. Memories that name a file are tracked and flagged as stale when that file changes. Project memory can be stored in the repository as .memory/memory.jsonl, so teammates who clone it start with the same memory. It is written for developers who use several AI coding tools and want them to remember their setup and project conventions.
Written from the project's README and checked against it.
Tools it gives your assistant
memory_contextReturns a short session digest of global and current project memory, including stale flags.memory_searchSearches saved memories and returns one line per hit, filterable by scope and type.memory_saveSaves or updates a memory, with optional keys, types, file links and batch items.memory_deleteSoft deletes memories by id, key or query, with undo available through the CLI.Stale detectionFlags memories whose linked files changed or were deleted.Git sharingStores project memory in .memory/memory.jsonl so it can be shared through a repository.
What you need
- Node.js 22.13 or newer
- macOS, Linux or Windows
- npm or npx to install the package
Try asking
- Search my memory for how tests are run in this project.
- Remember that this project uses pnpm instead of npm.
- Delete the memory about our old database host.
Good to know
- An MCP server cannot force a model to call it, so the assistant must follow the saved rules.
- Memories that name no file and depend on no manifest can go out of date without being flagged.
- The edit trigger for Claude Code is installed only with a global install.
- Kiro's file-save hook cannot return text to the assistant.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Memory7
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
Memory7: common questions
Does Memory7 send my memory to a server?
No. The source says it has no network access and no telemetry, and the only data that leaves your machine is what you commit in the .memory/ folder.
Can a team share AI memory for a project?
Yes. Project memory is stored in .memory/memory.jsonl, which merges without conflicts, so teammates who clone the repository get the same memory.
What happens when the code a memory describes changes?
If a memory names an existing file, its content is tracked and the memory is flagged with ?stale when the file changes.
How do I install Memory7?
In Claude Code run claude mcp add memory7 -- npx -y memory7. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Memory7 the official server?
Memory7 is published by npm:memory7 from its verified domain in the official MCP Registry.
Is Memory7 free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Memory7 safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Memory7?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does Memory7 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.
