原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Graph-Mem

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

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: GRAPHMEM_DB_PATH, GRAPHMEM_EMBEDDING_MODEL, GRAPHMEM_TRAVERSAL_NODE_BUDGET, GRAPHMEM_LOG_LEVEL

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 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 中打开

或者自己复制设置

粘贴到项目中的 .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"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .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 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 为准。

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

Graph-Mem 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

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

替代选择

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

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

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT今天更新
安装

Codebase Memory

作者:DeusData

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

在你的电脑上运行★ 48,148MIT20天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT上个月更新
安装

作者的 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

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

问 PopNx