Privi Anchor

io.github.canoydario847-cloud由 GitHub 帳號 canoydario847-cloud 發布v0.4.2更新於 Oct 29, 2026

Hash anchoring and proof-of-existence on chain for AI agents and apps. Free with an API key.

已驗證Streamable HTTP可網頁執行開發者工具安全與監控

概覽

AI 產生的概覽

Privi Anchor 讓助理對內容做雜湊並把雜湊錨定到 Base 區塊鏈,回傳可驗證且帶時間戳的存在性證明。

可以做什麼
  • 查詢錨定所用的鏈、簽章錢包、gas 餘額與總量
  • 在本機對文字做 SHA-256 雜湊,不儲存任何內容
  • 一次交易錨定 1 到 100 個雜湊,並為每個雜湊回傳收據
  • 在鏈上驗證某雜湊於何時、由誰錨定,提供收據時僅依賴鏈上資料
適用情境
當你需要為文件、資料集、模型卡、合約或 AI 輸出留下帶時間戳、可防竄改的存在性紀錄,並希望任何人都能直接對照區塊鏈核驗、不必信任該服務時適用。
執行需求
透過 streamable HTTP 連線的遠端 MCP 端點,無需本機安裝。錨定工具需要向服務方取得 API key,並以 Authorization Bearer 標頭傳送。雜湊與驗證工具免費且不需金鑰。
安裝前請注意
錨定會向 Base 寫入公開且永久的交易,雜湊與時間將公開可見且無法刪除;只上鏈雜湊,不上鏈內容。錨定工具需要 API key,有速率限制與每日交易預算。gas 由服務方的熱錢包支付,其餘額會影響可用性。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.canoydario847-cloud%2Fprivi-anchor/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "privi-anchor": {
      "type": "http",
      "url": "https://privi-anchor.onrender.com/mcp"
    }
  }
}

README

Privi Anchor MCP

Timestamped proof that data existed, on chain. Any AI agent can fingerprint what it produced or relied on (a report, generated image, dataset, contract, model card, audit-log head) and anchor that fingerprint on chain. Anyone can later prove the exact content existed at that time and hasn't changed, by checking the chain itself rather than trusting Privi.

Works with Claude, ChatGPT, Cursor, VS Code and custom agents. Part of the Privi suite with Privi Verify and Privi Ledger.

Live: https://privi-anchor.onrender.com/mcp, anchoring on Base (chain ID 8453) until the Privi chain mainnet launches, then it moves there. Anchors made earlier on the Privi EVM Devnet (chain 262144) stay recorded. anchor_verify reports them as devnet anchors instead of failing them, and you can re-anchor any hash to get a Base receipt.

Tools

ToolAccessWhat it does
anchor_statusfreeChain, anchor wallet, gas balance, totals
anchor_hash_textfreeSHA-256 of text, ready to anchor
anchor_verifyfreeProves on chain that a hash was anchored, by whom and when. With a receipt's tx_hash + proof, uses chain data only
anchor_hashesAPI keyAnchors 1-100 hashes in one transaction; returns a receipt per hash

Only hashes go on chain, never content.

How it works

  1. The hashes in a call become leaves of a SHA-256 Merkle tree (node = sha256(min(a,b) || max(a,b))).
  2. One zero-value transaction from the anchor wallet to itself carries the root in its data: 0x50525641 ("PRVA") + 0x01 + 32-byte root. No contract is needed.
  3. Each hash gets a receipt: the transaction hash and its Merkle proof.
  4. To verify, read the transaction from any Base RPC node (or basescan.org), take the root from its data, and recompute it from the hash and proof. The block's timestamp is the proof of when.

Independent check in a few lines:

python
import hashlibdef node(a, b): return hashlib.sha256(min(a, b) + max(a, b)).digest()x = bytes.fromhex(my_hash)for sib in proof: x = node(x, bytes.fromhex(sib))assert x.hex() == tx_input[12:]   # strip "0x" + "50525641" + "01"

Access

anchor_hashes needs Authorization: Bearer <key> with a key from ANCHOR_API_KEYS and is rate-limited per key. It's free with a key. Each call is one Base transaction (a fraction of a cent of gas, paid by the anchor wallet), so the server also enforces a daily budget (ANCHOR_MAX_TX_PER_DAY, default 500). Batch up to 100 hashes per call.

Run, test, deploy

bash
pip install -e ".[dev]"cp .env.example .env     # set ANCHOR_PRIVATE_KEY and ANCHOR_API_KEYSpytestprivi-anchor-mcp         # HTTP :8000, MCP at /mcp

The anchor wallet is a hot key. Keep only a little ETH on Base in it for gas (about $5 lasts weeks at the default budget). /status shows its balance and gas_ok.

Public explorer feed

For Privi Explorer (CORS open, free): GET /anchors/recent?limit&before lists anchor batches newest first (Merkle root, transaction, block, hash count; never the label or the client), and GET /anchors/verify/<sha256> runs the same on-chain check as anchor_verify for one hash.

License

MIT © 2026 Dario Canoy, Privi World Co

來源:anchor-server/README.md,提交 ba19d8b

工具

4

anchor_status

Anchor status

Which chain anchors go to, the service wallet that signs them, its gas balance, and totals.

無需輸入參數。

anchor_hash_text

Hash text

SHA-256 of a piece of text, ready to pass to anchor_hashes. Hashing happens here; nothing is stored.

輸入參數text必填

anchor_verify

Verify an anchor

Check on the blockchain that a hash was anchored, by whom and when. Free. With tx_hash and proof from a receipt, the check uses only chain data.

輸入參數hash必填prooftx_hash

anchor_hashes

Anchor hashes

Anchor up to 100 hashes on chain (Base until the Privi chain mainnet) in one transaction. Returns, for each hash, a receipt (tx_hash, Merkle proof, block, time) that anyone can check with anchor_verify. Requires an API key (Authorization: Bearer).

輸入參數labelhashes必填

版本歷史

2
  1. v0.4.2最新Oct 29, 2026
  2. v0.1.0Oct 20, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。