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:@mseep

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

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

Install Memorymesh

Built from the published package, never by AI.

claude mcp add memorymesh -- npx -y @mseep/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 structured, long-term memory in the form of a knowledge graph. Memory is made of nodes, which are things, and edges, which are connections between them. You describe the kinds of things to remember in small schema files, and MemoryMesh turns each schema into tools the AI uses to add, update and delete that information, linking related items as it goes.

Every call is all-or-nothing, so an invalid request saves nothing and returns an error the AI can act on. The project is based on the Knowledge Graph Memory Server from the MCP servers repository. It suits text-based RPG worlds, company people and teams, personal CRMs and reading notes. Schemas can be edited visually with the SchemaManager, and the MemoryViewer displays the memory file.

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_nodesUpdates nodes of any type in the graph.
  • delete_nodesDeletes nodes of any type from the graph.
  • add_edgesAdds connections between nodes.
  • update_edgesUpdates connections between nodes.
  • delete_edgesDeletes connections between nodes.
  • add_metadataAdds individual metadata entries to a node.

What you need

  • Node.js 18 or newer
  • An MCP client such as Claude Desktop
  • Docker (optional, for running in a container)

Try asking

  • Record every person, team and project I mention in this chat.
  • Check the memory graph for what we know about Mara before answering.
  • Search the memory for all NPCs whose status is injured.

Good to know

  • The AI can be hesitant to delete things, so ask explicitly when you want something removed.
  • If a schema file is invalid, MemoryMesh skips it and loads the others.
  • When information conflicts, the latest update wins.

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

Do I need a schema for every type of data?

Each schema file describes one node type and generates add, update and delete tools for it. The built-in tools such as read_graph and search_nodes are always available, whatever schemas you use.

Where is the memory saved?

By default the memory is saved to dist/data/memory.json. You can change the path with the MEMORYMESH_MEMORY_FILE environment variable.

What happens when the AI makes an invalid change?

Every call is all-or-nothing. If something is wrong, such as a missing required field or a link to a node that does not exist, nothing is saved and the AI receives an error.

How do I install Memorymesh?

In Claude Code run claude mcp add memorymesh -- npx -y @mseep/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:@mseep 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.