btcmatic-mcp-server
Officialbtcmatic-mcp-server
BTCMatic agent API 用のMCPサーバー。コール単位課金のBitcoin市場情報を自律エージェントのもとへ届けます — 自己保有セキュリティレーダー、手数料のパーセンタイル、価格変動ウインドウ、条件発生頻度 — 支払いはLightning上のsで行われます。アカウントもAPIキーもクレジットカードも不要です。インターネットは 402 と入金を含んだ状態で支払いを求めてきて、エージェントのウォレットが支払い、プリイメージが揃ったところでツール呼び出しが完了します。
BTCMaticはBitcoinのイベントエンジンです。このパッケージは、エージェントがその世界に入るための入口です。ここにあるものはすべて読み取り専用コンテキストであり、ルールの作成、注文の実行、他への通知、資金への接触は一切できません。
ツール
ツール | 有料 | 機能 |
| 無料 | 価格・プリペイドの上限・支払いフロー — 最初に呼び出してください |
| 有料 | オープン/確認済みの自己保有インダ事故、プロダクト横断のザワつきカウント(識別ソースのカウント付き)、ソース別の精度台帳 |
| 有料 | 最新価格+1h/24h/7dの変動、次ブロック手数料+その90日パーセンタイル、メンプールサイズ。古い値は除外され、欠損は報告されます |
| 有料 |
|
| 無料 | 指定のプリペイド用チャージインボイスを発行 |
| 無料 | プリイメージでチャージを証明し、ベアラートークンを取得(一度だけ表示) |
| 無料 | プリペイド残高と呼び出し回数 |
有料のツール呼び出しは1回につき約210 s(最新の料金は btcmatic_discover に表示されます)。
Related MCP server: x402-api
支払いの仕組み
証明なしで有料ツールを呼びます。結果は、エラーではなくデータとしての402オファーです。
{ kind: "offer", price_sats, bolt11, payment_hash, next_step }あなたのウォレットが
bolt11を支払い、プリイメージを表示します。同じツールを
{ payment_hash, preimage }付きで再呼び出します。この証明は一度だけです。
プリペイド:btcmatic_topup → 支払 → btcmatic_topup_claim → トークン。サーバーを BTCMATIC_AGTT_TOKEN=agt_… 付きで起動すると、有料ツールの呼び出しごとにバランスから引落しされます。バランスがゼロになると、ツールは { kind: "topup_needed" } を返します。
このサーバーは鍵を決し保持せす、支払うこともあありません。証明を移動させるだけで、支払うかど姃かは常にあ孄のウォレット自【が決定します。証明の形シーは Authorization: L402 <payment_hash>:<preimage> です。ペイメントハッシュが CMatic が発行したインボイスを指し、 sha256(preimage) = payment_hash が証明になるため、マカロンは必要あません。
インストール
{
"mcpServers": {
"btcmatic": {
"command": "npx",
"args": ["-y", "btcmatic-mcp-server"],
"env": { "BTCMATIC_AGENT_TOKEN": "agt_…" }
}
}
}BTCMATIC_AGENT_TOKEN は任意です(これがなくても、都度の402フローで支払います)日本語 BTCMATIC_API_URL でAPIベースURLを変更できます(既定: https://api.btcmatic.com)。
数値の意味 — 数値でないもの
ソースごとの精度は、BTCMaticが手動で設定し、btcmatic.com/radar に公開しているラベルから得られます。ラベルがないソースには、精度の表示は一切ありません。
手数料パーセンタイル、変動ウィンドウ、発生頻度は、過去の公開データに基づく記述統計です。これらは過去を説明するだけで、予測を行ったり、売買を推奨したりするものではありません。
有料のレスポンスには必ず
metaブロックが含まれ、支払金額、残高、免責事項、サインアップURLが載ります。同じデータはBTCMaticアカウントでも無料で得られます。このAPIが存在するのは、アカウントを持てないクライアントのためです。
開発
pnpm install
pnpm build && pnpm test && pnpm lint
BTCMATIC_API_URL=http://localhost:3000 node dist/cli.js # stdio transportリソース
Agent API ドキュメント: https://btcmatic.com/integrations/agents
OpenAPI(タグ
httpt): https://api.btcmatic.com/docsBTCMatic for automations(APIキー、n8n): https://btcmatic.com/integrations/n8n
ライセンス
MIT
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
- AlicenseAqualityBmaintenanceMCP server that enables AI agents to make autonomous Bitcoin Lightning Network payments using the L402 protocol. Agents can pay for API access, purchase resources, and complete transactions without human intervention — invoice comes in, sats go out, done.179MIT
- AlicenseAqualityDmaintenanceMCP server for pay-per-call DeFi and crypto data via x402 micropayments on Base. 8 endpoints: token prices, TVL, funding rates, token security, gas tracker, whale monitoring, wallet profiling, and yield scanning.846MIT
- AlicenseNot gradedqualityDmaintenanceMinimal MCP server demonstrating L402 pay-per-call with Depth-of-Identity reputation gating, providing a bitcoin data tool that fetches BTC price and mempool fees.MIT
- AlicenseBqualityCmaintenanceMCP server offering 26 Lightning-paid tools for Bitcoin mempool intelligence and sovereign on-prem AI inference, with no third-party APIs and pay-per-call in sats.26181MIT
Related MCP Connectors
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
MCP marketplace: agents pay per call in USDC via x402. Plus Base chain data and a USDC<->bank ramp.
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/btcmatic-com/btcmatic-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server