Growmos
概览
作者提供的说明(英文原文)
Living knowledge graph for your repo: query with citations, remember/link facts, fact-check claims.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 14/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 搜索与 AI 记忆
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 注册中心没有列出需要填写的密钥。
你需要
- PyPI已安装 Python 的 uv(用于 uvx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"growmos": {
"command": "uvx",
"args": [
"growmos",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add growmos -- uvx growmos mcp或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"growmos": {
"command": "uvx",
"args": [
"growmos",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"growmos": {
"type": "stdio",
"command": "uvx",
"args": [
"growmos",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过域名 codician.com 验证(注册中心会核实域名所有权)
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5752 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5752 个服务器的 31% 更新
- 基础检查结果等于或优于此分类中其他 5752 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Growmos 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.1.5)于3个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
growmos
A living knowledge graph that grows with your repo. Shared, provenance-carrying memory for humans and AI agents — plug & play with Claude Code, Codex, Grok, Cursor, Gemini, or any MCP-capable CLI. Zero dependencies. MIT.
*"Each agent's memory dies with its context window."* growmos is the layer underneath: the
durable, queryable world model that lets today's session pick up where yesterday's left off —
and lets five agents share one picture of the codebase without passing it through anyone's
context window.
Built by Codician as an open, tool-agnostic implementation of the knowledge-graph methodology described in *Knowledge Graph Engineering for Multi-Agentic Systems: The Anthropic Playbook* (extraction → resolution → assembly → querying, with an evaluation loop closing the circle). See METHODOLOGY.md for the full methodology.
docs, ADRs, READMEs, sessions ──▶ 1. Extraction ──▶ 2. Resolution ──▶ 3. Assembly ──▶ 4. Querying
(agent packet) (agent packet) (deterministic) (grounded answers, edge citations) ▲ │ └──────────────── growmos remember / link / journal ◀── agents develop ◀────┘ evaluation loop: change prompt → growmos eval → watch F1 move
▶ Live demo — click around growmos's own graph · Apollo corpus demo · site
growmos view — after a few days of development, this is what lays in your graph: hubs sized by degree, colored by type, every edge with provenance, profiles on click.
Why
Multi-agent systems and long-running coding sessions share one weakness: memory dies with the context window. RAG surfaces chunks but cannot *chain* facts. A knowledge graph — entities as nodes, short-verb-phrase relations as edges, every edge carrying provenance — turns multi-hop questions ("what depends on the thing we replaced in ADR-7, and who owns it?") into graph traversal, gives evaluators ground truth instead of vibes, and survives restarts.
growmos makes that a living organism inside your repo:
- It eats what you write. Docs, ADRs, READMEs, design notes, sessions. Content-hashed; only what changed goes back into the pipeline (incremental by construction).
- It grows as agents develop.
growmos remember/link/journalare one-line write paths with provenance (session:2026-08-17). Git hooks queue changed docs after every commit. - It resolves itself. New names are matched against the canonical set; unmatched names become *provisional* single-element clusters (nothing is ever silently lost); the agent then clusters provisional entities using descriptions ("Edwin Aldrin" → "Buzz Aldrin").
- It answers with citations.
growmos queryserializes the k-hop subgraph around a question; the answer must cite edge ids;growmos checkfact-checks claims against edges. - It measures itself — with no manual step.
growmos nextalso hands out *gold-set* packets (the agent writes the reference answer from the source document) and periodic *review* packets (verify one node's edges against its sources), sogrowmos eval(P/R/F1, raw and resolved), the 10-itemgrowmos doctorchecklist and the health signals (components, density, compression) all stay green on autopilot. Every gold file records who reviewed it (agent/human) — humans can overrule at any time, but never have to. - It shows itself.
growmos viewopens a self-contained, offline interactive explorer (force layout, search, type filters, click a node for its profile, edges and provenance) — no server, no dependencies.growmos export --format html|json|dot|mermaid|cypher|sqlfor everything else. - It is agent-native. No API key needed: the CLI does the deterministic work, and hands the *judgment* work (extraction, resolution, summarization) to whatever agent you already run as a task packet — prompt + JSON shape + the exact
growmos apply …command. Optional headless mode (growmos ingest) calls Anthropic / OpenAI-compatible / xAI APIs for cron & CI.
Install
pip install growmos # or: pipx install growmos / uv tool install growmos
Python ≥ 3.9, no dependencies. (From source: pip install .)
60-second start
cd your-repo
growmos init # creates .growmos/, detects your agent CLI, wires it, scans docs growmos next # → first task packet (extraction of README.md)
From here it runs itself:
- Claude Code (hooks): at session start the brief is injected and, if work is pending, the agent is told to run the loop; at the end of a turn a
Stophook scans your docs and, if new packets appeared, keeps the agent going until the graph is up to date and journaled. You never have to ask. - Codex / Grok / Cursor / Gemini (no hooks): the same protocol lives in
AGENTS.md/.cursor/rules— "if the brief shows pending work, run the loop before you stop." Agents follow it; you *can* still say *"grow the knowledge graph"* or *"what does the graph say about X?"*. - Nobody at the keyboard: git hooks queue changed docs after every commit, and
growmos ingeston cron/CI (headless mode) does the whole loop with an API key.
Manually, the loop is:
growmos next # packet: prompt + shape + apply command
… agent produces the JSON …
growmos apply extraction out.json --source src_ab12 --chunk 0 growmos next # → resolution → profiles → gold set → review → "up to date" growmos query "what depends on the Store and who decided that?" growmos remember "Scheduler" --type COMPONENT --desc "Schedules jobs; depends on Store." growmos link "Scheduler" "depends on" "Store" growmos journal "Moved Store to Postgres (ADR-001)." growmos check "(Alice Chen) --[owns]--> (Scheduler)" growmos view # open the interactive explorer in your browser growmos status · growmos context · growmos doctor · growmos eval · growmos sample
Plug & play with agent CLIs
| CLI | growmos init --agent … writes | How the agent uses it |
|---|---|---|
| Claude Code | CLAUDE.md block, .claude/skills/growmos/SKILL.md, SessionStart/Stop hooks in .claude/settings.json, .mcp.json | context injected at session start; skill triggers on graph-related asks; MCP tools |
| Codex CLI | AGENTS.md block (+ optional MCP server) | Codex reads AGENTS.md; run growmos mcp as an MCP server if you prefer tools |
| Grok CLI / others | AGENTS.md block, .mcp.json | any CLI honouring AGENTS.md or MCP |
| Cursor | .cursor/rules/growmos.mdc (alwaysApply) | rules loaded in every chat |
| Gemini CLI | GEMINI.md block | same protocol |
| Any file | growmos integrate file --file path/to/instructions.md | append the protocol block anywhere |
| git | growmos integrate hooks → post-commit, post-merge, post-checkout | queue changed docs automatically |
| CI | growmos integrate ci → .github/workflows/growmos.yml | doctor + eval on every PR |
| MCP | growmos integrate mcp → .mcp.json (+ .cursor/mcp.json) | tools for any MCP client (below) |
growmos init --agent all does all of the above. Everything is idempotent (marker blocks, JSON merges).
MCP server (any MCP-capable client)
growmos mcp is a zero-dependency MCP stdio server. Register it the same way you register any MCP server — growmos integrate mcp writes this for you, or paste it yourself:
{
"mcpServers": { "growmos": { "command": "growmos", "args": ["mcp"] } } }
| Client | Where |
|---|---|
| Claude Code | .mcp.json in the repo (written by growmos init / integrate claude), or claude mcp add growmos -- growmos mcp |
| Cursor | .cursor/mcp.json (written by integrate cursor / integrate mcp) |
| Codex CLI | ~/.codex/config.toml: [mcp_servers.growmos] command = "growmos" args = ["mcp"] |
| Gemini CLI | ~/.gemini/settings.json → mcpServers.growmos as above |
| Grok CLI / others | their MCP config, same JSON |
mcp-name: com.codician/growmos
Tools exposed: growmos_context, growmos_query, growmos_entity, growmos_search, growmos_remember, growmos_link, growmos_journal, growmos_check, growmos_next, growmos_apply, growmos_status, growmos_sample. Once registered, the agent calls them directly instead of shelling out — e.g. *"what depends on the Store?"* → growmos_query; *"remember that Scheduler now uses Kafka"* → growmos_remember + growmos_link; *"grow the graph"* → growmos_next / growmos_apply in a loop.
What lives in .growmos/ (commit it)
.growmos/
config.json include globs, caps (max_docs_per_run, max_entities_per_doc), provider schema.json versioned entity types + predicate hints (bump on change; rows carry schema_version) state.json the loop's state file: runs, pending re-summarizations, last sample/eval sources.jsonl every document eaten: ref, sha256, status (pending|extracted|note|missing) mentions.jsonl raw per-document extraction output (append-only provenance) entities.jsonl canonical nodes (id, name, type, description, sources, mentions, provisional) aliases.jsonl alias → entity (the alias map) relations.jsonl edges: source, predicate, target, sources[], confidence (= corroborating docs) profiles/*.json hub-node profiles (summary, key facts, time range), keyed to source-set hash prompts/*.md the four playbook prompts + evaluator prompt — yours to tune eval/gold/*.json hand-labelled gold sets · eval/aliases.json scorer alias map journal.md the shared memo, append-only
Plain JSONL: diff-able, merge-friendly, greppable, viewable (growmos view) and exportable (growmos export --format html|json|dot|mermaid|cypher|sql). Storage is an infrastructure decision, not a pipeline decision: the same schema maps onto Neo4j or three Postgres tables.
Configuration & big projects
Everything tunable lives in .growmos/config.json (growmos config [value]). Defaults are sized for a normal repo; for a big one, three knobs matter:
- `max_docs_per_run` (default 50/day) — a speed bump against runaway *unattended* runs, not a wall. When you or your agent are driving a backfill:
growmos next --forceorgrowmos config max_docs_per_run 0. Agents are told this, so they won't stall on it. - `include` / `exclude` — which docs are knowledge (READMEs, ADRs, design docs by default; never source code — agents write what code *means* via
remember/link). - `chunk_chars` (6 000) — pac
只显示了开头部分;其余内容请在仓库中阅读