Binance Bitcoin MCP Tool

Binance Bitcoin MCP Tool

Provides an MCP server that allows large language models to access real-time and historical Bitcoin market data from Binance, including current prices, order book data, recent trades, and price history through a standardized interface.

Category
Visit Server

README

Binance Bitcoin MCP Tool

This project provides a Model Context Protocol (MCP) tool for fetching Bitcoin price data from Binance. It allows large language models to access real-time and historical Bitcoin market data through a standardized interface.

Features

  • Get current Bitcoin ticker data (price, 24h change, volume, etc.)
  • Get best bid and ask prices from the order book
  • Fetch recent trades
  • Get historical price data with customizable intervals
  • Stream real-time Bitcoin price updates for short durations

Installation

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

# Install dependencies
pnpm install

# Build the project
pnpm build

Usage

To use this tool with an MCP-compatible LLM client:

# Start the MCP server
pnpm start

Then connect your MCP-compatible LLM client to interact with the Binance data.

Available Tools

  1. get_bitcoin_ticker - Get current Bitcoin ticker data

    • Parameters:
      • symbol (optional, default: "BTCUSDT") - Trading pair symbol
  2. get_bitcoin_order_book - Get current best bid and ask prices

    • Parameters:
      • symbol (optional, default: "BTCUSDT") - Trading pair symbol
  3. get_bitcoin_recent_trades - Get recent trades

    • Parameters:
      • symbol (optional, default: "BTCUSDT") - Trading pair symbol
      • limit (optional, default: 10) - Number of trades to fetch
  4. get_bitcoin_price_history - Get historical kline/candlestick data

    • Parameters:
      • symbol (optional, default: "BTCUSDT") - Trading pair symbol
      • interval (optional, default: "1h") - Kline interval (1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M)
      • limit (optional, default: 24) - Number of candles to fetch
  5. get_realtime_bitcoin_price - Get real-time price updates

    • Parameters:
      • symbol (optional, default: "btcusdt") - Trading pair symbol in lowercase
      • duration (optional, default: 5, max: 30) - Duration in seconds to collect real-time data

Example Prompts for LLMs

Once connected to an MCP-compatible LLM, you can use prompts like:

  1. "What is the current Bitcoin price and 24-hour change?"
  2. "Show me the current spread between bid and ask prices for Bitcoin."
  3. "Analyze the last 10 Bitcoin trades and identify any patterns."
  4. "Get Bitcoin price history for the last 24 hours and explain the trend."
  5. "Watch real-time Bitcoin trades for 5 seconds and tell me if there's more buying or selling pressure."

Development

To make changes to the project:

  1. Modify the source code in the src directory
  2. Run pnpm build to compile the TypeScript code
  3. Test your changes with pnpm start

Disclaimer

This tool is provided for educational and informational purposes only. It is not financial advice.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured