Skip to main content
Glama

x402-buyer-mcp

x402エコノミーのためのユニバーサルなバイヤーエージェント。

Claude Desktop、Cursor、Claude Codeのユーザーが、あらゆるx402エンドポイントを自動的に検索、支払い、呼び出しできるようにするMCPサーバーです。Claudeに質問するだけで、その回答に対する支払いをUSDCで行います。

ウォレットも、暗号資産の知識も、APIキーも不要です。ただ質問と回答があるだけです。

このツールの機能

x402プロトコルにより、AIエージェントはUSDCでAPI呼び出しの支払いを行うことができます。しかし、これまでエコシステム内のツールのほとんどは、支払いを受け取る「売り手」側のエンドポイントでした。これは「買い手」側、つまり支出を行うエージェントです。

Claudeに「stripe.comは安全ですか?」と尋ねると、このMCPは以下の処理を行います:

  1. 適切なx402エンドポイント(Domain Shield — VirusTotal + DNSセキュリティ)を検索

  2. AgentCashウォレットを使用して、Baseチェーン上のUSDCで0.12ドルを支払う

  3. スコア付けされた完全なセキュリティレポートをClaudeに返す

  4. Claudeが自然な形で回答を統合する

ウォレットを操作する必要も、ブロックチェーンを意識する必要もありません。プレミアムデータに裏打ちされた回答が得られるだけです。

インストール

前提条件

  1. AgentCashウォレットへの入金(初回のみ、2分で完了):

    npx agentcash install

    プロンプトに従ってウォレットを作成し、Baseチェーン上のUSDCを入金してください。5ドルで約40回の呼び出しが可能です。

Claude Desktop

claude_desktop_config.json に以下を追加してください:

{
  "mcpServers": {
    "x402-buyer": {
      "command": "npx",
      "args": ["-y", "x402-buyer-mcp"]
    }
  }
}

Cursor

.cursor/mcp.json に以下を追加してください:

{
  "mcpServers": {
    "x402-buyer": {
      "command": "npx",
      "args": ["-y", "x402-buyer-mcp"]
    }
  }
}

Claude Code

claude mcp add x402-buyer -- npx -y x402-buyer-mcp

ツール

x402_discover

質問に回答できるx402エンドポイントを検索します。

"Find endpoints for domain security scanning"
"Search for company intelligence APIs"
"What x402 endpoints handle drug interactions?"

x402_call

自動決済機能付きで、あらゆるx402エンドポイントを呼び出します。

"Call https://www.alderpost.co/api/domain-shield?domain=stripe.com"
"Call https://www.alderpost.co/api/company-xray?domain=hubspot.com"

x402_balance

AgentCashウォレットの残高を確認します。

"What's my x402 balance?"
"How many calls can I afford?"

x402_research

キラー機能。 複数のエンドポイントによる並列リサーチ。ドメインを指定すると、3〜5つのエンドポイントを同時に呼び出し、完全なインテリジェンス情報を返します。

"Research stripe.com" → calls 5 endpoints (~$0.64):
  - Domain Shield (security scan)
  - Company X-Ray (firmographics)
  - Threat Pulse (threat intel)
  - Compliance Check (audit)
  - Prospect IQ (contact info)

"Research ibuprofen" → calls 1 endpoint (~$0.10):
  - Health Signal (FDA data + drug interactions)

"Research 123 Main St Milwaukee WI" → calls 1 endpoint (~$0.10):
  - Property Intel (demographics + amenities)

予算管理:max_costを設定して、リサーチ呼び出しごとの総支出額に上限を設けることができます。

レジストリ内のエンドポイント

組み込みのレジストリには、有料データソースに裏打ちされたプレミアムエンドポイントが含まれています:

エンドポイント

取得できる情報

価格

プレミアムソース

Domain Shield

DNSセキュリティ + マルウェアスキャン

$0.12

VirusTotal (70以上のエンジン)

Company X-Ray

企業情報 + 技術スタック

$0.15

People Data Labs

Threat Pulse

IP/ドメイン脅威インテリジェンス

$0.10

VirusTotal + AbuseIPDB

Prospect IQ

営業インテリジェンス + メール連絡先

$0.12

Hunter.io

Compliance Check

ITコンプライアンス監査

$0.15

Qualys SSL Labs

Health Signal

医薬品情報 + 相互作用

$0.10

NIH RxNorm + FDA

Property Intel

場所 + 人口統計

$0.10

US Census + OpenWeather

Sports Edge

試合前のAI分析

$0.12

The Odds API + Claude AI

すべてのエンドポイントは Alderpost Intelligence によって提供されています。

支払いの仕組み

You ask Claude a question
  → Claude calls x402_research or x402_call
    → This MCP calls AgentCash CLI
      → AgentCash signs a USDC payment on Base
        → The endpoint verifies + settles on-chain
          → Data returned to Claude
            → Claude answers your question

AgentCashに一度入金すれば、すべてのx402呼び出しはその残高から引き落とされます。サブスクリプションもAPIキーも不要です。使用した分だけ支払います。

セッション例

You: "Tell me everything about hubspot.com"

Claude: I'll run a comprehensive research scan on hubspot.com.
[Calls x402_research with subject "hubspot.com"]

Results from 5 endpoints ($0.64 total):

Domain Shield: Security score 85/100. DMARC=reject, SPF=pass,
DKIM configured. VirusTotal: clean (0/94 engines flagged).

Company X-Ray: HubSpot, Inc. Founded 2006. 10,268 employees.
Computer Software. Cambridge, MA. Public company.
Tech: Cloudflare CDN, Google Workspace, Next.js.

Threat Pulse: Threat score 92/100. No blacklist hits.
AbuseIPDB: 0 reports. Clean reputation.

Compliance Check: SSL Labs grade A. 6/6 security headers.
DNSSEC not enabled. Cookie consent detected.

Prospect IQ: Prospect score 82/100 (hot). 5 verified email
contacts found via Hunter.io. Email pattern: {first}@hubspot.com.

料金

このMCPサーバーは無料です。支払うのは呼び出したx402エンドポイントの料金のみです。一般的なコスト:

  • 単一エンドポイントの呼び出し:$0.10 - $0.15

  • 完全なドメインリサーチ(5エンドポイント):約$0.64

  • 健康/不動産/スポーツのクエリ:約$0.10

AgentCashの5ドルで、約40回の個別呼び出し、または8回分の完全なリサーチレポートが可能です。

このツールの存在意義

x402プロトコルは、エージェントが自律的にデータに対して支払いを行うために設計されています。しかし、エコシステムには「コールドスタート問題」があります。売り手はエンドポイントを構築しましたが、それを呼び出す買い手が不足しているのです。このMCPは、x402を意図した通りに機能させるための買い手側のインフラストラクチャです。

インストールするたびに、x402エコノミーに新しい買い手が生まれます。リサーチ呼び出しを行うたびに、3〜5件の実際のオンチェーン取引が生成されます。これがエージェントエコノミーを立ち上げる方法です。

リンク

ライセンス

MIT — Alderpost LLC, Wisconsin

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

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/8randonpickart5/x402-buyer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server