Memograph
What it does
Graph-based memory system for LLMs with knowledge graphs and semantic search.
- Connects Runs on your computer
- Account or key Needs ANTHROPIC_API_KEY, OPENAI_API_KEY · 1 setting to fill in (MEMOGRAPH_VAULT)
- Category Search & AI memory
Install
Pick the AI app you use, then copy the settings.
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a Memograph key (create it on the maker’s site) · 1 setting(s) to fill in (MEMOGRAPH_VAULT) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Let AI install it
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Memograph for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "memograph": { "command": "uvx", "args": [ "memograph", "memograph-mcp" ], "env": { "MEMOGRAPH_VAULT": "your-value", "ANTHROPIC_API_KEY": "your-value", "OPENAI_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For ANTHROPIC_API_KEY, OPENAI_API_KEY, MEMOGRAPH_VAULT, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Memograph tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install uv (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
uv --version- A version number such as uv … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Sign up and create a Memograph key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
MEMOGRAPH_VAULTPath to your MemoGraph vault directory (created if missing).
Descriptions are as written by the maker.
Open the Claude desktop app’s settings file
SettingsDeveloperEdit Config
Paste these settings and save the file
{ "mcpServers": { "memograph": { "command": "uvx", "args": [ "memograph", "memograph-mcp" ], "env": { "MEMOGRAPH_VAULT": "your-value", "ANTHROPIC_API_KEY": "your-value", "OPENAI_API_KEY": "your-value" } } } }Paste the key only into the app’s field, never into a chat or to anyone
Quit Claude and open it again
Try it
Use Memograph and tell me what you can do for me, then show me one thing✓ If Claude says it is using Memograph or shows a Memograph tool in the answer, you are connected
4 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
MEMOGRAPH_READONLYSet to 'true' to block destructive MCP tools (delete_memory, update_memory, bulk_create, batch_delete, batch_update). Recommended for shared or untrusted clients. · default falseMEMOGRAPH_PROVIDEROptional LLM provider for query_with_context tool. Only needed if you want AI-generated answers.MEMOGRAPH_MODELOptional LLM model name (e.g. 'claude-sonnet-4-6'). Used together with MEMOGRAPH_PROVIDER.OLLAMA_HOSTBase URL for a local Ollama server (default http://localhost:11434). Only needed when MEMOGRAPH_PROVIDER=ollama or the [ollama] extra is installed. · default http://localhost:11434
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Memograph yet
Memograph runs on your computer, but ChatGPT can only connect servers that run on the web
What you can do instead
A · Use an app that can connect Memograph
- You need a Memograph key (create it on the maker’s site) · 1 setting(s) to fill in (MEMOGRAPH_VAULT) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
- You need a Memograph key (create it on the maker’s site) · 1 setting(s) to fill in (MEMOGRAPH_VAULT) · Install Python (uv) on your computer first (one time)
- You need a Memograph key (create it on the maker’s site) · 1 setting(s) to fill in (MEMOGRAPH_VAULT) · Install Python (uv) on your computer first (one time)
- You need a Memograph key (create it on the maker’s site) · 1 setting(s) to fill in (MEMOGRAPH_VAULT) · Install Python (uv) on your computer first (one time)
Works with Claude Code, with some setup first
You need a Memograph key (create it on the maker’s site) · 1 setting(s) to fill in (MEMOGRAPH_VAULT) · Install Python (uv) on your computer first (one time)
Let AI install it
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Memograph for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user memograph --env MEMOGRAPH_VAULT=your-value --env ANTHROPIC_API_KEY=your-value --env OPENAI_API_KEY=your-value -- uvx memograph memograph-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For ANTHROPIC_API_KEY, OPENAI_API_KEY, MEMOGRAPH_VAULT, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Memograph tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install uv (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
uv --version- A version number such as uv … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Sign up and create a Memograph key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
MEMOGRAPH_VAULTPath to your MemoGraph vault directory (created if missing).
Descriptions are as written by the maker.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: open PowerShell
Paste this command and press Enter
claude mcp add --scope user memograph --env MEMOGRAPH_VAULT=your-value --env ANTHROPIC_API_KEY=your-value --env OPENAI_API_KEY=your-value -- uvx memograph memograph-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
Type /mcp in Claude Code
You should see Memograph listed as connected
Try it
Use Memograph and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Memograph or shows a Memograph tool in the answer, you are connected
4 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
MEMOGRAPH_READONLYSet to 'true' to block destructive MCP tools (delete_memory, update_memory, bulk_create, batch_delete, batch_update). Recommended for shared or untrusted clients. · default falseMEMOGRAPH_PROVIDEROptional LLM provider for query_with_context tool. Only needed if you want AI-generated answers.MEMOGRAPH_MODELOptional LLM model name (e.g. 'claude-sonnet-4-6'). Used together with MEMOGRAPH_PROVIDER.OLLAMA_HOSTBase URL for a local Ollama server (default http://localhost:11434). Only needed when MEMOGRAPH_PROVIDER=ollama or the [ollama] extra is installed. · default http://localhost:11434
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Memograph key (create it on the maker’s site) · 1 setting(s) to fill in (MEMOGRAPH_VAULT) · Install Python (uv) on your computer first (one time)
Let AI install it
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Memograph for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "memograph": { "command": "uvx", "args": [ "memograph", "memograph-mcp" ], "env": { "MEMOGRAPH_VAULT": "your-value", "ANTHROPIC_API_KEY": "your-value", "OPENAI_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For ANTHROPIC_API_KEY, OPENAI_API_KEY, MEMOGRAPH_VAULT, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Memograph tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install uv (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
uv --version- A version number such as uv … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Sign up and create a Memograph key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
MEMOGRAPH_VAULTPath to your MemoGraph vault directory (created if missing).
Descriptions are as written by the maker.
Fill in your key
In the Memograph settings, ANTHROPIC_API_KEY, OPENAI_API_KEY, MEMOGRAPH_VAULT is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Open the AI chat in Cursor in Agent mode
Try it
Use Memograph and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Memograph or shows a Memograph tool in the answer, you are connected
4 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
MEMOGRAPH_READONLYSet to 'true' to block destructive MCP tools (delete_memory, update_memory, bulk_create, batch_delete, batch_update). Recommended for shared or untrusted clients. · default falseMEMOGRAPH_PROVIDEROptional LLM provider for query_with_context tool. Only needed if you want AI-generated answers.MEMOGRAPH_MODELOptional LLM model name (e.g. 'claude-sonnet-4-6'). Used together with MEMOGRAPH_PROVIDER.OLLAMA_HOSTBase URL for a local Ollama server (default http://localhost:11434). Only needed when MEMOGRAPH_PROVIDER=ollama or the [ollama] extra is installed. · default http://localhost:11434
Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Memograph key (create it on the maker’s site) · 1 setting(s) to fill in (MEMOGRAPH_VAULT) · Install Python (uv) on your computer first (one time)
Let AI install it
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Memograph for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "memograph": { "type": "stdio", "command": "uvx", "args": [ "memograph", "memograph-mcp" ], "env": { "MEMOGRAPH_VAULT": "your-value", "ANTHROPIC_API_KEY": "your-value", "OPENAI_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For ANTHROPIC_API_KEY, OPENAI_API_KEY, MEMOGRAPH_VAULT, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Memograph tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install uv (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
uv --version- A version number such as uv … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Sign up and create a Memograph key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
MEMOGRAPH_VAULTPath to your MemoGraph vault directory (created if missing).
Descriptions are as written by the maker.
Fill in your key
In the Memograph settings, ANTHROPIC_API_KEY, OPENAI_API_KEY, MEMOGRAPH_VAULT is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Open the AI chat in VS Code in Agent mode
Try it
Use Memograph and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Memograph or shows a Memograph tool in the answer, you are connected
4 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
MEMOGRAPH_READONLYSet to 'true' to block destructive MCP tools (delete_memory, update_memory, bulk_create, batch_delete, batch_update). Recommended for shared or untrusted clients. · default falseMEMOGRAPH_PROVIDEROptional LLM provider for query_with_context tool. Only needed if you want AI-generated answers.MEMOGRAPH_MODELOptional LLM model name (e.g. 'claude-sonnet-4-6'). Used together with MEMOGRAPH_PROVIDER.OLLAMA_HOSTBase URL for a local Ollama server (default http://localhost:11434). Only needed when MEMOGRAPH_PROVIDER=ollama or the [ollama] extra is installed. · default http://localhost:11434
Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
For developers: Terminal commands and JSON settings
Installed on your computer
Claude Code
claude mcp add --scope user memograph --env MEMOGRAPH_VAULT=your-value --env ANTHROPIC_API_KEY=your-value --env OPENAI_API_KEY=your-value -- uvx memograph memograph-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"memograph": {
"command": "uvx",
"args": [
"memograph",
"memograph-mcp"
],
"env": {
"MEMOGRAPH_VAULT": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"memograph": {
"command": "uvx",
"args": [
"memograph",
"memograph-mcp"
],
"env": {
"MEMOGRAPH_VAULT": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"memograph": {
"type": "stdio",
"command": "uvx",
"args": [
"memograph",
"memograph-mcp"
],
"env": {
"MEMOGRAPH_VAULT": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value"
}
}
}
}Values you fill in
MEMOGRAPH_VAULTrequired envPath to your MemoGraph vault directory (created if missing).MEMOGRAPH_READONLYenvSet to 'true' to block destructive MCP tools (delete_memory, update_memory, bulk_create, batch_delete, batch_update). Recommended for shared or untrusted clients.MEMOGRAPH_PROVIDERenvOptional LLM provider for query_with_context tool. Only needed if you want AI-generated answers.MEMOGRAPH_MODELenvOptional LLM model name (e.g. 'claude-sonnet-4-6'). Used together with MEMOGRAPH_PROVIDER.ANTHROPIC_API_KEYsecret required envAPI key for Anthropic Claude. Required when MEMOGRAPH_PROVIDER=claude or when using the [anthropic] extra.OPENAI_API_KEYsecret required envAPI key for OpenAI. Required when using the [openai] extra (embeddings or LLM).OLLAMA_HOSTenvBase URL for a local Ollama server (default http://localhost:11434). Only needed when MEMOGRAPH_PROVIDER=ollama or the [ollama] extra is installed.
Descriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
At a glance
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Related guides
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 15, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account Indhar01, which owns the repo
- ✓ Pass
Still maintained
Code last changed 3 months ago
- ✓ Pass
Has a licence
Uses MIT
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Published vulnerabilities (OSV.dev)
Not checked yet
Makers: ask for a re-check or report wrong info
Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
User reviews
No reviews yet
Compared with others in Search & AI memoryi
- More stars than 88% of the other 6146 servers in this category
- Published to the registry more recently than 17% of the other 6146 servers in this category
- Basic checks equal to or better than 100% of the other 6146 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is Memograph safe?
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
You need to fill in: ANTHROPIC_API_KEY, OPENAI_API_KEY
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed 3 months ago, and the latest version (0.4.0) reached the registry 5 months ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
What can I use instead?
In the same category: OpenSEO, Exa, Mockserver, Microsoft Learn MCP, Docs
Similar alternatives
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Mockserver
Mock, record/replay, verify and chaos-test any HTTP, REST, gRPC or LLM dependency over MCP.
Microsoft Learn MCP
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
Docs
Search and read Empryo's documentation. Read-only, no auth, no local access.
- OpenSEO — Runs in the cloud, nothing to install · No key needed
- Exa — Runs in the cloud, nothing to install · No key needed · In Claude’s directory
- Mockserver — Installs on your computer · No key needed
- Microsoft Learn MCP — Runs in the cloud, nothing to install · No key needed · In Claude’s directory
- Docs — Runs in the cloud, nothing to install · No key needed
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
MemoGraph 🧠
MemoGraph turns a folder of markdown notes into a queryable, AI-ready knowledge graph. It solves the LLM memory problem — your AI assistants forget last Tuesday's decision, can't find a related note across two projects, and re-derive the same insight again and again — by giving them a persistent, navigable, attribution-friendly memory layer that lives in plain markdown files you control.
You write notes the way you already do. MemoGraph indexes them, builds a graph from [[wikilinks]], ranks them by salience, and serves them back to your LLM (or your team) on demand.
⚡ Try it in 60 seconds
pip install memograph
memograph quickstart
That's it. The quickstart command drops a small, interconnected sample vault on your disk (15 notes about Python development, with real wikilinks between them), ingests it, and runs three live demo queries so you can see the graph + hybrid retrieval working before you decide whether to commit. Try this query in particular:
memograph --vault ~/memograph-quickstart search "FastAPI dependency injection"
The vault contains a note titled FastAPI dependencies (about Depends(...)) — the words "dependency" and "injection" never appear in any note's title. MemoGraph still finds it, because hybrid retrieval understands "dependency injection" semantically and the wikilink graph stitches related notes together. That's the product, demonstrated in one query.
Re-run memograph quickstart --force any time to reset to a fresh demo. When you're ready, point MemoGraph at your real notes: memograph --vault ~/your-notes ingest.
What you get
As a solo user / knowledge worker
- A vault of human-readable markdown files — nothing proprietary, no lock-in. Your notes outlive any tool.
- Hybrid retrieval that combines keyword search, semantic similarity, and graph traversal so you find the right note even when you don't remember the exact words.
- AI-assisted tagging, link suggestions, and gap detection that grow your knowledge base instead of letting it rot.
- A CLI and a web UI for browsing, editing, and visualizing the graph.
As an AI agent / IDE user
- A first-class Model Context Protocol (MCP) server with 30+ tools, working out of the box with Claude Desktop, Claude Code, Cursor, Cline, Windsurf, Continue, Zed, VS Code, Goose, Gemini CLI, OpenAI Codex CLI, and others.
- Autonomous "auto-save" hooks that capture decisions and context from your AI conversations into the vault automatically.
- Per-conversation memory recall — your assistant can pull "what did we decide last week about X" without you copy-pasting context every time.
As an enterprise / SaaS operator
- Multi-tenant deployment with filesystem-level isolation per tenant, end-to-end isolation tests, and a warm-LRU kernel cache.
- OIDC + API-key authentication with JWKS support (Auth0, Clerk, WorkOS, Keycloak, Azure AD, Okta), restrictive CORS, request-size caps, and rate limiting.
- GDPR-compliant scheduled deletion: tombstone-with-grace-period flow, automatic final backups, daily reaper, and an audit log of every deletion.
- Observability built in: OpenTelemetry traces + Prometheus
/metrics, structured JSON logging with request IDs, and a separate/healthz//readyzfor orchestration. - Operations runbooks shipped with the code: install, SSO setup, RBAC, backup-restore, and GDPR procedures.
How consumers benefit
| You want to… | MemoGraph gives you… |
|---|---|
| Stop your AI assistant from forgetting context across conversations | Persistent vault + MCP server, plus optional auto-save hooks |
| Find a note across thousands when you only half-remember it | Hybrid retrieval (keyword + semantic + graph) with salience ranking |
| Connect related ideas without manual cross-linking | AI link suggestions, backlink graph, BFS traversal |
| Discover what's missing in your knowledge base | Gap detector + topic clustering + learning-path suggestions |
| Self-host a memory backend for a team or product | Web UI, FastAPI HTTP API, OpenAPI v1 contract, Docker compose |
| Ship MemoGraph to multiple paying customers | Multi-tenant kernel registry, OIDC, quotas (roadmap), GDPR runbook |
| Survive an SOC 2 audit conversation | Audit log with user + tenant binding, observability, security workflow, compliance roadmap doc |
✨ Capabilities at a glance
Core memory engine
- Graph-based memory — bidirectional
[[wikilinks]]build a navigable knowledge graph automatically. - Hybrid retrieval — keyword + semantic embeddings + graph traversal, combined and re-ranked.
- Memory types inspired by cognitive science: episodic, semantic, procedural, fact.
- Salience scoring (0–1) that decays over time and boosts on access.
- Smart indexing — mtime-cached, only re-parses changed files.
- Context compression — token-budget-aware windowing for LLM prompts.
- Markdown-native vault — every memory is a
.mdfile with YAML frontmatter; no proprietary format.
AI features
- Smart Auto-Organization Engine — extract topics, people, action items, decisions, questions, sentiment, risks, ideas, and timeline events from memories.
- AutoTagger — suggest tags via semantic analysis, structure detection, and pattern learning.
- LinkSuggester — propose
[[wikilinks]]to related notes; bidirectional opportunities included. - GapDetector — surface missing topics, weak coverage, isolated notes, and unmade links.
- Knowledge analysis — vault stats, topic clustering, learning paths, connection analysis.
Interfaces
- Python API —
MemoryKernelwith sync, async, and batch variants. - CLI — 24+ commands for ingest, search, batch ops, import, export, backup, and AI features.
- MCP server — 30+ tools, stdio transport, drop-in for any MCP-compatible client.
- Web UI — React + D3 graph visualization, search, and editing (FastAPI backend + Vite frontend).
- HTTP API — versioned
/api/v1/, OpenAPI snapshot in CI, ready for service-to-service integration.
Enterprise & SaaS readiness
- Multi-tenancy with filesystem-isolated tenants, an LRU registry of warm kernels, per-tenant audit logs, and end-to-end isolation tests gating release.
- Authentication via OIDC (JWKS) or hashed API keys; per-route auth scope; identity bound into the audit log.
- Web hardening — restrictive CORS, slowapi rate limiting, request-size caps, structured JSON logging with request IDs, info-leak-free 500 handler.
- Storage hardening — path-traversal-safe vault writes, vault size soft/hard caps, schema-versioned cache files.
- Scheduled deletion for GDPR Art. 17: tombstone with configurable grace period, automatic final backup, daily reaper script, cancel-before-grace endpoint.
- Observability — OpenTelemetry FastAPI/asyncio auto-instrumentation, Prometheus
/metrics, OTLP export. - Reliability — concurrency audit, stress tests for concurrent writes, versioned backup format with integrity checks.
- Distribution — pinned-and-locked dependencies, Docker compose for self-host, security workflow (
bandit+pip-audit).
See docs/INSTALL_ENTERPRISE.md, docs/SSO_SETUP.md, docs/GDPR_RUNBOOK.md, docs/BACKUP_RESTORE_RUNBOOK.md, docs/OBSERVABILITY_GUIDE.md, and docs/RBAC_GUIDE.md for the operator-facing details.
🚀 Quick Start
Hosting it yourself? docs/HOSTING_GUIDE.md
covers four genuinely-free paths — Oracle Free Tier, Cloudflare
Tunnel + your hardware (recommended for most), GCP always-free
stitch, and GitHub-repo-as-vault. Workspace identity via OIDC and
Drive-as-portability-backup are documented in
Installation
pip install memograph
Install with optional dependencies:
# For OpenAI support
pip install memograph[openai]
For Anthropic Claude support
pip install memograph[anthropic]
For Ollama support
pip install memograph[ollama]
For embedding support
pip install memograph[embeddings]
Install everything
pip install memograph[all]
Python Usage
from memograph import MemoryKernel, MemoryType
Initialize the kernel attached to your vault path
kernel = MemoryKernel("~/my-vault")
Ingest all notes in the vault
stats = kernel.ingest() print(f"Indexed {stats['indexed']} memories.")
Programmatically add a new memory
kernel.remember( title="Meeting Note", content="Decided to use BFS graph traversal for retrieval.", memory_type=MemoryType.EPISODIC, tags=["design", "retrieval"] )
Retrieve context for an LLM query
context = kernel.context_window( query="how does retrieval work?", tags=["retrieval"], depth=2, top_k=8 )
print(context)
🔌 MCP Server (Model Context Protocol)
MemoGraph includes a full-featured MCP server for seamless integration with AI assistants like Cline and Claude Desktop.
📖 New to MemoGraph MCP? See the [MCP User Guide](docs/MCP_USER_GUIDE.md) for practical usage instructions and examples!
🚨 Having connection issues? See [Setup & Troubleshooting Guide](docs/MCP_SETUP_TROUBLESHOOTING.md) - Common fixes for "cannot connect" errors!
19 Available Tools
| Category | Tools | Description |
|---|---|---|
| Search | search_vault, query_with_context | Semantic search and context retrieval |
| Create | create_memory, import_document | Add memories and import documents |
| Read | list_memories, get_memory, get_vault_info | Browse and retrieve memories |
| Update | update_memory | Modify existing memories |
| Delete | delete_memory | Remove memories by ID |
| Analytics | get_vault_stats | Vault statistics and insights |
| Discovery | list_available_tools | List all available tools |
| Autonomous | auto_hook_query, auto_hook_response, configure_autonomous_mode, get_autonomous_config | Autonomous memory management |
| Graph | relate_memories, search_by_graph, find_path | Graph-native linking and traversal |
| Bulk | bulk_create | Create multiple memories in one call |
Supported Clients
MemoGraph's MCP server is a stdio server — it runs alongside any MCP-compatible agentic CLI or editor. The full setup cookbook (config-file paths, format quirks, verification steps) lives in [docs/MCP_CLIENTS.md](docs/MCP_CLIENTS.md):
| Client | Format | Quick reference |
|---|
| Claude Code (CLI) | mcpServers | [claude_code_config.json](memograph/mcp/