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 分