
NeuroDock Cognitive Graph
io.github.tlennon-ie由 GitHub 帳號 tlennon-ie 發布v0.0.6更新於 Oct 24, 2026
A local typed-edge graph of people, projects, and decisions that externalises memory.
概覽
一個本機 SQLite 圖,記錄人物、專案、決策與概念,讓助理寫入具型別的事實並召回實體、決策與每週活動。
- 可以做什麼
- 提供四個由本機 SQLite 檔案支撐的工具。recall_entity 查詢人物、專案、決策或概念,回傳其事實、一階鄰居與解析診斷。record_fact 持久化具型別的邊事實並自動建立實體,限定在八個謂詞詞彙內。recall_decisions 依日期回傳某專案的決策,weekly_rollup 產生最近七天的伺服器端範本化摘要,不呼叫 LLM。
- 適用情境
- 適合希望助理跨工作階段保留人物、專案與決策持久記憶的情境,尤其是長時間執行或頻繁切換脈絡、否則每次工作階段都從零開始的工作。它是本機單一檔案儲存,而非共享或團隊知識庫。
- 執行需求
- 以本機 stdio 程序執行,從 PyPI 安裝(例如使用 uv 或 pip),需要 Python 與該套件執行環境。圖預設儲存在 ~/.neurodock/cognitive-graph.sqlite,可用環境變數 NEURODOCK_GRAPH_DB_PATH 覆寫。未宣告帳號、API 金鑰或網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 NeuroDock Cognitive Graph,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
neurodock-mcp-cognitive-graph
Persistent entity memory for the NeuroDock substrate, exposed as an MCP server. Externalises the user's working memory of people, projects, decisions, and concepts so a hyperfocused or context-switched session does not start from zero.
This is v0.0.3 — the current release. Vector recall, fastembed
embeddings, and sqlite-vec are deferred to a future version; see CHANGELOG.md.
Install
Use as an MCP server
Add to your ~/.claude.json (Claude Code) or claude_desktop_config.json (Claude Desktop):
Quickstart
The server stores its graph at ~/.neurodock/cognitive-graph.sqlite by
default. Override with the NEURODOCK_GRAPH_DB_PATH environment variable.
Tools (v0.0.3)
The full input/output contract is in schemas/. The Pydantic v2 models in
src/neurodock_mcp_cognitive_graph/types.py mirror those schemas.
Predicate vocabulary
The eight predicates in v0.1.0 are: mentioned_in, decided_in,
reports_to, depends_on, resolved_by, blocked_by, tagged,
belongs_to. Unknown predicates raise PREDICATE_NOT_IN_VOCABULARY.
Extension predicates land via the v0.2 type_extensions mechanism — see
ADR 0002 — cognitive-graph tool design.
Privacy
- Local-first. No network access. No telemetry.
sourcestrings are stored verbatim and never fetched by the server.- User content (entity names, decision titles, fact text) is never logged. Error logs include only the structured error code.
Storage
SQLite. One file. Migrations live as numbered .sql files in
src/neurodock_mcp_cognitive_graph/migrations/ and are applied on first
connect. The schema is described in migrations/0001_init.sql.
Architecture
ADR pointers
- ADR 0002 — cognitive-graph tool design
— the design rationale, vocabularies, output shapes, and the three open
questions whose v0.0.3 resolutions are documented in
CHANGELOG.md. - ADR 0001 — chronometric tool design — the cross-cutting precedents (ISO 8601 with offsets, enums for coarse signals, structured errors) that this package inherits.
Tests
25 tests covering: per-tool unit tests, a FastMCP protocol-conformance suite
that exercises every tool and validates the response against the JSON Schema
using jsonschema, and an end-to-end test that runs against a real
file-backed SQLite store.
來源:packages/mcp-cognitive-graph/README.md,提交 2d9cac6
工具
0版本歷史
1- v0.0.6最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分