Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A knowledge graph server that uses the Model Context Protocol (MCP) to provide structured memory persistence for AI models.
| Date | Stars |
|---|---|
| 2026-07-31 | 349 |
| 2026-08-04 | 350 |
| 2026-08-06 | 350 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# MemoryMesh
[](./CHANGELOG.md)

[](https://opensource.org/licenses/MIT)

MemoryMesh is a knowledge graph server designed for AI models, with a focus on text-based RPGs and interactive storytelling. It helps AI maintain consistent, structured memory across conversations, enabling richer and more dynamic interactions.
*The project is based on the [Knowledge Graph Memory Server](https://github.com/modelcontextprotocol/servers/tree/main/src/memory) from the MCP servers repository and retains its core functionality.*
<a href="https://glama.ai/mcp/servers/kf6n6221pd"><img width="380" height="200" src="https://glama.ai/mcp/servers/kf6n6221pd/badge" alt="MemoryMesh MCP server" /></a>
[](https://mseep.ai/app/chemiguel23-memorymesh)
## IMPORTANT
**v0.3.0 Update:** The MCP SDK has been updated from v1.0.4 to v1.25.2 to comply with the current [Model Context Protocol specification (2025-11-25)](https://modelcontextprotocol.io/specification/2025-11-25). This is a major update that brings compatibility with the latest MCP clients including Claude Desktop, ChatGPT, Cursor, Gemini, and VS Code. After updating, run `npm install` to fetch the new dependencies.
Since `v0.2.7` the default location of schemas was changed to `dist/data/schemas`.
This location is not expected to change in the future, but if you are updating from a previous version, make sure to move your schema files to the new location.
## Quick Links
* [Installation](#installation)
* [Example](#example)
* [SchemaManager Guide Discussion](https://github.com/CheMiguel23/MemoryMesh/discussions/3)
* [MemoryViewer Guide Discussion](https://github.com/CheMiguel23/MemoryMesh/discussions/15)
## Overview
MemoryMesh is a local knowledge graph server that empowers you to build and manage structured information for AI models. While particularly well-suited for text-based RPGs, its adaptable design makes it useful for various applications, including social network simulations, organizational planning, or any scenario involving structured data.
### Key Features
* **Dynamic Schema-Based Tools:** Define your data structure with schemas, and MemoryMesh automatically generates tools for adding, updating, and deleting data.
* **Intuitive Schema Design:** Create schemas that guide the AI in generating and connecting nodes, using required fields, enumerated types, and relationship definitions.
* **Metadata for AI Guidance:** Use metadata to provide context and structure, helping the AI understand the meaning and relationships within your data.
* **Relationship Handling:** Define relationships within your schemas to encourage the AI to create connections (edges) between related data points (nodes).
* **Informative Feedback:** Provides error feedback to the AI, enabling it to learn from mistakes and improve its interactions with the knowledge graph.
* **Event Support:** An event system tracks operations, providing insights into how the knowledge graph is being modified.
#### Nodes
Nodes represent entities or concepts within the knowledge graph. Each node has:
* `name`: A unique identifier.
* `nodeType`: The type of the node (e.g., `npc`, `artifact`, `location`), defined by your schemas.
* `metadata`: An array of strings providing descriptive details about the node.
* `weight`: (Optional) A numerical value between 0 and 1 representing the strength of the relationship, defaulting to 1.
**Example Node:**
```json
{
"name": "Aragorn",
"nodeType": "player_character",
"metadata": [
"Race: Human",
"Class: Ranger",
"Skills: TraExcerpt of 18,149 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:b40abd0db77078d3, topic:mcp, desc:model context protocol