インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Binance をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
AI に Binance の暗号資産のリアルタイム市場データを読み取らせます。全ペアの現物価格と 24 時間の変動、板情報、直近の約定、価格推移に加え、USD-M 先物ではマーク価格、資金調達率、建玉、ロング/ショート比率を参照できます。公開データなので、アカウントもキーも不要です。読み取り専用で、取引や資金の移動はできません。
こう聞いてみよう
Binance のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Binance をクリック、キーなしでインストール、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Binance + Gemini
AI に Binance の暗号資産のリアルタイム市場データを読み取らせます。全ペアの現物価格と 24 時間の変動、板情報、直近の約定、価格推移に加え、USD-M 先物ではマーク価格、資金調達率、建玉、ロング/ショート比率を参照できます。公開データなので、アカウントもキーも不要です。読み取り専用で、取引や資金の移動はできません。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
(なし: 公開データのため API キーは不要)
ステップ 1 — コネクタを設定
公開市場データ、キー不要: 設定するものはありません。このコネクタは Binance の公開市場データを Spot API と USD-M 先物 API から読み取ります。Binance のアカウント、API キー、サインインは必要ありません。
- コネクタストアで Binance を選び、インストールします。入力するものはなく、Authorize with Provider の手順もありません。
binance_get_server_timeで確認します。Binance が応答すれば、サーバーの接続元リージョンにサービスが提供されています。次に価格を尋ねてみます。BTCUSDTを指定したbinance_get_priceで、いま 1 ビットコインが何 Tether かがわかります。
利用できる場所: Binance は米国と一部の制限地域からのリクエストを HTTP 451 で拒否します。AnythingMCP Cloud は EU から Binance に接続するため、Cloud では利用できます。制限地域にあるセルフホストのサーバーでは、すべてのツールで 451 が返ります。現物データに限り、セルフホストのサーバーはコネクタのベース URL を Binance の市場データミラー https://data-api.binance.vision に向けることができ、同じ現物のルートが使えます。先物ツールは常に fapi.binance.com を呼び出します。Binance.US は独自の価格を持つ別の取引所で、対象外です。
設計上、取引も資金の移動もできません: 注文の発注や取り消し、売買や交換、振替、入金、出金を行うツールはありません。オンにできるツールもありません。コネクタはリクエストに署名することがなく、Binance アカウントを見ることもないためです。誰かの残高、注文、ポジション、約定履歴、入金アドレスを見ることもできません。ご自身のアカウントは Binance のアプリまたはウェブサイトで確認してください。
投資助言ではありません: 価格、出来高、資金調達率、比率は参考情報です。AI が売買や保有、ロングやショートを勧めることはありません。数値を時刻と出典とともに示し、暗号資産の価格は動きが速いこと、レバレッジをかけた先物では証拠金以上の損失が出ることがあると添えます。
読み取れるデータ: 現物では、1 つ、複数、または全ペアの価格、24 時間の統計と 1 分から 7 日までの任意の期間の統計、最良の買値と売値、板情報、直近の約定、ローソク足、ティックサイズや最小注文金額などペアの取引ルールです。USD-M 先物では、最終価格、24 時間の統計、ローソク足、板情報、現在の資金調達率と次回の資金調達時刻を含むマーク価格とインデックス価格、過去の資金調達率、建玉とその推移、アカウントのロング/ショート比率です。先物の一覧には、株式やコモディティを対象とする無期限契約と四半期の受渡契約も含まれます。
保有分の評価: 保有している数量を AI に伝えてください(例: 0.5 BTC と 3 ETH)。AI はそれぞれの数量に、お使いの建て通貨(BTCEUR、ETHEUR、または USDT のペア)での現物価格を掛けて合計し、使った価格の時刻を示します。USDT と USDC はドル建てのステーブルコインで、1 USD に近いものの、ちょうど 1 USD ではありません。
シンボル: Binance はペアを大文字の 1 語で、基軸資産を先に書きます(例: BTCUSDT は Tether 建てのビットコイン、ETHBTC、BNBEUR)。ハイフンもスラッシュも入りません。存在しないペアも多く(BTCEUR はありますが SOLCHF はありません)、存在しないシンボルにはコード -1121 の 400 が返ります。現物と先物は価格の異なる別々の市場です。先物の BTCUSDT は無期限契約で、現物ペアではありません。
数値と時刻: 価格は桁が失われないようテキストで返されます。時刻は UTC の Unix ミリ秒で、AI があなたのタイムゾーンに換算します。資金調達率は 1 回の資金調達間隔あたりの比率で(0.0001 は 0.01 %)、プラスならロングがショートに支払います。ロング/ショート比率はアカウント数の比率で、ポジションの大きさではありません。建玉の推移とロング/ショート比率は直近 30 日分だけです。
制限: Binance は IP アドレスごとにリクエストの重みで制限します。現物は 1 分あたり 6,000、先物は 2,400 で、さらに先物の統計は 5 分あたり 1,000 リクエスト、資金調達率の履歴は 500 リクエストまでです。Cloud のサーバーは 1 つの IP をユーザー間で共有するため、AI は複数のシンボルを 1 回の呼び出しでまとめて取得し、結果を小さく保ちます。429 が返ったら AI は止まって待ちます。そのまま続けると、HTTP 418 で 2 分から最長 3 日間 IP が遮断されます。
よくあるエラー: コード -1121 の 400 は不明なシンボル、-1100 や -1102 はパラメータの形式誤りまたは不足です。451 は Binance がサーバーのリージョンにサービスを提供していないことを示します。403 は Binance のファイアウォールがリクエストを遮断したことを示し、多くはレート制限によるものです。429 と 418 の場合は待つ必要があります。
このコネクタは、Binance アカウントや署名付きリクエストが必要なもの(残高、注文、約定、ポジション、レバレッジ、振替、入金、出金、Earn、Convert、マージン)、COIN-M 先物、オプション、WebSocket ストリーム、Binance.US には対応していません。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Gemini にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Gemini CLI は ~/.gemini/settings.json(Windows では %USERPROFILE%\.gemini\settings.json)から MCP サーバーを読み込みます。次を追加してください:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- AnythingMCP の MCP Servers → 対象のサーバー → API keys で MCP API キーを作成し、
YOUR_MCP_API_KEYと置き換えます。 - ファイルを保存し、
geminiを再起動します。 - Gemini CLI で
/mcpを実行します(またはシェルでgemini mcp list)。anythingmcpが接続済みとして表示されるはずです。 - プロンプトを入力しましょう。Gemini CLI が
Binanceのツールを呼び出せるようになりました。
利用可能なツール
| Tool | What it does |
|---|---|
binance_get_server_time | Read Binance's current server time as Unix milliseconds (weight 1) |
binance_list_symbols | List the spot trading pairs that are trading on Binance right now (symbol names only, about 1,400, e.g |
binance_get_symbol_info | Read the trading rules of one Binance spot pair: status, base and quote asset, precisions, order types and filters such as tick size… |
binance_get_price | Read the latest spot price of one Binance pair, several pairs (symbols) or, with neither, every pair |
binance_get_24h_ticker | Read 24 hour statistics of Binance spot pairs: last price, change and change in percent, open, high, low, weighted average price, volume in… |
binance_get_rolling_ticker | Read price change statistics of Binance spot pairs over a window other than 24 hours, from 1 minute to 7 days: open, high, low, last price… |
binance_get_book_ticker | Read the best bid and best ask (price and quantity) of one Binance spot pair, several (symbols) or all |
binance_get_avg_price | Read the current average price of a Binance spot pair over the last few minutes (mins), the reference Binance uses for some order filters |
binance_get_order_book | Read the order book of a Binance spot pair: the best bids and asks as [price, quantity] pairs, best first. limit sets the levels per side… |
binance_get_recent_trades | Read the most recent public trades of a Binance spot pair: price, quantity in the base asset, value in the quote asset, time (Unix… |
binance_get_klines | Read price history of a Binance spot pair as candles (klines), oldest first: open time, open, high, low, close, volume in the base asset… |
binance_futures_list_symbols | List the USD-M futures contracts trading on Binance right now (symbol names only), grouped into crypto perpetuals, perpetuals on stocks… |
binance_futures_get_price | Read the latest traded price of one Binance USD-M futures contract, or of all with no symbol |
binance_futures_get_24h_ticker | Read 24 hour statistics of Binance USD-M futures contracts: last price, change in percent, open, high, low, weighted average price, volume… |
binance_futures_get_klines | Read price history of a Binance USD-M futures contract as candles (klines), oldest first: open time, open, high, low, close, volume, quote… |
binance_futures_get_mark_price | Read the mark price, index price and current funding rate of Binance USD-M perpetual contracts, with the time of the next funding (Unix… |
binance_futures_get_funding_rate_history | Read past funding rates of a Binance USD-M perpetual contract, oldest first: funding time (Unix milliseconds), fundingRate as a fraction… |
binance_futures_get_open_interest | Read the current open interest of a Binance USD-M futures contract: the number of open contracts in the base asset (BTC for BTCUSDT) and… |
binance_futures_get_open_interest_history | Read the open interest history of a Binance USD-M futures contract per period: sumOpenInterest in the base asset, sumOpenInterestValue in… |
binance_futures_get_long_short_ratio | Read the long/short account ratio of a Binance USD-M futures contract per period: the share of all accounts with a net long position… |
binance_futures_get_order_book | Read the order book of a Binance USD-M futures contract: the best bids and asks as [price, quantity] pairs, best first |
プロンプトの例
- 「ビットコイン、イーサ、ソラナはいま何 USDT ですか?直近 24 時間でどう動きましたか?」
- 「0.5 BTC と 3 ETH を持っています。いまユーロでいくらになりますか?」
- 「BTCUSDT の無期限契約の資金調達率はいまいくつですか?この 1 週間でどう変わりましたか?」
- 「いま資金調達率が最も極端な先物契約はどれですか?」
- 「ETHUSDT の直近 7 日間の建玉とロング/ショート比率を、1 日ごとに見せてください。」
FAQ
Gemini CLI はどこから MCP サーバーを読み込みますか? ユーザー単位では ~/.gemini/settings.json、プロジェクト単位ではプロジェクト内の .gemini/settings.json です。gemini mcp list で各サーバーと接続状態を確認できます。
次のステップ
このガイドは役に立ちましたか?