stampthisfile

io.github.stampthisfile由 GitHub 帳號 stampthisfile 發布v0.1.0更新於 Nov 4, 2026

Timestamp files in Bitcoin (OpenTimestamps): send a hash, pay per hash with x402, get a proof.

已驗證Streamable HTTP可網頁執行金融安全與監控

概覽

AI 產生的概覽

託管式 MCP 伺服器,透過 OpenTimestamps 把檔案的 SHA-256 雜湊寫入比特幣時間戳,並依雜湊以 x402 用 USDC 付費。

可以做什麼
  • 提交 1 至 100 個 SHA-256 雜湊進行比特幣時間戳,依雜湊以 x402 付費
  • 查詢時間戳狀態:待確認、已完成(含比特幣區塊高度與時間)或失敗
  • 以 base64 取得目前的 .ots 證明,完成後再次取得可獲得比特幣見證
  • 驗證任何 OpenTimestamps 證明(本服務或其他來源)與檔案 SHA-256 是否相符
適用情境
適合需要證明某個檔案在某個時間點之前已存在時使用,例如為文件、交付物或紀錄做時間戳,也適合在沒有本機工具的情況下查詢與驗證 OpenTimestamps 證明。
執行需求
遠端 Streamable HTTP 端點,無需安裝。不需要帳號或 API 金鑰。打時間戳需透過 x402 以 Base 上的 USDC 付費,簽章後的付款內容放在請求中繼資料或 payment 參數中。需能連線至該託管服務。
安裝前請注意
打時間戳會產生實際費用:每個雜湊都透過 x402 以 Base 上的 USDC 計費,呼叫 stamp_hashes 前請確認價格與付款流程。只傳送雜湊,不傳送檔案內容。證明僅表示檔案在某個比特幣區塊時間之前已存在,並非簽章,也不表示檔案由誰建立。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "stampthisfile": {
      "type": "http",
      "url": "https://stampthisfile.com/mcp"
    }
  }
}

README

stampthisfile MCP server

A hosted MCP server that lets AI agents timestamp files in Bitcoin with stampthisfile: send the SHA-256 hash of a file (never the file), pay per hash in USDC with x402, and get a standard OpenTimestamps .ots proof that anyone can verify without us. No account or API key.

  • Endpoint: https://stampthisfile.com/mcp (Streamable HTTP, stateless)
  • Auth: none. Stamping is paid per call with x402; everything else is free.

There is nothing to install or run: this repository describes the hosted server. The server itself is not open source.

Connect

Claude Code:

sh
claude mcp add --transport http stampthisfile https://stampthisfile.com/mcp

Cursor, VS Code and other clients (.mcp.json style):

json
{  "mcpServers": {    "stampthisfile": {      "type": "http",      "url": "https://stampthisfile.com/mcp"    }  }}

Tools

ToolWhat it does
stamp_hashesTimestamp 1-100 SHA-256 hashes in Bitcoin. Paid per hash with x402; returns a pending .ots proof per hash and a signed receipt
get_stampA stamp's status: pending, complete (with the Bitcoin block and time) or failed
get_proofThe current .ots proof, base64. Fetch it again once complete to get the Bitcoin attestation
verify_proofCheck any OpenTimestamps proof against a file's SHA-256

A proof is pending at first and completes once Bitcoin confirms it, usually within 1-6 hours. A complete proof shows the file existed no later than the time of its Bitcoin block. It is not a signature and does not show who made the file: read stampthisfile.com/evidence.md before stamping something meant as evidence.

Pricing

Stamping costs a fixed price per hash, in USDC on Base, paid with x402 using the MCP transport: without a payment, stamp_hashes returns a tool error whose structuredContent is the x402 PaymentRequired. Retry with the signed PaymentPayload in _meta["x402/payment"], or in the payment argument if your client cannot set _meta. The settlement comes back in _meta["x402/payment-response"]. Invalid input is never charged. Reading, downloading and verifying proofs are free.

More

License

MIT, for the contents of this repository.

來源:README.md,提交 2a07eb9

工具

4

stamp_hashes

Stamp hashes

Timestamp 1-100 SHA-256 hashes in Bitcoin. Paid per hash with x402: without a payment the tool returns an error whose structuredContent is an x402 PaymentRequired (x402Version 2, exact scheme, USDC on Base). Retry with the same arguments and the signed PaymentPayload in the request's _meta["x402/payment"] (the x402 MCP transport), or, if your client cannot set _meta, in the `payment` argument. The settlement comes back in _meta["x402/payment-response"]. Returns a batch with, per hash, the stamp id, a pending .ots proof (base64: save it now) and its ots_url, plus a receipt signed by us. Invalid input is never charged; retrying with the same payment and arguments returns the same answer without paying twice.

輸入參數hashes必填paymentwebhook

get_stamp

Get stamp

Status of one stamp: pending, complete (with the Bitcoin block height and time, and a statement of what it proves) or failed (not confirmed within 7 days). Free.

輸入參數id必填

get_proof

Get proof

The current .ots proof of one stamp, base64. Once get_stamp says complete, fetch it again: the complete proof carries the Bitcoin attestation and can be verified by anyone, without us. Save it next to the file as <file>.ots. Free.

輸入參數id必填

verify_proof

Verify proof

Check an OpenTimestamps proof (from us or anyone) against the SHA-256 of a file. Returns valid with status complete (Bitcoin block and the time the file existed by), valid with status pending (not in Bitcoin yet), or invalid with a reason. A pending proof whose calendars have since committed it comes back complete with `upgraded: true` and the completed proof in `ots` (base64): save it in place of the pending one. Nothing is stored. Free.

輸入參數ots必填hash必填

版本歷史

1
  1. v0.1.0最新Oct 20, 2026

評分

已滿足適用檢查項的 100%

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

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