Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Persistent knowledge-graph memory for AI agents, with local semantic search. No API keys.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
GRAPHMEM_DB_PATH, GRAPHMEM_EMBEDDING_MODEL, GRAPHMEM_TRAVERSAL_NODE_BUDGET, GRAPHMEM_LOG_LEVEL必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"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"
}
}
}
}ターミナルでこれを実行します
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-mcp動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"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"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"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"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
GRAPHMEM_DB_PATH envGRAPHMEM_EMBEDDING_MODEL envGRAPHMEM_TRAVERSAL_NODE_BUDGET envGRAPHMEM_LOG_LEVEL envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント Sathvik-1007 で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.0.0)がレジストリに届いたのは4 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
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.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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.
| 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 |
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.
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.
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.
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().
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,
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:
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.
pip install graphmem-mcp
graph-mem server
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.
git clone https://github.com/Sathvik-1007/GraphMem-MCP
cd graph-mem pip install -e ".[full,dev]" graph-mem server
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
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.
| 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 |
| 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 |
| 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 |
| Tool | Description |
|---|---|
open_dashboard | Launch interactive graph visualisation UI and return its URL |
| 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.
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
冒頭だけを表示しています。続きはリポジトリで読めます