Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Memorymesh

MCP server by CheMiguel23 Verified · npm:@iflow-mcp

MemoryMesh is an MCP server that gives AI models long-term, structured memory as a knowledge graph. It turns schema files into tools that add, update and delete linked items. It suits RPG worlds, team records, personal CRMs and reading notes.

  • Score 83
  • 355 stars
  • 11 a week
  • MIT
  • Updated

Install Memorymesh

Built from the published package, never by AI.

claude mcp add memorymesh -- npx -y @iflow-mcp/memorymesh

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Memorymesh in Claude Code

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 memorymesh block.

About

MemoryMesh is an MCP server that gives AI models long-term, structured memory as a knowledge graph of nodes and edges. You describe the kinds of things to remember in small schema files, such as people, projects, characters or locations. MemoryMesh turns each schema into tools that add, update and delete those items and link related ones. Each call is all-or-nothing, so a failed call saves nothing.

It works for anything that can be described as things and the connections between them. Examples include a text-based RPG world, the people and teams at a company, a personal CRM or reading notes. It is based on the Knowledge Graph Memory Server from the MCP servers repository. Memory is stored in a JSON file, and a MemoryViewer and a SchemaManager help view and edit it.

Written from the project's README and checked against it.

Tools it gives your assistant

  • read_graphReturns the whole memory graph.
  • search_nodesFinds nodes by name, type or metadata, with their direct neighbours.
  • open_nodesReturns specific nodes by name, with their direct neighbours.
  • add_nodesAdds nodes of any type to the graph.
  • update_nodesChanges nodes of any type in the graph.
  • delete_nodesRemoves nodes of any type from the graph.
  • add_edgesAdds connections between nodes.
  • update_edgesChanges existing connections between nodes.
  • delete_edgesRemoves connections between nodes.
  • add_metadataAdds an individual metadata entry to a node.

What you need

  • Node.js 18 or newer
  • An MCP client such as Claude Desktop
  • Docker, optional, to run the server in a container

Try asking

  • Record every person, team and project I mention in our chat.
  • Search the memory graph for everyone linked to the Riverton project.
  • Show me the whole memory graph before answering my next question.

Good to know

  • The AI can be hesitant to delete things, so ask explicitly when you want something removed.
  • When information conflicts, the latest update wins unless you store sources or separate nodes.
  • Invalid schema files are skipped, and MemoryMesh starts with the others.

Security check

A

No 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 Memorymesh

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

Memorymesh: common questions

How does MemoryMesh store memory?

Memory is a graph of nodes and edges. The memory file stores one JSON object per line.

What happens if a schema file is invalid?

MemoryMesh skips that schema, logs the reason, and starts with the other schemas.

Can I keep my memory and schemas in my own folder?

Yes. Set the MEMORYMESH_MEMORY_FILE and MEMORYMESH_SCHEMAS_DIR environment variables to your own paths.

How do I install Memorymesh?

In Claude Code run claude mcp add memorymesh -- npx -y @iflow-mcp/memorymesh. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Memorymesh the official server?

Memorymesh is published by npm:@iflow-mcp from its verified domain in the official MCP Registry.

Is Memorymesh free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Memorymesh safe to use?

It scores 83 of 100. Grades: maintenance A, 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 Memorymesh?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does Memorymesh 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.

Memorymesh Install

Add to stack

Loading.