KG-SSOT
What it does
Company-brain knowledge graphs: confirmed claims cite sources, and decisions get revisited
- Connects 在你的电脑上运行
- Account or key No key needed
- Category 搜索与 AI 记忆
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
双击文件,然后在电脑版 Claude 应用中点击 Install
试一试
用 KG-SSOT 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 KG-SSOT,或回答中出现 KG-SSOT 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 KG-SSOT
KG-SSOT 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 KG-SSOT 的应用
- 不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要先在电脑上安装 Python (uv)(只需一次)
- 需要先在电脑上安装 Python (uv)(只需一次)
- 需要先在电脑上安装 Python (uv)(只需一次)
B · 搜索与 AI 记忆 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Context7✓ ChatGPT
- AIHOT✓ ChatGPT
- Sui Knowledge Base (kapa.ai)✓ ChatGPT
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --scope user kg-ssot -- uvx kg-ssot在 Claude Code 中输入 /mcp
应能看到 KG-SSOT 在列表中并显示已连接
试一试
用 KG-SSOT 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 KG-SSOT,或回答中出现 KG-SSOT 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 KG-SSOT 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 KG-SSOT,或回答中出现 KG-SSOT 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 KG-SSOT 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 KG-SSOT,或回答中出现 KG-SSOT 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
claude mcp add --scope user kg-ssot -- uvx kg-ssotClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"kg-ssot": {
"command": "uvx",
"args": [
"kg-ssot"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"kg-ssot": {
"command": "uvx",
"args": [
"kg-ssot"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"kg-ssot": {
"type": "stdio",
"command": "uvx",
"args": [
"kg-ssot"
]
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月12日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 marciocar 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于今天
- ✓ 通过
有许可证
使用 Apache-2.0
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 6005 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 6005 个服务器的 97% 更新
- 基础检查结果等于或优于此分类中其他 6005 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
KG-SSOT 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于今天,最新版本(4.49.0)于今天进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv), MCPB。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Ruflo
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
KG-SSOT
The trust layer for a company brain: knowledge graphs in plain text where a confirmed claim must cite its source, a decision records what it replaced and what it rests on, and a decision comes back for review when a source it pinned changes.
English | Português (Brasil)
Documentation · Adopt it · The contract · Conformance suite · Changelog · For AI agents
The contract in 40 seconds: a claim without a source is refused, then fixed, queried and gated.
Why
A company brain is usually built by piling documents into RAG or GraphRAG. That keeps the data, but not the decisions: who decided what, on which source, and whether that source still holds. Teams, of people or of agents, pile up conclusions such as "the retry is idempotent" or "we decided on three attempts", and on the way they lose three things: the source, the date it was last verified and what depends on it. When the person who decided leaves, the reasoning leaves too.
KG-SSOT treats this as a format problem, not a discipline problem. Knowledge lives in a .kg.yaml graph, versioned next to the code, and a formal contract decides in CI what fails:
- a
confirmedor production node without provenance fails (a claim with no recoverable source is declaredunverifiableinstead); - a source that is only a placeholder (
unknown,n/a,tbd) fails; - an edge that points nowhere fails, and so does a node with no edges;
- a verification stamp with nothing to check against, a decision with no origin and a production claim backed only by testimony raise warnings.
What it does for a company brain
| You need to know... | KG-SSOT gives you |
|---|---|
| Where a claim came from | A provenance on every confirmed claim: the file, the line or the node, and, if you pin it, a hash that kg_trace.py check verifies |
| Why a decision was made, and what it replaced | kg_query --decision ID: the whole SUPERSEDES line, what supports it and the status of each support |
| Which decisions to look at again | kg_query --revisit: the ones past their review cadence, contested, or whose approved document or pinned source changed |
| What is on each owner's plate | kg_query --open --where owner=X --sort attention |
| How many open decisions each graph holds, or any count by field | kg_query --type decision --open --group-by file |
| Which nodes are most supported, and by how many distinct sources | kg_query --edges --where edge_type=SUPPORTS --group-by to.file --group-by to.id --count-distinct from.id |
Which decisions have no internal SUPPORTS edge in their own graph | kg_query --type decision --where degree.in.SUPPORTS=0; a SUPPORTS from another graph is not counted, so complete it with kg_query --edges --where edge_type=SUPPORTS --where scope=external |
| What is past its re-verification date, on any kind of node | kg_query --due, the most overdue first |
| Who cites this node in other repositories, before you delete it | kg_refs cited-by repo:ID --repo name=folder ..., with what was and was not read |
| What an e-mail, chat or wiki event said, and who sent it | An evidence node with the CloudEvents 1.0.2 names in x_event, pinned to the accepted inbox document (recipe) |
Business, technical, compliance and design knowledge can live in the same format, in your repository. It plugs in as a Python package or an MCP server, with a JavaScript validator on npm, and the CI gate is one of its uses, not the point. The pins are checked when kg_query or kg_trace.py runs with --root.
Get started in 60 seconds
pip install kg-ssot
the conformance suite against the reference reader, from the installed package
kg-conformance | tail -2
one valid graph and one that fails
kg-validate valid.kg.yaml broken.kg.yaml
Or straight from the repository, with hash-checked dependencies:
git clone https://github.com/marciocar/kg-ssot && cd kg-ssot
python3 -m venv .venv && .venv/bin/pip install --require-hashes -r tools/requirements.txt .venv/bin/python3 -I tools/kg_validate.py \ spec/conformance/fixtures/latest/form/minimal/valid-minimal.kg.yaml \ spec/conformance/fixtures/latest/form/minimal/bad-node-missing-label.kg.yaml
PASS spec/conformance/fixtures/latest/form/minimal/valid-minimal.kg.yaml
FAIL spec/conformance/fixtures/latest/form/minimal/bad-node-missing-label.kg.yaml MUST form.required.node.label ×1 · 2 files; 1 pass the MUST; 0 with a SHOULD warning (kg-contract-v4.schema.json + kg-contract-v4.should.schema.json)
The tools print in English by default and in Brazilian Portuguese when your locale is pt_BR (or KG_SSOT_LANG=pt-BR). Codes, exit codes and JSON keys never change with the language; only the human text does.
Install
| Channel | Command | What you get |
|---|---|---|
| PyPI | pip install kg-ssot | The commands kg-validate, kg-conformance, kg-gate, kg-store, kg-query, kg-diff, kg-vocab, kg-criterion, kg-audit, kg-trace, kg-refs, kg-vector, kg-mcp and kg-prov-export, with the contract and the suite inside; pip install "kg-ssot[vector]" adds the search by similarity |
| npm | npm install kg-ssot | The JavaScript reader with a precompiled validator, which also runs in React Native and Expo |
| Claude Desktop | the .mcpb file from the latest release | The MCP server as a one-click extension |
| MCP Registry | io.github.marciocar/kg-ssot | The same server for any MCP client |
| Container | docker pull ghcr.io/marciocar/kg-ssot | The MCP server as a service next to a client without Python, such as LibreChat |
| Your repository | kg_vendor.py update --tag kg-ssot-v4.45.0 | The release vendored by tag, with a sha256 stamp, and the gate in your CI (manual, chapter 6) |
A node, inside
- id: C_RETRY_SAFE
node_type: claim plane: PROD status: confirmed impact: 4 confidence: 0.8 label: The payment retry is idempotent. verified_at: "2026-10-01" verified_against: tests/payment_retry_test.py provenance: source: tests/payment_retry_test.py locator: test_retry_is_idempotent method: "measurement: integration test in CI"
The label is the claim, short. The provenance says where it came from and how: one of five method classes, measurement, reading, judges, derived or testimony. The stamp says when it was verified and against what. Since contract v4.16 these English names are the canonical form; the Portuguese medição, leitura, juízes, derivado and testemunho are still accepted as aliases, with no warning.
Use it from an AI agent
The reference MCP server gives a model the contract and a store: it validates a graph, writes only what passes, reads, lists, queries with every edge resolved to the label on the other end, and shows history. Read-only tools are annotated as such, so a client can skip confirmation for them.
kg-mcp --root ./graphs # stdio, for Claude Desktop, Claude Code and other MCP clients
kg_schema_help returns the current contract, a minimal passing example and the fixes for the most common codes, so a model can write a passing graph on the first try. llms.txt indexes the documentation for agents, and llms-full.txt has all of it in one file.
The agent skill. skills/kg-ssot/ is an Agent Skills skill that teaches a coding agent to write, fix, validate and query graphs with these tools, in .kg.yaml and .kg.json. In a pre-registered test, an agent with the skill reached the same result with 45% of the output tokens and 54% of the tool calls.
npx skills add marciocar/kg-ssot -s kg-ssot # Claude Code, Codex and other clients that read Agent Skills
In Claude Code, it also comes as a plugin: /plugin marketplace add marciocar/kg-ssot, then /plugin install kg-ssot@kg-ssot.
How it works
flowchart LR
subgraph product["Product (one tag kg-ssot-vX.Y.Z)"] C["Contract JSON Schema MUST + SHOULD
- integrity rules"] S["Conformance suite
512 cases as plain data"] R["Reference reader kg_validate.py"] S -- "every reader passes" --> R C --> R end subgraph adopter["Adopter repository"] V["vendor/kg-ssot
- sha256 stamp"] G["kg_gate.py in CI
per-graph ratchet"] K["the team's .kg.yaml"] V --> G K --> G end product -- "kg_vendor.py update --tag" --> V G -- "nothing gets worse: a new graph passes, debt only shrinks" --> PR["PR approved"]
- The contract is JSON Schema 2020-12 at two levels: MUST fails, SHOULD warns. The rules a schema cannot express (unique ids, existing edge ends, orphan nodes) are part of it.
- The suite is the compatibility proof: each case is a real YAML file with the expected verdict and codes, and a reader passes only if it emits exactly the same codes.
- The kit brings the contract to a repository by tag, with a stamp that fails local edits, and runs the per-graph ratchet in CI: what already failed becomes named debt, a new graph has to pass, and the debt only shrinks.
Features
| Two-level contract | MUST fails, SHOULD warns, with a ramp: what warns in one version can fail in the next, and the adopter sees it coming |
| Structured provenance | source, locator and method, with five evidence classes and the source locality (repo, web, host, pessoa, privado) |
| Verification stamp | verified_at and verified_against, with a warning for a stamp with no target and for a verification dated before the fact |
| Edges between graphs | external_edges, with the far end checked against the corpus |
| Stable codes | Every violation has a code such as form.required.node.provenance, and --where names the node |
| Structured verdict | kg_validate.py --format json returns the verdict with code, document path, line, message and fix hint, in a versioned format (spec/verdict.schema.json) for tools and MCP servers |
| Two formats, one model | .kg.yaml to write and review in a diff, and .kg.json for runtime use (an app, a server), read by a JSON parser u