Skip to main content
Glama
MilesCool

Binance Bitcoin MCP Tool

by MilesCool

Binance ビットコイン MCP ツール

このプロジェクトは、Binanceからビットコインの価格データを取得するためのモデルコンテキストプロトコル(MCP)ツールを提供します。これにより、大規模な言語モデルが標準化されたインターフェースを通じて、リアルタイムおよび過去のビットコイン市場データにアクセスできるようになります。

特徴

  • 現在のビットコインのティッカーデータ(価格、24時間の変化、取引量など)を取得します

  • 注文簿から最良の入札価格と売り価格を取得する

  • 最近の取引を取得する

  • カスタマイズ可能な間隔で過去の価格データを取得します

  • 短時間のリアルタイムビットコイン価格更新をストリーミング

Related MCP server: Binance Cryptocurrency MCP

インストール

# Clone the repository
git clone https://github.com/yourusername/binance-mcp.git
cd binance-mcp

# Install dependencies
pnpm install

# Build the project
pnpm build

使用法

このツールを MCP 互換の LLM クライアントで使用するには:

# Start the MCP server
pnpm start

次に、MCP 対応の LLM クライアントを接続して、Binance データとやり取りします。

利用可能なツール

  1. get_bitcoin_ticker - 現在のビットコインのティッカーデータを取得する

    • パラメータ:

      • symbol (オプション、デフォルト:"BTCUSDT") - 取引ペアのシンボル

  2. get_bitcoin_order_book - 現在の最良の入札価格と売り価格を取得する

    • パラメータ:

      • symbol (オプション、デフォルト:"BTCUSDT") - 取引ペアのシンボル

  3. get_bitcoin_recent_trades - 最近の取引を取得する

    • パラメータ:

      • symbol (オプション、デフォルト:"BTCUSDT") - 取引ペアのシンボル

      • limit (オプション、デフォルト: 10) - 取得する取引の数

  4. get_bitcoin_price_history - 過去のkline/ローソク足データを取得する

    • パラメータ:

      • symbol (オプション、デフォルト:"BTCUSDT") - 取引ペアのシンボル

      • interval (オプション、デフォルト: "1h") - クライン間隔(1m、3m、5m、15m、30m、1h、2h、4h、6h、8h、12h、1d、3d、1w、1M)

      • limit (オプション、デフォルト: 24) - 取得するキャンドルの数

  5. get_realtime_bitcoin_price - リアルタイムの価格更新を取得する

    • パラメータ:

      • symbol (オプション、デフォルト:「btcusdt」) - 小文字の取引ペアシンボル

      • duration (オプション、デフォルト:5、最大:30) - リアルタイムデータを収集する期間(秒)

LLMのプロンプト例

MCP 互換の LLM に接続すると、次のようなプロンプトを使用できるようになります。

  1. 「現在のビットコインの価格と24時間の変化は?」

  2. 「ビットコインの現在の売値と買値のスプレッドを教えてください。」

  3. 「過去 10 件のビットコイン取引を分析し、パターンを特定します。」

  4. 「過去 24 時間のビットコインの価格履歴を取得し、傾向を説明します。」

  5. 「ビットコインのリアルタイム取引を5秒間観察し、買い圧力または売り圧力が高まっているかどうか教えてください。」

発達

プロジェクトに変更を加えるには:

  1. srcディレクトリのソースコードを変更する

  2. pnpm buildを実行してTypeScriptコードをコンパイルします。

  3. pnpm startで変更をテストする

免責事項

このツールは教育および情報提供のみを目的としており、金融アドバイスではありません。

Available Tools

1 tool
crypto-priceC

Get the current price of a cryptocurrency

ParametersJSON Schema
NameRequiredDescriptionDefault
symbolYes

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden for behavioral disclosure. While 'Get' implies a read-only operation, the description doesn't address important behavioral aspects like rate limits, data freshness (how current is 'current'), error conditions, or authentication requirements. For a tool with zero annotation coverage, this represents a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is perfectly concise - a single sentence that states exactly what the tool does without any wasted words. It's front-loaded with the core functionality and contains no redundant information. Every word earns its place in this minimal but complete statement of purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations, no output schema, and 0% schema description coverage, the description is inadequate. While concise, it doesn't provide enough information about behavior, parameter usage, or return values. The agent would need to guess about important aspects like response format, error handling, and parameter constraints.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, with one undocumented parameter 'symbol'. The description mentions 'cryptocurrency' which provides some context for what 'symbol' might represent, but doesn't specify format (e.g., 'BTC', 'bitcoin', ticker symbols), valid values, or examples. This minimal compensation for the complete lack of schema documentation is insufficient.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Get') and resource ('current price of a cryptocurrency'), making the purpose immediately understandable. It's specific enough to distinguish this tool from potential alternatives like historical price tools or exchange rate calculators. However, it doesn't explicitly differentiate from non-existent siblings, so it doesn't reach the highest score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, prerequisites, or limitations. It simply states what the tool does without context about appropriate use cases or constraints. Since there are no sibling tools mentioned, this omission is less critical but still leaves the agent without usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.0
    • First observedcrypto-price

TDQS

C2.9/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly distinct by default.

Naming Consistency5/5

A single tool inherently has perfect naming consistency, as there are no other tools to compare it against for patterns or deviations.

Tool Count2/5

One tool is too few for a server named 'Binance Bitcoin MCP Tool', which suggests broader cryptocurrency functionality. This minimal set severely limits the server's scope and utility.

Completeness1/5

The tool surface is severely incomplete for the implied domain of Binance Bitcoin operations. It only provides price checking, lacking essential functions like trading, account management, or market data analysis.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that exposes Binance cryptocurrency exchange data to LLMs, allowing agents to access real-time prices, order books, and historical market data without requiring API keys.
    21
    MIT
  • A
    license
    D
    quality
    D
    maintenance
    MCP service that provides real-time access to Binance cryptocurrency market data, allowing AI agents to fetch current prices, order books, candlestick charts, and trading statistics through natural language queries.
    12
    68 npm
    43
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    An HTTP-based Model Context Protocol server that provides tools and resources for accessing real-time cryptocurrency data from the Binance API. It enables users to fetch prices, analyze market changes, and track activity via a streamable endpoint.
    467 npm
    MIT