Memento MCP
MCP server by gannonh Verified · gh:gannonh
Memento MCP is a knowledge graph memory system for LLM clients that support the Model Context Protocol. It gives assistants persistent, long-term memory of entities and relations, stored in Neo4j with semantic search.
Install Memento MCP
Built from the published package, never by AI.
claude mcp add memento-mcp -- npx -y @gannonh/memento-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"memento-mcp": {
"args": [
"-y",
"@gannonh/memento-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"memento-mcp": {
"args": [
"-y",
"@gannonh/memento-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"memento-mcp": {
"args": [
"-y",
"@gannonh/memento-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add memento-mcp -- npx -y @gannonh/memento-mcp{
"mcpServers": {
"memento-mcp": {
"args": [
"-y",
"@gannonh/memento-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add memento-mcp npx -y @gannonh/memento-mcpGemini 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 memento-mcp block.
About
Memento MCP is a knowledge graph memory system for LLM clients that support the Model Context Protocol, such as Claude Desktop, Cursor and GitHub Copilot. It stores entities with a name, an entity type and observations, and relations with strength, confidence and metadata. The server exposes tools for creating, updating and deleting entities and relations.
It uses Neo4j as its storage backend, combining graph storage and vector search in one database. Semantic search uses vector embeddings from OpenAI models, with hybrid keyword search and a 0.6 default similarity threshold. Temporal features keep version history, support point-in-time queries and apply time-based confidence decay. It is aimed at developers who want persistent, adaptive long-term memory for AI assistants.
Written from the project's README and checked against it.
Tools it gives your assistant
create_entitiesCreate multiple new entities in the knowledge graph.add_observationsAdd new observations to existing entities.delete_entitiesRemove entities and their relations.delete_observationsRemove specific observations from entities.create_relationsCreate multiple new relations between entities with strength and confidence.get_relationGet a specific relation with its enhanced properties.update_relationUpdate an existing relation's strength, confidence or metadata.delete_relationsRemove specific relations from the graph.
What you need
- Neo4j 5.13 or later
- Docker and Docker Compose (optional, for running Neo4j)
- npm for the project scripts
- An MCP-compatible LLM client such as Claude Desktop, Cursor or GitHub Copilot
Try asking
- Remember that John_Smith works at Anthropic with strength 0.9.
- Add an observation to John_Smith that he speaks fluent Spanish.
- Show me the works_at relation between John_Smith and Anthropic.
Good to know
- Vector search requires Neo4j 5.13 or later.
- Semantic search uses OpenAI embedding models.
- Relation confidence decays over time unless reinforced.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Memento MCP
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
Memento MCP: common questions
What database does Memento MCP use?
It uses Neo4j, which stores both the graph and the vector embeddings in a single database.
Does Memento MCP keep a history of changes?
Yes. Every change is preserved as a new version with timestamps, so updates do not overwrite existing data.
Does confidence in relations change over time?
Yes. Relation confidence decays over a configurable half-life, with a default of 30 days, and the original values are kept alongside the decayed ones.
How do I install Memento MCP?
In Claude Code run claude mcp add memento-mcp -- npx -y @gannonh/memento-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Memento MCP the official server?
Memento MCP is published by gh:gannonh from its verified domain in the official MCP Registry.
Is Memento MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Memento MCP safe to use?
It scores 58 of 100. Grades: maintenance F, licence A, quality B. 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 Memento MCP?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does Memento MCP 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.
