Skip to main content
Glama
btcmatic-com

btcmatic-mcp-server

Official
by btcmatic-com

btcmatic-mcp-server

BTCMatic agent API 用のMCPサーバー。コール単位課金のBitcoin市場情報を自律エージェントのもとへ届けます — 自己保有セキュリティレーダー手数料のパーセンタイル価格変動ウインドウ条件発生頻度 — 支払いはLightning上のsで行われます。アカウントもAPIキーもクレジットカードも不要です。インターネットは 402 と入金を含んだ状態で支払いを求めてきて、エージェントのウォレットが支払い、プリイメージが揃ったところでツール呼び出しが完了します。

BTCMaticはBitcoinのイベントエンジンです。このパッケージは、エージェントがその世界に入るための入口です。ここにあるものはすべて読み取り専用コンテキストであり、ルールの作成、注文の実行、他への通知、資金への接触は一切できません。

ツール

ツール

有料

機能

btcmatic_discover

無料

価格・プリペイドの上限・支払いフロー — 最初に呼び出してください

btcmatic_radar

有料

オープン/確認済みの自己保有インダ事故、プロダクト横断のザワつきカウント(識別ソースのカウント付き)、ソース別の精度台帳

btcmatic_context

有料

最新価格+1h/24h/7dの変動、次ブロック手数料+その90日パーセンタイル、メンプールサイズ。古い値は除外され、欠損は報告されます

btcmatic_condition_frequency

有料

metric op value が過去90日間に何回真になったか(毎時解像・立ち上がりエッジ)と、何時間それが持続したか

btcmatic_topup

無料

指定のプリペイド用チャージインボイスを発行

btcmatic_topup_claim

無料

プリイメージでチャージを証明し、ベアラートークンを取得(一度だけ表示)

btcmatic_credits

無料

プリペイド残高と呼び出し回数

有料のツール呼び出しは1回につき約210 s(最新の料金は btcmatic_discover に表示されます)。

Related MCP server: x402-api

支払いの仕組み

  1. 証明なしで有料ツールを呼びます。結果は、エラーではなくデータとしての402オファーです。
    { kind: "offer", price_sats, bolt11, payment_hash, next_step }

  2. あなたのウォレットが bolt11 を支払い、プリイメージを表示します。

  3. 同じツールを { 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

リソース

ライセンス

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    B
    maintenance
    MCP 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.
    17
    9
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP 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.
    8
    46
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Minimal 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
  • A
    license
    B
    quality
    C
    maintenance
    MCP 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.
    26
    18
    1
    MIT

View all related MCP servers

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.

View all MCP Connectors

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/btcmatic-com/btcmatic-mcp-server'

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