原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Graph-Mem

作者:Sathvik-1007版本 1.0.0i★ 1i在你的电脑上运行
注册名称io.github.Sathvik-1007/graphmem-mcp

安装方法

What it does

Persistent knowledge-graph memory for AI agents, with local semantic search. No API keys.

  • Connects 在你的电脑上运行
  • Account or key No key needed
  • Category 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Python (uv)

    只需一次,所有需要 Python (uv) 的服务器都能用

    打开 Python (uv) 下载页 ↗

  2. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  3. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "graphmem": {
          "command": "uvx",
          "args": [
            "graphmem-mcp"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

    用 Graph-Mem 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Graph-Mem,或回答中出现 Graph-Mem 的工具名称,就表示连接成功

4 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • GRAPHMEM_DB_PATH Path to the SQLite database file. Defaults to .graphmem/graph.db relative to the working directory.
  • GRAPHMEM_EMBEDDING_MODEL sentence-transformers model ID used for semantic search. Defaults to all-MiniLM-L6-v2, downloaded on first use.
  • GRAPHMEM_TRAVERSAL_NODE_BUDGET Maximum entities visited by a single graph traversal. Defaults to 5000.
  • GRAPHMEM_LOG_LEVEL Logging verbosity: DEBUG, INFO, WARNING, ERROR, or CRITICAL. Defaults to WARNING.

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Graph-Mem

Graph-Mem 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Graph-Mem 的应用

  • 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要先在电脑上安装 Python (uv)(只需一次)

B · 搜索与 AI 记忆 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次)

  1. 安装 Python (uv)

    只需一次,所有需要 Python (uv) 的服务器都能用

    打开 Python (uv) 下载页 ↗

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user graphmem -- uvx graphmem-mcp
  4. 在 Claude Code 中输入 /mcp

    应能看到 Graph-Mem 在列表中并显示已连接

  5. 试一试

    用 Graph-Mem 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Graph-Mem,或回答中出现 Graph-Mem 的工具名称,就表示连接成功

4 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • GRAPHMEM_DB_PATH Path to the SQLite database file. Defaults to .graphmem/graph.db relative to the working directory.
  • GRAPHMEM_EMBEDDING_MODEL sentence-transformers model ID used for semantic search. Defaults to all-MiniLM-L6-v2, downloaded on first use.
  • GRAPHMEM_TRAVERSAL_NODE_BUDGET Maximum entities visited by a single graph traversal. Defaults to 5000.
  • GRAPHMEM_LOG_LEVEL Logging verbosity: DEBUG, INFO, WARNING, ERROR, or CRITICAL. Defaults to WARNING.

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次)

  1. 安装 Python (uv)

    只需一次,所有需要 Python (uv) 的服务器都能用

    打开 Python (uv) 下载页 ↗

  2. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  3. 在 Cursor 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 Graph-Mem 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Graph-Mem,或回答中出现 Graph-Mem 的工具名称,就表示连接成功

4 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • GRAPHMEM_DB_PATH Path to the SQLite database file. Defaults to .graphmem/graph.db relative to the working directory.
  • GRAPHMEM_EMBEDDING_MODEL sentence-transformers model ID used for semantic search. Defaults to all-MiniLM-L6-v2, downloaded on first use.
  • GRAPHMEM_TRAVERSAL_NODE_BUDGET Maximum entities visited by a single graph traversal. Defaults to 5000.
  • GRAPHMEM_LOG_LEVEL Logging verbosity: DEBUG, INFO, WARNING, ERROR, or CRITICAL. Defaults to WARNING.

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次)

  1. 安装 Python (uv)

    只需一次,所有需要 Python (uv) 的服务器都能用

    打开 Python (uv) 下载页 ↗

  2. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  3. 在 VS Code 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 Graph-Mem 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Graph-Mem,或回答中出现 Graph-Mem 的工具名称,就表示连接成功

4 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • GRAPHMEM_DB_PATH Path to the SQLite database file. Defaults to .graphmem/graph.db relative to the working directory.
  • GRAPHMEM_EMBEDDING_MODEL sentence-transformers model ID used for semantic search. Defaults to all-MiniLM-L6-v2, downloaded on first use.
  • GRAPHMEM_TRAVERSAL_NODE_BUDGET Maximum entities visited by a single graph traversal. Defaults to 5000.
  • GRAPHMEM_LOG_LEVEL Logging verbosity: DEBUG, INFO, WARNING, ERROR, or CRITICAL. Defaults to WARNING.

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Graph-Mem 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user graphmem -- uvx graphmem-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "graphmem": {
      "command": "uvx",
      "args": [
        "graphmem-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "graphmem": {
      "command": "uvx",
      "args": [
        "graphmem-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "graphmem": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "graphmem-mcp"
      ]
    }
  }
}

需要你填写的值

  • GRAPHMEM_DB_PATH env
    Path to the SQLite database file. Defaults to .graphmem/graph.db relative to the working directory.
  • GRAPHMEM_EMBEDDING_MODEL env
    sentence-transformers model ID used for semantic search. Defaults to all-MiniLM-L6-v2, downloaded on first use.
  • GRAPHMEM_TRAVERSAL_NODE_BUDGET env
    Maximum entities visited by a single graph traversal. Defaults to 5000.
  • GRAPHMEM_LOG_LEVEL env
    Logging verbosity: DEBUG, INFO, WARNING, ERROR, or CRITICAL. Defaults to WARNING.

说明仍为英文原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
23/周
连接方式
在你的电脑上运行
最新版本i
1.0.0
发布到注册中心i
2026年7月22日
代码最后更新i
2026年7月22日
作者
Sathvik-1007
软件包
pypi: graphmem-mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Sathvik-1007 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于4个月前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 6118 个服务器的 76%
  • 发布到注册中心的时间比此分类中其他 6118 个服务器的 22% 更新
  • 基础检查结果等于或优于此分类中其他 6118 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Graph-Mem 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于4个月前,最新版本(1.0.0)于4个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, OpenSEO

同类别的其他选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

Up-to-date docs for AI agents

作者:upstash广泛使用↓ 125万/周★ 6.5万前天更新

电脑或云端

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

作者:DeusData广泛使用↓ 1.7万/周★ 4.9万28天前更新

在你的电脑上运行

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

作者:every-app广泛使用★ 2.8万今天更新

在云端运行✓ everyapp.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

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 testsProperty-based against a brute-force reference, plus fuzzing on every parser
mypy strictClean, enforced in CI — not just configured
Authenticated UIHost + Origin allow-lists and a session token; a cross-origin write is a 403, verified against a running server
BoundedEvery traversal, search, and list response has a named, configurable cap and reports truncation
Honest docsPerformance 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:

  1. read_graph() to see current state
  2. search_nodes("relevant topic") to find existing knowledge
  3. add_entities, add_relationships, add_observations as you learn things
  4. update_observation / update_relationship to fix mistakes in-place
  5. open_dashboard() to explore the graph visually in your browser
  6. 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)
ToolDescription
add_entitiesBatch-create entities with optional observations; auto-merges on name conflict; returns quality screening hints
add_relationshipsCreate typed, directed edges between entities; merges duplicates by max weight
add_observationsAttach factual statements to entities with optional source provenance
update_entityModify entity name, description, properties, or type in-place (rename with collision check)
update_relationshipChange weight, type, or properties of an existing edge without delete+re-create
update_observationEdit observation text content in-place with automatic embedding recompute
delete_entitiesRemove entities with cascade to relationships, observations, and embeddings
delete_relationshipsRemove specific edges between entities, optionally filtered by type
delete_observationsRemove specific observations by ID with ownership validation
merge_entitiesCombine duplicate entities: moves observations and relationships, deduplicates edges
Read Tools (9)
ToolDescription
search_nodesHybrid semantic + full-text search with RRF fusion ranking
search_observationsSemantic search directly over observation text content
find_connectionsMulti-hop BFS graph traversal with direction and type filters
get_entityFull entity details with all observations and relationships
list_entitiesBrowse/paginate all entities with optional type filter
list_relationshipsBrowse/paginate relationships with entity, type, or combined filters
read_graphGraph statistics: counts, type distributions, most-connected entities
get_subgraphExtract neighborhood subgraph around seed entities
find_pathsFind shortest paths between two entities via BFS
Maintenance Tools (4)
ToolDescription
graph_healthHealth stats: counts, hotspots, missing descriptions, suggested actions
compact_observationsAtomic observation compaction — delete old and add merged summaries in one step
suggest_connectionsFind semantically similar entities for a node to connect to
audit_graphFull quality screening — disconnected nodes, missing data, weak links. Returns structured findings plus a rendered report field
Visualization (1)
ToolDescription
open_dashboardLaunch interactive graph visualisation UI and return its URL
Multi-Graph Tools (4)
ToolDescription
list_graphsList all named graphs in the .graphmem/ directory with entity/relationship/observation counts
create_graphCreate a new named graph (.graphmem/ .db)
switch_graphSwitch the active graph — hot-swaps storage, search, and graph engines
delete_graphDelete 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 is graph.db. Use --graph on 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

只显示了开头部分;其余内容请在仓库中阅读