
MyGraph
Self-hosted agent memory: a knowledge graph where each fact cites its source, via 13 MCP tools.
- GitHub stars
- 1
- tools
- 12
- transport
- STDIO
- last updated
- Nov 21, 2026
What it does
- Reads and searches with
search,resolve,get,neighbors,paths,find, andhistory, including semantic search over a local multilingual model - Writes with
write(one source recorded atomically),merge, andretract, which marks facts wrong without deleting them and can restore them - Runs as a single local Rust binary over HTTP with per-graph API keys; cloud AI needs the server reachable over HTTPS
- Designed for agents sharing a long-term knowledge base across people and machines, with the source and author of every fact kept
Tools
12 toolsPublic tool metadata for what this MCP can expose to an agent.
graphsList the graphs on the server, create one, or set who may use it.
List the graphs on the server, create one, or set who may use it.
No parameter schema in public metadata yet.
overviewWhat a graph holds: counts, node and link types in use, conventions to follow.
What a graph holds: counts, node and link types in use, conventions to follow.
No parameter schema in public metadata yet.
searchFind nodes and evidence by name, alias, words or meaning.
Find nodes and evidence by name, alias, words or meaning.
No parameter schema in public metadata yet.
resolveCheck up to 100 names before writing: match, ambiguous, or none (with similar nodes).
Check up to 100 names before writing: match, ambiguous, or none (with similar nodes).
No parameter schema in public metadata yet.
getOne object with its properties, links, citations and sources.
One object with its properties, links, citations and sources.
No parameter schema in public metadata yet.
writeRecord one source: evidence, nodes, links and citations, all at once.
Record one source: evidence, nodes, links and citations, all at once.
No parameter schema in public metadata yet.
retractMark facts as wrong (restorable), or undo a whole write.
Mark facts as wrong (restorable), or undo a whole write.
No parameter schema in public metadata yet.
mergeMerge duplicate nodes; the old IDs keep resolving.
Merge duplicate nodes; the old IDs keep resolving.
No parameter schema in public metadata yet.
neighborsThe subgraph around a node, filtered by link type and direction.
The subgraph around a node, filtered by link type and direction.
No parameter schema in public metadata yet.
pathsHow two nodes are connected (shortest path or several).
How two nodes are connected (shortest path or several).
No parameter schema in public metadata yet.
findFiltered lists, counts, group-by and aggregates.
Filtered lists, counts, group-by and aggregates.
No parameter schema in public metadata yet.
historyWhat changed, and since when.
What changed, and since when.
No parameter schema in public metadata yet.
Readme
MyGraph
Built by AI, for AI. A knowledge graph that AI agents use as their long-term memory, where every fact points to the source it came from.
MyGraph was designed and written by AI coding agents (Claude, in Claude Code), with a human setting the goals and making the decisions. Its users are agents too: they read and write it through MCP tools shaped for how agents work, not through a query language made for people. Humans install it, connect their agents, and look at what the agents have built (a stats page and a graph viewer).
https://github.com/user-attachments/assets/3b7d85ee-d0f1-41d4-af67-b6ff04e8412a
One agent records two Wikipedia articles; a second agent that never saw them answers from the graph and quotes the sentences; the viewer shows the source behind a link. Also on YouTube.
The graph viewer with Apollo 11 selected: its crew, spacecraft, rocket and landing site, and on the right the Wikipedia sentences those links cite
Details
- Repository
- github.com/dieron/mygraph
- Website
- github.com/dieron/mygraph
- Categories
- Memory & Context, AI Agents & LLM Apps
- Package
ghcr.io/dieron/mygraph:0.3.1- Transport
- STDIO
- Registry
- MCP registry, active
Similar to MyGraph
More Memory & Context
MemoryMeshMCP serverchemiguel23356 starsA knowledge graph memory server that lets AI models persist structured, linked facts across sessions.
MimirMCP serverorneryd290 starsPersistent graph memory and task tracking for AI agents, with semantic search over indexed code.
Marm Mcp ServerMCP serverlyellr88437 starsPersistent local memory and code graph access for AI agents, with semantic recall over stored sessions.
Ori MemoryMCP serveraayoawoyemi337 starsPersistent agent memory over a local markdown vault: identity, knowledge graph, and search.
MemoriaMCP serveragripp871 starPersistent plain-text memory store with hybrid search and agentic self-maintenance tools.
memmeshPluginThinkfleetAI/memmesh358 starsMemMesh — persistent, local-first memory for AI agents. Bi-temporal knowledge graph, typed/scoped recall, and local↔server sync, over MCP; runs from one binary