truth-anchor-agent
⚓️ Truth Anchor Agent
Truth Anchor Agentは、**引用の証明(citation attestation)**を行うためのMCP(Model Context Protocol)サーバーです。エージェントがソースを引用する前に、URLが解決されることを確認し、最終的な宛先を記録し、軽量なページメタデータを取得し、取得したコンテンツのハッシュを返すことができます。
課題: AIエージェントは、使用時点でソースがどのような状態であったかを確認せずに、リンク切れ、リダイレクト、または変更されたURLを引用することがよくあります。 解決策: エージェントが引用に依存する前に、ソースの可用性と軽量な証明メタデータを記録する有料の検証ステップを提供します。
保証されること
検証時にURLが取得されたこと。
サービスが最終的なURL、HTTPステータス、リダイレクトの挙動、および基本的なHTMLメタデータを報告すること。
レスポンスに
content_sha256ハッシュが含まれ、後続のシステムが観測された内容を固定(アンカー)できること。オプションのクレーム照合が単純な部分文字列チェックであること。
Related MCP server: Predicate
保証されないこと
セマンティックなファクトチェックエンジンではありません。
ページが信頼できることを証明するものではなく、サービスが取得した時点で観測された内容を示すのみです。
複雑な主張に対する検索、RAG、または人間のレビューに代わるものではありません。
🛠 Model Context Protocol (MCP) 統合
このサーバーは、MCP準拠のLLM(Claude Desktop、ChatGPT、IDEなど)が自律的に使用できる verify_url ツールを公開しています。
Claude Desktopへの登録
claude_desktop_config.json に以下を追加してください:
{
"mcpServers": {
"truth-anchor": {
"command": "npx",
"args": ["-y", "truth-anchor-agent"],
"env": {
"MY_WALLET_ADDRESS": "0x367B9193D4F9cb4877Ca58E6F3ce944d761d8009"
}
}
}
}インターフェース
MCPツール
MCPツールは2ステップのフローを使用します:
URLを指定して
verify_urlを呼び出す。支払い証明が提供されていない場合は、支払い手順を受け取る。
支払い送信後、
tx_hashを指定して再試行する。
HTTP API
HTTP APIは、APIキーとx402形式の署名付き支払いを使用します:
POST /auth/provisionを呼び出して無料のAPIキーを取得する。最初の50リクエストは無料で利用可能。
それ以降は、
POST /verifyにX-Paymentを付与する。
💳 支払いフロー
HTTP APIは、無料枠を使い切った後の有料リクエストに対して 402 Payment Required フローを実装しています。
リクエスト: エージェントがURLを指定して
/verifyを呼び出す。チャレンジ: サーバーが支払い手順とともに
402 Payment Requiredを返す。支払い: エージェントがBase USDC支払い承認に署名する。
検証: エージェントが
X-Paymentヘッダーを付けて再試行する。証明: サーバーが支払いを検証し、ソースチェックの結果を返す。
⚡️ APIリファレンス
POST /verify
ソースが解決されることを検証し、証明メタデータを返します。以下が必要です:
Authorization: Bearer <api_key>無料枠を使い切った後の
X-Payment
ヘッダー:
ヘッダー | 説明 |
|
|
| 無料枠以降の署名済みx402/EIP-3009支払いペイロード |
リクエストボディ:
{
"url": "https://base.org",
"claim": "Base is an Ethereum L2"
}成功レスポンス (200 OK):
{
"url": "https://base.org",
"final_url": "https://base.org/",
"is_live": true,
"status_code": 200,
"redirected": false,
"ssl_valid": true,
"checked_at": "2026-04-02T12:00:00Z",
"content_type": "text/html",
"content_length_bytes": 31245,
"title": "Base",
"description": "Base is a secure, low-cost, builder-friendly Ethereum L2.",
"content_sha256": "9d72c4...",
"claim": "Base is an Ethereum L2",
"claim_found": true,
"claim_match_method": "substring",
"paid": false,
"free_requests_remaining": 49
}🏗 技術スタック
FastAPI — 高性能なPython APIフレームワーク。
Web3.py — リアルタイムのオンチェーン検証(Base RPC)。
SQLite — リプレイ攻撃の防止およびトランザクションのインデックス作成。
Fly.io — グローバルエッジデプロイメント。
Base — 高速で低コストなUSDC支払いのためのL2 Ethereum。
ポジショニングに関するメモ
主要な切り口:
エージェントのための引用証明現時点では対象外: 広範な
真実のレイヤー、一般的なファクトチェック、マルチツール拡張製品のギャップと検証に関するメモは
docs/product-positioning.md、docs/user-validation.md、およびdocs/user-validation-proxy.mdに記載されています。
🛠 ローカル開発
# 1. Clone and Install
git clone https://github.com/cristiano-c1/truth-anchor-agent
cd truth-anchor-agent
pip install -r requirements.txt
# 2. Configure
echo "MY_WALLET_ADDRESS=0x367B9193D4F9cb4877Ca58E6F3ce944d761d8009" > .env
# 3. Run
uvicorn main:app --reload📜 ライセンス
MITライセンスの下で配布されています。詳細については LICENSE を参照してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAn MCP server that provides autonomous, multi-source web research capabilities for AI agents. It delivers comprehensive, validated information through deep research tools while maintaining security and compatibility with various LLM providers.MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that provides a self-improving knowledge graph with per-triple provenance and deterministic reasoning, enabling auditable, reproducible, and contradiction-aware answers for AI agents.57,000MIT
- AlicenseNot gradedqualityAmaintenanceThis MCP server enables AI agents to extract, verify, and cache factual claims from text using Claude Haiku and semantic fingerprinting, with tools for content verification, signal verification, and fact memory search.16MIT
- AlicenseAqualityDmaintenanceMCP server for AI agent trust verification, enabling agents to verify identities, check trust scores, and build reputation across multiple blockchain and web platforms.12341MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An MCP Server that provides identity verification and anti-fraud tools for AI agents via deepidv.
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cristiano-c1/truth-anchor-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server