关于 stampthisfile
stampthisfile 是面向 AI Agent 和 MCP 客户端的托管服务,可将文件哈希时间戳记到 Bitcoin。它返回可独立验证的 OpenTimestamps 证明,无需账户或 API 密钥,也不会接收文件本身。
主要功能
- 01将 SHA-256 哈希时间戳记到 Bitcoin
- 02返回 OpenTimestamps .ots 证明
- 03查询时间戳状态和证明
- 04根据文件哈希验证证明
- 05通过 x402 按哈希付费
适用场景
- 01不上传文件,为其创建时间戳
- 02检查待处理的 Bitcoin 时间戳何时完成
MCP 相关
托管的 MCP 服务提供哈希时间戳、查询状态、获取证明和验证证明的工具。时间戳操作通过 x402 按次付费,其他操作免费。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://stampthisfile.com/mcpclaude mcp add --transport http stampthisfile https://stampthisfile.com/mcp{"mcpServers":{"stampthisfile":{"type":"http","url":"https://stampthisfile.com/mcp"}}}在 Cursor 中打开{"servers":{"stampthisfile":{"type":"http","url":"https://stampthisfile.com/mcp"}}}在 VS Code 中打开{"mcpServers":{"stampthisfile":{"type":"http","url":"https://stampthisfile.com/mcp"}}}{"mcpServers":{"stampthisfile":{"serverUrl":"https://stampthisfile.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
stampthisfile MCP 服务
一个托管的 MCP 服务,可让 AI Agent 使用 stampthisfile 为文件添加比特币时间戳:
发送文件的 SHA-256 哈希(绝不发送文件本身),通过 x402 按哈希支付 USDC,并获取标准的 OpenTimestamps
.ots 证明,任何人都能在无需依赖我们的情况下验证。无需账户或 API 密钥。
- 端点:
https://stampthisfile.com/mcp(Streamable HTTP,无状态) - 身份验证:无。添加时间戳通过 x402 按次付费;其他操作均免费。
无需安装或运行任何内容:本仓库介绍的是托管服务。服务本身不开源。
连接
Claude Code:
claude mcp add --transport http stampthisfile https://stampthisfile.com/mcp
Cursor、VS Code 和其他客户端(.mcp.json 风格):
{
"mcpServers": {
"stampthisfile": {
"type": "http",
"url": "https://stampthisfile.com/mcp"
}
}
}
工具
| 工具 | 功能 |
|---|---|
stamp_hashes | 为 1–100 个 SHA-256 哈希添加比特币时间戳。通过 x402 按哈希付费;每个哈希返回一份待处理的 .ots 证明和一张签名收据 |
get_stamp | 查看时间戳状态:待处理、已完成(包含比特币区块和时间)或失败 |
get_proof | 获取当前 .ots 证明的 base64 编码。完成后再次获取,即可得到比特币证明 |
verify_proof | 根据文件的 SHA-256 检查任意 OpenTimestamps 证明 |
证明最初处于待处理状态,待比特币确认后即会完成,通常需要 1–6 小时。已完成的证明表明文件最迟在其对应的比特币区块时间时已经存在。它不是签名,也无法表明是谁创建了文件:在为用作证据的内容添加时间戳前,请先阅读 stampthisfile.com/evidence.md。
定价
添加时间戳的价格固定,按哈希计费,以 Base 上的 USDC 通过 x402 支付,使用 MCP 传输:如果未付款,stamp_hashes 会返回工具错误,其 structuredContent 为 x402 的 PaymentRequired。请在 _meta["x402/payment"] 中附上签名后的 PaymentPayload 重试;如果客户端无法设置 _meta,则在 payment 参数中提供。结算信息会在 _meta["x402/payment-response"] 中返回。无效输入不会收费。读取、下载和验证证明均免费。
更多信息
- stampthisfile.com/llms.txt:面向 Agent 的 API
- stampthisfile.com/openapi.json:REST API
- stampthisfile/skills:同样的内容,以 Agent 技能形式提供
(
npx skills add stampthisfile/skills)
许可证
MIT,适用于本仓库的内容。
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。