ArkHive MCP

io.github.sammyboi81由 GitHub 帳號 sammyboi81 發布v0.3.0更新於 Oct 24, 2026

Tamper-evident memory + governance MCP for Claude Code, Cursor, Codex. Ships the Seatbelt kit.

概覽

AI 產生的概覽

一個本地優先的 MCP 伺服器,為 AI 代理提供持久、帶雜湊鏈的記憶,並支援身分、回想、驗證與以約束為基礎的治理。

可以做什麼
ArkHive 將代理記憶保存在本機 SQLite 帳本中,每筆記錄以 SHA-256 雜湊連結,因此之後的修改、刪除或重排都能被驗證發現。其工具讓代理建立帶明確約定的穩定身分(birth)、附加記錄(remember)、取回先前記錄(recall)、檢查鏈是否遭竄改(verify),以及依確定性約束評估某個動作並記錄裁決(govern)。它另外宣傳一套獨立的 Seatbelt 掛鉤套件,用於 Claude Code 與 Cursor,在不可逆操作前先詢問。
適用情境
當你希望助理把可究責的上下文保存在自己的機器上、而不是託管記憶服務中,並希望留下代理行為的可驗證紀錄時,可以使用它。它適合使用 Claude Code、Cursor、Codex 或其他 MCP 客戶端、重視防竄改歷史與約束檢查的開發者與團隊。
執行需求
以本機 stdio 程序在桌面機器上執行,從 PyPI 安裝為 arkhive-mcp,並以 arkhive-mcp 指令啟動(需要 Python)。未宣告驗證、環境變數或標頭。SQLite 鏈檔案位於伺服器啟動目錄下的 data 目錄中,因此請使用專用工作目錄來控制其位置。
安裝前請注意
記憶帳本寫入本機,任何能存取該機器的人都能讀取;README 說明雜湊鏈無法阻止完全控制機器的攻擊者替換資料庫與軟體、刪除全部歷史、還原舊快照或產生新的自洽鏈。README 也提到託管端點、付費客製代理服務與企業安裝,並指向另一個以 pip 安裝的 Seatbelt 套件;這些應視為第三方提供的內容,而非本伺服器的一部分。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ArkHive MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ArkHive MCP

Local-first governed memory for AI agents, with persistent identity, tamper-evident history, verification, and constraint-aware decisions.

Tell your AI: “Check the ArkHive.”

ArkHive is an open-source Model Context Protocol server for developers and teams that want Claude, Codex, and other MCP clients to retain accountable context across sessions without sending memory to a hosted service by default.

What you get

  • Memory that survives the session. Your AI writes what it did and reads it back next time — no blank slate every morning.
  • Tamper-evident history. Every record is hash-chained (SHA-256). Edit, delete, or reorder any past record and verification fails — you get evidence of change, not silent rewriting.
  • Local-first, no telemetry. The chain is a plain SQLite file on your machine. Nothing is transmitted unless you explicitly opt in.

Verify it yourself — one command, no key

Don't take "tamper-evident" on faith. Run the proof:

bash
git clone https://github.com/sammyboi81/arkhive && cd arkhive./scripts/verify.sh          # or:  python -m benchmark

It writes a throwaway hash-chained ledger, verifies it clean, then forges one block with a direct SQL edit and shows verification catch it. Real output:

[3] verify (untouched):    blocks=20 broken_links=0 -> INTACT — context provably unbroken[4] TAMPERED block idx=10: 'event_10' -> 'FORGED_EVENT' (direct SQL edit, no hash recomputed)[5] verify (after tamper): blocks=20 broken_links=1 -> TAMPERED — 1 broken linksRESULT: PASS - tamper-evidence proven.

A clean chain verifies with 0 broken links; a single forged edit is caught. Your real data/chain.db is never touched. For the honest limits of what a hash chain can and cannot protect, see What the hash chain protects against below.

New: the Claude Code Seatbelt. Hooks that make Claude Code (and Cursor) ask before anything irreversible, remember the project between sessions on this chain, and refuse to say "done" until the code ran. Engine: pip install sentarion-mcp then sentarion seatbelt install. One-click kit with five policies and three skills: https://inboxaxe.com/mcp#seatbelt

Install in one command

bash
python -m pip install arkhive-mcp

The MCP command is arkhive-mcp.

Renamed: this package was formerly published as humane-intelligence (still installable, now frozen). ArkHive is the product; #HumaneIntelligence is the movement.

Connect an MCP client

Claude Desktop

Add this entry to your Claude Desktop MCP configuration, then restart Claude Desktop:

json
{  "mcpServers": {    "arkhive": {      "command": "arkhive-mcp",      "args": []    }  }}

If Claude Desktop cannot find commands installed by pip, replace arkhive-mcp with the absolute path printed by:

bash
python -c "import shutil; print(shutil.which('arkhive-mcp'))"

Codex

bash
codex mcp add arkhive -- arkhive-mcp

Confirm it is configured with:

bash
codex mcp list

Available tools

ToolWhat it does
birthCreates a stable agent identity with an explicit covenant.
rememberAppends a hash-linked, tamper-evident record for a born identity.
recallRetrieves prior records so an agent can ground the current session.
verifyRecomputes and checks the local chain for later alteration or broken links.
governEvaluates an action against deterministic constraints and records the verdict.

The local chain is stored in SQLite. The exact location depends on where the server command is launched; use a dedicated working directory if you want to control where its data/chain.db file lives.

Two-minute verification

After connecting the server, say “Check the ArkHive”, or ask your MCP client to perform these calls in order:

  1. Call birth with the name verification-agent and covenant ["record facts accurately", "verify before claiming completion"].
  2. Copy the returned identity and call remember with action installation_verified and data {"source": "local MCP test"}.
  3. Call recall for that identity and confirm the record appears.
  4. Call verify and confirm the chain reports as valid.
  5. Call govern for a harmless test action and inspect the recorded verdict.

This exercises identity, persistence, retrieval, integrity verification, and governance without production data.

Privacy and optional contribution

Local-only behavior is the default. With contribution disabled, no chain content or hashes are intentionally sent by ArkHive.

Copy humane.config.example.json to humane.config.json only if you want to opt in:

ModeWhat leaves the machine
Default (enabled: false)Nothing is intentionally transmitted.
anchorThe latest block hash and chain length. Memory content is not included.
contributeThe governed event fields described in the example configuration, in addition to anchoring data.

Anchoring and contribution are optional, best-effort, and off by default. Review the configured endpoint and event contents before enabling either mode.

What the hash chain protects against

The chain is tamper-evident: editing, deleting, or reordering an existing record should cause later verification to fail because hashes no longer match. This provides useful evidence of change and makes accidental or unsophisticated local alteration detectable.

It does not prevent an attacker with full control of the machine from replacing the database and software together, deleting all history, restoring an older snapshot, stealing readable local data, or generating a new internally consistent chain. Independent anchoring can strengthen evidence that a particular chain state existed at a particular time, but it does not make the local host immune to compromise.

Project links

Beyond self-hosting — the paid tier

The MCP server on this page is free forever (Apache-2.0, self-host, no telemetry). When you want more than DIY:

  • Hosted ArkHive — one URL, no install, no key: https://arkhive.dondatabrain.com/mcp (add it to Claude Code with claude mcp add --transport http arkhive https://arkhive.dondatabrain.com/mcp).
  • Custom AI agent, built for you — a working MCP agent wired into your Claude or ChatGPT in one call, done-for-you by the founder: $700 flat.
  • ArkHive Enterprise — hand-delivered install + pilot on your own server, from $2,500: [email protected].

Built by the team behind InboxAxe — the governed AI marketing platform where nothing sends without your yes.

Contributing

Issues and pull requests are welcome. Please keep local-only operation as the default, avoid introducing telemetry, and include tests for changes to memory or governance behavior.

ArkHive is the open governed-memory layer beneath DonDataBrain. The mission is humane, accountable AI; the public MCP listing leads with functionality that users can independently verify.

Apache-2.0 © 2026 ZagAIrot Technologies LLC.

來源:README.md,提交 b2606d4

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.3.0最新Sep 24, 2026
  2. v0.2.1Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分