Context7
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Description from the maker (original English)
Event-sourced knowledge graph memory for AI coding agents with semantic search
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
MEMORY_PATHYou need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"mnemograph": {
"command": "uvx",
"args": [
"mnemograph"
],
"env": {
"MEMORY_PATH": "your-value"
}
}
}
}Run this in your terminal
claude mcp add mnemograph --env MEMORY_PATH=your-value -- uvx mnemographFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"mnemograph": {
"command": "uvx",
"args": [
"mnemograph"
],
"env": {
"MEMORY_PATH": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"mnemograph": {
"type": "stdio",
"command": "uvx",
"args": [
"mnemograph"
],
"env": {
"MEMORY_PATH": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
MEMORY_PATH envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
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 7, 2026
The registry name was verified with the GitHub account tm42, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 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.
The registry does not list a required key, though some servers ask you to sign in on first use.
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).
The GitHub repo last changed –, and the latest version (0.5.1) reached the registry 9 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: Context7, Codebase Memory, Exa
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
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.
A persistent, event-sourced knowledge graph for AI coding agents. Unlike simple key-value memory, Mnemograph captures entities, relations, and observations — enabling semantic search, tiered context retrieval, and git-based version control of your AI's memory.
Works with: Claude Code, opencode, codex CLI, Zed, Continue.dev, and any MCP-compatible agent.
AI coding sessions are ephemeral. Mnemograph gives your AI partner persistent memory that:
Before using mnemograph, decide where to store memory:
| Scope | Path | Use When |
|---|---|---|
| Project-local | ./.claude/memory | Knowledge specific to this repo (architecture, decisions, patterns) |
| Global | ~/.claude/memory | Cross-project knowledge (personal learnings, universal patterns, preferences) |
| Custom | Any path via MEMORY_PATH | Shared team memory, org-wide knowledge bases |
Important: Agents should ask the user which scope to use when first setting up mnemograph for a project. This affects where knowledge is stored and whether it's shared across projects.
# Project-local (default)
MEMORY_PATH=".claude/memory"
MEMORY_PATH="$HOME/.claude/memory"
mnemograph --global status mnemograph --global graph
Give Claude Code this repo URL and ask it to set up mnemograph:
https://github.com/tm42/mnemograph
Or point Claude to the setup instructions directly:
Read https://raw.githubusercontent.com/tm42/mnemograph/main/SETUP_CLAUDE_CODE.md and follow them
# Install from PyPI
pip install mnemograph
claude mcp add --scope user mnemograph \ -e MEMORY_PATH="$HOME/.claude/memory" \ -- uvx mnemograph
mkdir -p ~/.claude/memory
Each MCP client has a different configuration format. See UNIVERSAL_MCP_COMPATIBILITY.md for copy-paste configs for:
~/.config/opencode/opencode.json~/.codex/config.yaml~/.config/zed/settings.json~/.continue/config.jsonThe key environment variable is MEMORY_PATH — set it to where you want the knowledge graph stored.
git clone https://github.com/tm42/mnemograph.git
cd mnemograph uv sync
claude mcp add --scope user mnemograph \ -e MEMORY_PATH="$HOME/.claude/memory" \ -- uv run --directory /path/to/mnemograph mnemograph
Mnemograph exposes these tools via MCP:
Core Operations:
| Tool | Description |
|---|---|
remember | Primary storage: Store knowledge atomically (entity + observations + relations in one call) |
recall | Primary retrieval: Get relevant context with auto token management. Use focus=['Entity'] for full details. Default output is human-readable prose. |
create_entities | Create entities (auto-blocks duplicates >80% match) |
create_relations | Link entities with typed edges (implements, uses, decided_for, etc.) |
add_observations | Add facts/notes to existing entities |
read_graph | Get the full knowledge graph (warning: may be large) |
delete_entities | Remove entities (cascades to relations) |
delete_relations | Remove specific relations |
delete_observations | Remove specific observations |
Session Lifecycle:
| Tool | Description |
|---|---|
session_start | Signal session start, get initial context. Returns quick_start guide. |
session_end | Signal session end, optionally save summary |
get_primer | Get oriented with the knowledge graph (call at session start) |
Branching (Parallel Workstreams):
| Tool | Description |
|---|---|
create_branch | Create a named branch for isolated work (e.g., "feature/auth-refactor") |
switch_branch | Switch to a different branch |
list_branches | List all branches |
merge_branch | Merge a branch into main |
delete_branch | Delete a branch |
get_current_branch | Get the current branch name |
Graph Maintenance:
| Tool | Description |
|---|---|
find_similar | Find entities with similar names (duplicate detection) |
find_orphans | Find entities with no relations |
merge_entities | Merge duplicate entities (consolidates observations, redirects relations) |
get_graph_health | Assess graph quality: orphans, duplicates, overloaded entities |
suggest_relations | Suggest potential relations based on semantic similarity |
create_entities_force | Create entities bypassing duplicate check |
clear_graph | Clear all entities/relations (event-sourced, can rewind) |
Time Travel:
| Tool | Description |
|---|---|
get_state_at | View graph state at any point in history |
diff_timerange | Show what changed between two points in time |
get_entity_history | Full changelog for a specific entity |
rewind | Rewind graph to a previous state using git |
restore_state_at | Restore graph to state at timestamp (audit-preserving) |
reload | Reload graph state from disk (after git operations) |
Edge Weights:
| Tool | Description |
|---|---|
get_relation_weight | Get weight breakdown (recency, co-access, explicit) |
set_relation_importance | Set explicit importance weight (0.0-1.0) |
get_strongest_connections | Find entity's most important connections |
get_weak_relations | Find pruning candidates (low-weight relations) |
The recall tool returns context in prose format by default — human-readable text that agents can consume directly without parsing JSON:
# Default: prose format (human-readable)
recall(depth="medium", query="authentication")
#
#
recall(depth="medium", query="authentication", format="graph")
Depth levels:
shallow — Quick summary: entity counts, recent activity, gotchasmedium — Semantic search + 1-hop neighbors (~2000 tokens)deep — Multi-hop traversal from focus entities (~5000 tokens)Gotcha extraction: Observations prefixed with Gotcha:, Warning:, Note:, or Important: are automatically extracted into a dedicated section.
`mnemograph` — Unified CLI for all memory operations:
# Basic operations
mnemograph status # Show entity/relation counts, recent events mnemograph log # View event history mnemograph log --session X # Filter by session mnemograph sessions # List all sessions mnemograph export # Export graph as JSON
mnemograph vcs init # Initialize memory as git repo mnemograph vcs commit -m "msg" # Commit current state mnemograph vcs log # View commit history mnemograph vcs revert --event ID # Undo specific events (compensating events) mnemograph vcs revert --session X # Undo entire session
mnemograph graph # Open interactive graph viewer mnemograph graph --watch # Live reload mode (refresh button)
mnemograph show --at "2 days ago" # View state at a point in time mnemograph diff "1 week ago" # Show changes since then mnemograph history "EntityName" # Full changelog for an entity mnemograph rewind -n 1 # Git-based rewind by N commits mnemograph restore --to "yesterday" # Event-based restore (audit-preserving)
mnemograph health # Show graph health report (orphans, duplicates, etc.) mnemograph health --fix # Interactive cleanup mode mnemograph similar "React" # Find entities similar to "React" (duplicate check) mnemograph orphans # List entities with no relations mnemograph suggest "FastAPI" # Suggest relations for an entity mnemograph clear # Clear all entities and relations (with confirmation)
mnemograph --global status # Use global memory (~/.claude/memory) mnemograph --memory-path /path graph # Custom memory location
Running from anywhere (without activating the venv):
# Using uv (recommended)
uv run --directory /path/to/mnemograph mnemograph graph
uvx --from mnemograph mnemograph status
Graph Visualization — Interactive D3.js viewer:
--watch mode with Refresh button for real-time updates~/.mnemograph/memory/ # or ~/.claude/memory, ~/.opencode/memory, etc.
├── mnemograph.db # SQLite database (events + vectors) ├── state.json # Cached materialized state (derived) └── .git/ # Version history
Event sourcing means all changes are recorded as immutable events in SQLite. The current state is computed by replaying events. This enables:
Two-layer versioning:
mnemograph vcs revert — fine-grained, undo specific events via compensating eventsmnemograph rewind / mnemograph restore — coarse-grained, git-level or timestamp-based restoreBranches let you work on isolated knowledge without affecting the main graph. Perfect for:
# Create a branch for your feature
create_branch(name="feature/auth-refactor")
remember(name="OAuth2", entity_type="concept", observations=["Implementing OAuth2 flow"])
switch_branch(name="main")
merge_branch(source="feature/auth-refactor", target="main")
recall, search, etc. only see current branch + main| Pattern | Use Case |
|---|---|
feature/xyz | Feature-specific knowledge |
explore/xyz | Exploratory/experimental work |
project/xyz | Project-specific context |
| user/name | Pers
Only the beginning is shown; read the rest in the repo