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

MyGraph

作者:dieron版本 0.3.1i★ 1i在你的电脑上运行代码仓库 ↗
注册名称io.github.dieron/mygraph

安装方法

能做什么

Knowledge graph memory for agents: every fact cites its evidence. Self-hosted, one Rust binary.

作者提供的原文

  • 连接方式 在你的电脑上运行
  • 账号或密钥 无需密钥
  • 分类 搜索与 AI 记忆

可搭配使用

教 AI 做这类工作的 Skill,可与本项一起使用

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

作者:google-research★ 35,6511 个 skill

Skill · 操作手册

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

作者:BigBodyCobain★ 11,6101 个 skill

Skill · 操作手册

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

作者:gosom★ 8,2781 个 skill

Skill · 操作手册

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度4/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分16/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

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

用一句话让 AI 帮你安装

请帮我安装 MyGraph。按照 https://mcp.popnx.com/i/dieron-mygraph.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

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

第一步:你用哪个 AI?

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

可连接 Claude,但需要先准备

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

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server MyGraph,按顺序:1) 用 docker --version 检查是否有 Docker。没有的话,请让我从 https://www.docker.com/products/docker-desktop/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "mygraph": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/dieron/mygraph:0.3.1", "mcp", "--data-dir", "/data" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 MyGraph 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Docker(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    docker --version
    • 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令

    打开 Docker 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: docker --version

    安装一次,所有需要 Docker 的工具都能用

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

    SettingsDeveloperEdit Config

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

    {
      "mcpServers": {
        "mygraph": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/dieron/mygraph:0.3.1",
            "mcp",
            "--data-dir",
            "/data"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

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

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

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

ChatGPT 暂时无法连接 MyGraph

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

你可以改用这些方式

A · 使用能连接 MyGraph 的应用

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

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

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

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

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

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server MyGraph,按顺序:1) 用 docker --version 检查是否有 Docker。没有的话,请让我从 https://www.docker.com/products/docker-desktop/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user mygraph -- docker run -i --rm ghcr.io/dieron/mygraph:0.3.1 mcp --data-dir /data 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 MyGraph 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Docker(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    docker --version
    • 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令

    打开 Docker 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: docker --version

    安装一次,所有需要 Docker 的工具都能用

  2. 打开终端

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

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user mygraph -- docker run -i --rm ghcr.io/dieron/mygraph:0.3.1 mcp --data-dir /data
  4. 在 Claude Code 中输入 /mcp

    应能看到 MyGraph 在列表中并显示已连接

  5. 试一试

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

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

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

可连接 Cursor,但需要先准备

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

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server MyGraph,按顺序:1) 用 docker --version 检查是否有 Docker。没有的话,请让我从 https://www.docker.com/products/docker-desktop/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "mygraph": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/dieron/mygraph:0.3.1", "mcp", "--data-dir", "/data" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 MyGraph 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Docker(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    docker --version
    • 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令

    打开 Docker 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: docker --version

    安装一次,所有需要 Docker 的工具都能用

  2. 点击这个按钮打开 Cursor

    在 Cursor 中打开

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

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

  4. 试一试

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

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

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

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

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

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server MyGraph,按顺序:1) 用 docker --version 检查是否有 Docker。没有的话,请让我从 https://www.docker.com/products/docker-desktop/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "mygraph": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/dieron/mygraph:0.3.1", "mcp", "--data-dir", "/data" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 MyGraph 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Docker(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    docker --version
    • 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令

    打开 Docker 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: docker --version

    安装一次,所有需要 Docker 的工具都能用

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

    在 VS Code 中打开

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

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

  4. 试一试

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

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

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

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

查看所有支持 MCP 的应用 →

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

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

安装在电脑上

Claude Code

claude mcp add --scope user mygraph -- docker run -i --rm ghcr.io/dieron/mygraph:0.3.1 mcp --data-dir /data

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "mygraph": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/dieron/mygraph:0.3.1",
        "mcp",
        "--data-dir",
        "/data"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "mygraph": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/dieron/mygraph:0.3.1",
        "mcp",
        "--data-dir",
        "/data"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "mygraph": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/dieron/mygraph:0.3.1",
        "mcp",
        "--data-dir",
        "/data"
      ]
    }
  }
}

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

一览

每周下载量i
不在 npm/PyPI 上
许可证i
Apache-2.0
连接方式
在你的电脑上运行
最新版本i
0.3.1
发布到注册中心i
2026年11月21日
代码最后更新i
2026年11月21日
作者
dieron
软件包
oci: ghcr.io/dieron/mygraph:0.3.1
注册状态
活跃

哪些应用可以使用它

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

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

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

全部应用及其优缺点 →

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • ✓ 通过

    仍在维护

    代码最后更新于昨天

  • ✓ 通过

    有许可证

    使用 Apache-2.0

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

已公开的漏洞(OSV.dev)

未检查:只能检查标明版本的 npm 和 PyPI 包

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/dieron-mygraph.svg)](https://mcp.popnx.com/en/servers/dieron-mygraph)

讨论

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

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

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

登录后发帖

用户评价

还没有评价

登录后写评价

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

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

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

常见问题

MyGraph 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

GitHub 仓库最后更新于昨天,最新版本(0.3.1)于昨天进入注册中心。

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

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

OpenSEO

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

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

在云端运行✓ everyapp.com

Exa

Official Exa MCP for web search, content fetching, and multi-step research.

作者:exa-labs广泛使用★ 5249前天更新

在云端运行✓ 服务方 · exa.aiPopNx 团队已实际试用

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

作者:MicrosoftDocs广泛使用★ 200112个月前更新

在云端运行✓ 服务方 · microsoft.comPopNx 团队已实际试用

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

作者:proxysoul正在增长★ 16333个月前更新

在云端运行✓ empryo.com
与相似项目对比
本项
MyGraph
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
运行位置需要安装在电脑上在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装
需要密钥否否否否否否
可在 Claude 中按 + 添加否是是是否否
基础检查3/35/52/44/44/44/4
许可证Apache-2.0MITMITCC-BY-4.0NOASSERTIONApache-2.0
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

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

MyGraph

Built by AI, for AI. A knowledge graph that AI agents use as their long-term memory, where every fact points to the source it came from.

MyGraph was designed and written by AI coding agents (Claude, in Claude Code), with a human setting the goals and making the decisions. Its users are agents too: they read and write it through MCP tools shaped for how agents work, not through a query language made for people. Humans install it, connect their agents, and look at what the agents have built (a stats page and a graph viewer).

*A graph of the Apollo missions, built from 17 Wikipedia articles (examples/apollo). Apollo 11 is selected; the panel lists its links and the sentences they were read from.*

Why an agent would want it

  • Every fact cites its evidence. A node, a link or a single property is backed by a source: a URL, a verbatim sentence, a document, a file, or the agent's own observation. By default a write without a citation is refused, so an answer can always be traced back and checked.
  • Tools made for agents. 13 MCP tools and no query language. One write records a whole source (evidence, nodes, links, citations) atomically; resolve checks 100 names at once before writing, so agents don't create duplicates; results are compact text that costs few tokens; every error comes with a hint saying what to do next; writes are idempotent, so retrying is safe.
  • Search by words and by meaning. Full-text search with stemming, plus semantic search with a small multilingual embedding model that runs locally, so a question in Ukrainian finds an English source. No calls to an outside API.
  • Nothing is deleted. Wrong facts are retracted (and can be restored), duplicates are merged, and history shows every change, so an agent's mistakes can be undone.
  • One small server. A single Rust binary keeps the graph and its indexes in memory and stores everything in SQLite. It runs on a laptop or a home server, with several graphs per server.
  • Your graphs stay on your machine. Agents on your computer connect to it directly. Cloud AI (claude.ai on the web and phone, the Claude API, the OpenAI API) connects to your server over HTTPS, with a key that you limit to the graphs it may use (Using your graphs from cloud AI).
  • Shared by people and their agents. Point several people's agents at one server and what one agent records, the others can read at once, with who wrote it and where it came from (Sharing knowledge without git).
Sharing knowledge without git

Agents often keep what they learn in notes inside a repository. Those notes reach other people only after someone commits, pushes and the others pull, and much of what agents learn (how a system behaves, why something was decided, what an investigation found) doesn't belong in a repository at all, or there is none.

With MyGraph, each person's agent connects to the same server with its own key. A fact written by one agent is there for every other agent on its next read: no commit, push, pull or merge conflicts. Each fact keeps its source, and every change records which key made it, so an agent can tell a colleague's finding from its own and check it. history with since_seq shows an agent what the others have added since it last looked, and resolve stops two agents from creating the same thing twice. Mistakes are retracted, not lost, so one person's agent can't silently erase another's work.

Give each person a key with their own actor name, and use Who may use a graph to decide who may read or write each graph. Git stays the place for code; MyGraph holds the knowledge around it.

Status

A working prototype, used daily. Prebuilt binaries for Linux, Windows and macOS are on the releases page; there is also a Docker image, or build it from source. Used daily on Windows and Linux; on macOS only the release smoke test has run.

Known limits:

  • One server per data folder; no replication or clustering.
  • About 450–550 writes per second per graph, and reads wait while a write commits (TODO.md, "Concurrency").
  • Access is by API key, and per graph (Who may use a graph). Over a network, give the server a certificate so it speaks HTTPS (HTTPS), or put it behind a reverse proxy with TLS. Cloud AI (claude.ai, the Claude API, the OpenAI API) needs the server reachable from the internet (Using your graphs from cloud AI).
  • The specification is a draft (0.1.0-draft); storage migrates itself on upgrade, but the API may still change.

Quick start

Install the server and start it, on Linux or macOS (Apple silicon):

curl -fsSL https://raw.githubusercontent.com/dieron/mygraph/main/install.sh | sh

On Windows, in PowerShell:

irm https://raw.githubusercontent.com/dieron/mygraph/main/install.ps1 | iex

The installer downloads the latest release and the embedding model, checks both against the release's SHA256SUMS, and starts the server at login on 127.0.0.1:7420, where only this machine can reach it. Running it again upgrades and keeps your data and server.toml. Options (another version, folder or port, no model, no autostart) and uninstalling are described at the top of install.sh and install.ps1.

Then connect Claude Code with the plugin, which adds the MCP connection and the skill:

claude plugin marketplace add dieron/mygraph
claude plugin install mygraph@mygraph

Start a new Claude Code session and ask it to create a graph and remember something. Claude Code says the plugin's two options are not set; their defaults fit the server the installer started. For a server elsewhere or one with API keys, set them with /plugin (server address and key). Other clients: Connecting a client.

Other ways to install

With a prebuilt binary, by hand: download from the latest release the archive for your platform and the embedding model (mygraph-model-multilingual-e5-small), and unpack the model into the folder that holds mygraph, so it ends up in models/multilingual-e5-small next to the binary. Then:

./mygraph serve
PlatformArchiveNeeds
Linux x64, arm64x86_64- / aarch64-unknown-linux-gnu.tar.gzglibc 2.38+ (Ubuntu 24.04, Debian 13, Fedora 39 or newer)
Windows x64x86_64-pc-windows-msvc.zipthe Visual C++ runtime, usually already installed
macOS (Apple silicon)aarch64-apple-darwin.tar.gzmacOS may block an unsigned download: xattr -d com.apple.quarantine mygraph

SHA256SUMS in the release lists every archive's checksum. The binaries are not signed yet.

With Docker (the image includes the embedding model):

git clone https://github.com/dieron/mygraph.git && cd mygraph
cp .env.example .env    # then set MYGRAPH_ADMIN_KEY, and MYGRAPH_AGENT_KEY for agents
docker compose up -d --build

Or from source, with Rust installed:

cargo build --release -p mygraph-server
target/release/mygraph serve

Run directly (a binary or from source), the server listens on 127.0.0.1:7420 and, without API keys, accepts local requests as an admin. From source it matches words only until you download the embedding model (135 MB, once), or unpack the release's model archive:

deploy/fetch-model.sh <data_dir>/models/multilingual-e5-small

Then connect an agent (next section) and ask it to create a graph and remember something.

With no server at all, an MCP client can run the Docker image over stdio, keeping the graphs in a volume (this is what the MCP Registry entry io.github.dieron/mygraph describes; only one client at a time can use the volume):

docker run -i --rm -v mygraph-data:/data ghcr.io/dieron/mygraph:latest mcp --data-dir /data

Using it over MCP

MCP is the main way in. An agent gets these tools:

ToolWhat it does
graphsList the graphs on the server, create one, or set who may use it
overviewWhat a graph holds: counts, node and link types in use, conventions to follow
searchFind nodes and evidence by name, alias, words or meaning
resolveCheck up to 100 names before writing: match, ambiguous, or none (with similar nodes)
getOne object with its properties, links, citations and sources
writeRecord one source: evidence, nodes, links and citations, all at once
retractMark facts as wrong (restorable), or undo a whole write
mergeMerge duplicate nodes; the old IDs keep resolving
neighborsThe subgraph around a node, filtered by link type and direction
pathsHow two nodes are connected (shortest path or several)
findFiltered lists, counts, group-by and aggregates
historyWhat changed, and since when
statsSize, connectivity, growth and how well facts are sourced
Connecting a client

There are three ways to connect, and all of them use the same tools:

  1. stdio bridge to a running server (the usual one). The client starts mygraph mcp --url http:// :7420 --graph , which forwards every call to the server. Pass the key with --key or the MYGRAPH_KEY environment variable. For a server with HTTPS, use an https:// URL; when its certificate is self-signed or from a private CA, also pass --ca-cert (or set MYGRAPH_CA_CERT).
  2. Streamable HTTP, for clients that support it: http:// :7420/mcp (or https://), with the header Authorization: Bearer .
  3. No server. mygraph mcp --data-dir opens a data folder in the client's own process. This works only while no other process is using that folder.
  4. OAuth, for claude.ai on the web, desktop and phone: the client signs in on the server's page with an API key (below).

Ways 1 to 3 need nothing beyond your machine or your network. Cloud AI needs more; see Using your graphs from cloud AI.

Claude Code: the plugin (Quick start) connects over HTTP and installs the skill. Its options are the server address (default http://127.0.0.1:7420) and an API key. To connect by hand instead, for every project (-s user):

claude mcp add mygraph -s user -e MYGRAPH_KEY=<key> -- mygraph mcp --url http://127.0.0.1:7420 --graph research

Or over HTTP, with no local program:

claude mcp add --transport http mygraph http://<host>:7420/mcp --header "Authorization: Bearer <key>"

Claude Desktop, in claude_desktop_config.json (Settings → Developer → Edit Config). Use the full path of the mygraph program, then quit and reopen the app:

{ "mcpServers": { "mygraph": { "command": "/path/to/mygraph", "args": ["mcp", "--url", "http://127.0.0.1:7420", "--graph", "research"],

"env": { "MYGRAPH_KEY": " " } } } }

Cursor, VS Code with GitHub Copilot and OpenAI Codex use the same command; skills/mygraph/references/setup.md has the snippet for each. To check the connection, ask the agent to call graphs.

On Windows, `deploy/window

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