Graph-Mem
Überblick
Beschreibung vom Entwickler (englisches Original)
Persistent knowledge-graph memory for AI agents, with local semantic search. No API keys.
Die drei Säulen von PopNx MCP
Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.
- Stimmen der NutzeriNoch keine BewertungenBewertungen starten in einem späteren Schritt zusammen mit Benutzerkonten
- Unsere Basischecksi1 von 1 bestandenAnhand öffentlicher Informationen geprüft; Code noch nicht gescannt
- NutzungiGanz neu↓ 23/Wo. · ★ –
Was du damit machen kannst
Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.
- Verbindung: Läuft auf deinem Computer
- Transport: stdio
- Kategorie: Suche & KI-Gedächtnis
Installation
Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.
Bevor du installierst
- Basischecks: 1 von 1 bestanden
- Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
- Das trägst du selbst ein:
GRAPHMEM_DB_PATH,GRAPHMEM_EMBEDDING_MODEL,GRAPHMEM_TRAVERSAL_NODE_BUDGET,GRAPHMEM_LOG_LEVEL
Du brauchst
- PyPIuv für Python installiert (für den Befehl uvx)
Welche App nutzt du?
Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.
Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein
{
"mcpServers": {
"graphmem": {
"command": "uvx",
"args": [
"graphmem-mcp"
],
"env": {
"GRAPHMEM_DB_PATH": "your-value",
"GRAPHMEM_EMBEDDING_MODEL": "your-value",
"GRAPHMEM_TRAVERSAL_NODE_BUDGET": "your-value",
"GRAPHMEM_LOG_LEVEL": "your-value"
}
}
}
}Führe das in deinem Terminal aus
claude mcp add graphmem --env GRAPHMEM_DB_PATH=your-value --env GRAPHMEM_EMBEDDING_MODEL=your-value --env GRAPHMEM_TRAVERSAL_NODE_BUDGET=your-value --env GRAPHMEM_LOG_LEVEL=your-value -- uvx graphmem-mcpTrag die leeren Werte ein, bevor du ihn startest.
Oder kopier die Einstellungen selbst
In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen
{
"mcpServers": {
"graphmem": {
"command": "uvx",
"args": [
"graphmem-mcp"
],
"env": {
"GRAPHMEM_DB_PATH": "your-value",
"GRAPHMEM_EMBEDDING_MODEL": "your-value",
"GRAPHMEM_TRAVERSAL_NODE_BUDGET": "your-value",
"GRAPHMEM_LOG_LEVEL": "your-value"
}
}
}
}Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
Oder kopier die Einstellungen selbst
In .vscode/mcp.json in deinem Projekt einfügen
{
"servers": {
"graphmem": {
"type": "stdio",
"command": "uvx",
"args": [
"graphmem-mcp"
],
"env": {
"GRAPHMEM_DB_PATH": "your-value",
"GRAPHMEM_EMBEDDING_MODEL": "your-value",
"GRAPHMEM_TRAVERSAL_NODE_BUDGET": "your-value",
"GRAPHMEM_LOG_LEVEL": "your-value"
}
}
}
}Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.
Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.
Werte, die du selbst einträgst
GRAPHMEM_DB_PATHenvPath to the SQLite database file. Defaults to .graphmem/graph.db relative to the working directory.GRAPHMEM_EMBEDDING_MODELenvsentence-transformers model ID used for semantic search. Defaults to all-MiniLM-L6-v2, downloaded on first use.GRAPHMEM_TRAVERSAL_NODE_BUDGETenvMaximum entities visited by a single graph traversal. Defaults to 5000.GRAPHMEM_LOG_LEVELenvLogging verbosity: DEBUG, INFO, WARNING, ERROR, or CRITICAL. Defaults to WARNING.
Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.
Was er kann
Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.
Basischecksi
Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 9. Nov. 2026
- ✓ Bestanden
Entwickler passt zum Repo
Der Registry-Name wurde mit dem GitHub-Konto Sathvik-1007 bestätigt, dem das Repo gehört
- … Noch nicht geprüft
Wird noch gepflegt
Dieses Repo haben wir noch nicht von GitHub gelesen
- … Noch nicht geprüft
Hat eine Lizenz
Dieses Repo haben wir noch nicht von GitHub gelesen
- – Nicht zutreffend
Endpunkt antwortet
Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet
- – Nicht zutreffend
Anmeldung mit OAuth
Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen
- … Noch nicht geprüft
Keine versteckten Anweisungen in Tool-Beschreibungen
Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen
Im Vergleich mit anderen in Suche & KI-Gedächtnisi
- Mehr Sterne als 0 % der anderen 5745 Server in dieser Kategorie
- Neuer in der Registry veröffentlicht als 24 % der anderen 5745 Server in dieser Kategorie
- Basischecks gleich gut wie oder besser als bei 100 % der anderen 5745 Server in dieser Kategorie
Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.
Häufige Fragen
Ist Graph-Mem sicher?
Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.
Welche Schlüssel oder Codes braucht er?
Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.
Läuft er auf meinem Computer oder in der Cloud?
Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).
Wird er noch gepflegt?
Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (1.0.0) kam vor 4 Monaten in die Registry.
Welche Apps können ihn nutzen?
Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Python (uv) auf deinem Computer.
Was kann ich stattdessen nutzen?
In derselben Kategorie: Context7, Codebase Memory, Exa
Alternativen
Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.
So liest du eine Karte:↓ Downloads pro Wochei★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
README vom Entwickler
README öffnen
Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.
Graph-Mem MCP
Persistent knowledge graph memory for AI agents and IDEs
Graph-Mem MCP is a universal MCP server that gives any agent or IDE persistent, structured memory through a knowledge graph. It combines graph storage, semantic vector search, and multi-hop traversal in a single package — install it, add it to your MCP config, and your agent gains memory that survives across sessions. It works everywhere MCP does.
Built To Be Trusted With Your Data
| 1055 tests | Property-based against a brute-force reference, plus fuzzing on every parser |
| mypy strict | Clean, enforced in CI — not just configured |
| Authenticated UI | Host + Origin allow-lists and a session token; a cross-origin write is a 403, verified against a running server |
| Bounded | Every traversal, search, and list response has a named, configurable cap and reports truncation |
| Honest docs | Performance claims come with measurements and a reproducible benchmark; known gaps are written down |
Works With
graph-mem is a standard MCP server, so it works with any MCP-compatible agent, IDE, or framework. graph-mem install additionally writes the skill file straight into the right place for these 13, each at a path cited against the vendor's own documentation:
Claude Code OpenCode Cursor Windsurf Codex CLI
Gemini CLI GitHub Copilot Amp Kiro Roo Code
Continue Antigravity Droid (Factory) add yours →
Using something else? The MCP config below is all you need; the skill file is a convenience, not a requirement. Adding your agent to the installer takes a documented path and about ten lines — see Adding an Agent.
What is this?
AI agents forget everything between sessions. They re-read files, re-discover architecture, and repeat mistakes. Graph-Mem MCP solves this by providing persistent, per-project knowledge graphs that any MCP-compatible agent can read and write to. The graph builds organically as the agent works — extracting entities, decisions, and relationships from every conversation. It runs as a standard MCP server with 28 tools that plug into any agent, IDE, or framework that supports the Model Context Protocol.
Why a graph, not just a vector store?
Vector search finds _similar_ things. Graphs find _connected_ things. When an agent asks "what depends on the auth service?", a vector store returns text that mentions auth. A knowledge graph traverses the actual dependency edges and returns every upstream consumer — even ones that never mention "auth" in their description. Graph-Mem gives you both: vector similarity for fuzzy discovery, graph traversal for structural queries.
Use Cases
- Agent memory — Give any AI coding agent persistent context across sessions
- IDE integration — Add knowledge graph tools to Cursor, Windsurf, Copilot, or any MCP-enabled IDE
- Agent building — Use as the memory layer when building custom AI agents and workflows
- Research & knowledge management — Build structured knowledge bases with semantic search
- Multi-project context — Maintain separate knowledge graphs per project with multi-graph support
Quick Start
1. Install:
pip install graphmem-mcp
Or run it without installing — uvx fetches and isolates it the way npx does for Node:
uvx --from graphmem-mcp graph-mem server
Listed in the official MCP Registry as io.github.Sathvik-1007/graphmem-mcp, so MCP-aware clients can discover and install it directly.
2. Install the skill for your agent:
graph-mem install claude # Claude Code
graph-mem install opencode # OpenCode graph-mem install codex # Codex CLI graph-mem install gemini # Gemini CLI graph-mem install cursor # Cursor graph-mem install windsurf # Windsurf graph-mem install amp # Amp graph-mem install antigravity # Antigravity graph-mem install copilot # GitHub Copilot graph-mem install kiro # Kiro graph-mem install roocode # Roo Code graph-mem install continue # Continue graph-mem install droid # Droid (Factory)
This writes a skill file that teaches your agent how to use all 28 MCP tools — when to search, when to add entities, naming conventions, and common workflows.
3. Configure MCP by adding this to your agent's MCP config:
{
"mcpServers": { "graph-mem": { "command": "graph-mem", "args": ["server"] } } }
With full customization:
{
"mcpServers": { "graph-mem": { "command": "graph-mem", "args": [ "server", "--project-dir", "/path/to/my/project", "--embedding-model", "sentence-transformers/all-mpnet-base-v2", "--use-onnx", "--cache-size", "20000", "--log-level", "INFO" ] } } }
That's it. Your agent now has persistent memory. Verify by asking it to run read_graph().
One-Prompt Setup
Paste this into your agent's chat to get started immediately:
I want you to give yourself persistent memory using graph-mem. Run the following:
pip install graphmem-mcp graph-mem install claude # or: opencode, codex, gemini, cursor, windsurf, amp,
antigravity, copilot, kiro, roocode, continue, droid
This installs a skill file that teaches you how to use all 28 MCP tools. The server should already be configured in your MCP config. If not, add it:
{ "mcpServers": { "graph-mem": { "command": "graph-mem", "args": ["server", "--project-dir", "/path/to/your/project"] } } }
Now start using the knowledge graph:
- read_graph() to see current state
- search_nodes("relevant topic") to find existing knowledge
- add_entities, add_relationships, add_observations as you learn things
- update_observation / update_relationship to fix mistakes in-place
- open_dashboard() to explore the graph visually in your browser
- At session end, capture anything important you discovered
Your goal: build a rich knowledge graph of this project so future sessions start with full context instead of from zero. Search before adding to avoid duplicates. Be specific with entity names and types.
Installation
Option 1: pip (Recommended)
pip install graphmem-mcp
graph-mem server
Option 2: uvx (zero pre-install)
uvx --from graphmem-mcp graph-mem server
uvx downloads the package into an isolated environment and runs it in one command. Nothing to pre-install beyond uv.
Option 3: From source
git clone https://github.com/Sathvik-1007/GraphMem-MCP
cd graph-mem pip install -e ".[full,dev]" graph-mem server
Optional extras
pip install "graphmem-mcp[embeddings]" # sentence-transformers for local embeddings
pip install "graphmem-mcp[onnx]" # ONNX runtime for embedding inference pip install "graphmem-mcp[ui]" # aiohttp for interactive graph visualisation pip install "graphmem-mcp[full]" # all of the above
Tools
Graph-Mem exposes 28 MCP tools — ten for writing, nine for reading, four for maintenance, four for multi-graph management, and one utility. Full CRUD on every primitive: entities, relationships, and observations can all be created, read, updated, and deleted.
Write Tools (10)
| Tool | Description |
|---|---|
add_entities | Batch-create entities with optional observations; auto-merges on name conflict; returns quality screening hints |
add_relationships | Create typed, directed edges between entities; merges duplicates by max weight |
add_observations | Attach factual statements to entities with optional source provenance |
update_entity | Modify entity name, description, properties, or type in-place (rename with collision check) |
update_relationship | Change weight, type, or properties of an existing edge without delete+re-create |
update_observation | Edit observation text content in-place with automatic embedding recompute |
delete_entities | Remove entities with cascade to relationships, observations, and embeddings |
delete_relationships | Remove specific edges between entities, optionally filtered by type |
delete_observations | Remove specific observations by ID with ownership validation |
merge_entities | Combine duplicate entities: moves observations and relationships, deduplicates edges |
Read Tools (9)
| Tool | Description |
|---|---|
search_nodes | Hybrid semantic + full-text search with RRF fusion ranking |
search_observations | Semantic search directly over observation text content |
find_connections | Multi-hop BFS graph traversal with direction and type filters |
get_entity | Full entity details with all observations and relationships |
list_entities | Browse/paginate all entities with optional type filter |
list_relationships | Browse/paginate relationships with entity, type, or combined filters |
read_graph | Graph statistics: counts, type distributions, most-connected entities |
get_subgraph | Extract neighborhood subgraph around seed entities |
find_paths | Find shortest paths between two entities via BFS |
Maintenance Tools (4)
| Tool | Description |
|---|---|
graph_health | Health stats: counts, hotspots, missing descriptions, suggested actions |
compact_observations | Atomic observation compaction — delete old and add merged summaries in one step |
suggest_connections | Find semantically similar entities for a node to connect to |
audit_graph | Full quality screening — disconnected nodes, missing data, weak links. Returns structured findings plus a rendered report field |
Visualization (1)
| Tool | Description |
|---|---|
open_dashboard | Launch interactive graph visualisation UI and return its URL |
Multi-Graph Tools (4)
| Tool | Description |
|---|---|
list_graphs | List all named graphs in the .graphmem/ directory with entity/relationship/observation counts |
create_graph | Create a new named graph (.graphmem/ .db) |
switch_graph | Switch the active graph — hot-swaps storage, search, and graph engines |
delete_graph | Delete a named graph (cannot delete the currently active graph) |
Multi-graph storage: Each named graph is a separate SQLite database in
.graphmem/. The default graph isgraph.db. Use--graphon CLI commands to target a specific graph.
Architecture
graph TD
Agent[Any MCP-Compatible Agent or IDE] --> Transport
subgraph Transport STDIO[stdio] SSE[SSE] HTTP[streamable-http] end
Transport --> Tools
subgraph Tools[Graph-Mem MCP Server — 28 MCP Tools] Write[Write · 10 tools] Read[Read · 9 tools] Maint[Maintenance · 4 tools] Graph[Multi-Graph · 4 to
Nur der Anfang wird gezeigt; den Rest findest du im Repo