Chain Receipt
Create and verify signed, Bitcoin-anchored receipts for AI calls.
使うべきか
品質と安全性
検出事項(2)
- LOWcreate-receipt 内
- LOWverify-receipt 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"chain-receipt": {
"url": "https://chainreceipt.link/api/mcp"
}
}
}リモートエンドポイント
https://chainreceipt.link/api/mcpstreamable-httpできること
ツール一覧
ツール(2)
🟡create-receipt(model, messages, max_tokens, temperature, provider_key, ...)
Make an AI chat call through Chain Receipt and get a signed, Bitcoin-anchored receipt for it. Needs a Chain Receipt API key (send it as the Authorization bearer token when connecting). Returns the model's answer plus the receipt id, hash, signature and verify URL. One receipt per call, counted against the org's monthly quota like any proxy call.
入力スキーマ
{
"type": "object",
"properties": {
"model": {
"type": "string",
"minLength": 1,
"description": "The model as \"provider/model\", e.g. \"google/gemini-3.6-flash\", \"openai/gpt-6-luna\", \"anthropic/claude-haiku-4-5\" or \"xai/grok-4.3\"."
},
"messages": {
"minItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"description": "e.g. \"user\", \"system\", \"assistant\"."
},
"content": {
"type": "string",
"description": "The message text."
}
},
"required": [
"role",
"content"
]
},
"description": "The chat messages to send to the model."
},
"max_tokens": {
"description": "Maximum tokens in the model's reply.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"temperature": {
"description": "Sampling temperature, 0–2.",
"type": "number",
"minimum": 0,
"maximum": 2
},
"provider_key": {
"description": "Provider API key for this call only. Omit to use the org's stored provider key.",
"type": "string"
},
"customer_ref": {
"description": "Your own reference for this call, stored on the receipt.",
"type": "string",
"maxLength": 128
}
},
"required": [
"model",
"messages"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢verify-receipt(receipt_id, receipt, receipt_hash, signature, prompt, ...)
Check a Chain Receipt: recomputes the hash, verifies the Ed25519 signature, and reports the Bitcoin anchoring status. No API key needed — the same public check as the verify page. Pass receipt_id, or the full receipt envelope.
入力スキーマ
{
"type": "object",
"properties": {
"receipt_id": {
"description": "The receipt id, e.g. \"rcpt_...\".",
"type": "string"
},
"receipt": {
"description": "The full receipt envelope object instead of receipt_id (for receipts not in the ledger)."
},
"receipt_hash": {
"description": "The claimed receipt hash, for the envelope form.",
"type": "string"
},
"signature": {
"description": "The receipt signature, for the envelope form.",
"type": "object",
"properties": {
"key_id": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"value"
]
},
"prompt": {
"description": "The original prompt text, to re-check the prompt commitment (needs salts).",
"type": "string"
},
"response": {
"description": "The original provider response JSON, to re-check the response commitment (needs salts)."
},
"salts": {
"description": "The salts returned with the receipt (base64, prompt + response).",
"type": "object",
"properties": {
"prompt": {
"type": "string"
},
"response": {
"type": "string"
}
},
"required": [
"prompt",
"response"
]
},
"anchor": {
"description": "The envelope's anchor block (merkle_proof + merkle_root), to check a receipt not in the ledger."
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス