- Home
- MCP servers
- Binance
Binance
- javascript
41
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"snjyor-binance-mcp": {
"command": "npx",
"args": [
"-y",
"@snjyor/binance-mcp@latest"
]
}
}
}You can access Binance market data through an MCP server that lets AI agents issue Binance API calls and fetch real-time prices, order books, candlestick data, and more. This enables you to query the latest market information directly from your AI workflows without switching tools.
How to use
You will run the Binance MCP server locally and connect your MCP client to it. Use the standard MCP command to start the server, then configure your client to reference the Binance MCP by its name. Once connected, instruct your AI agents to call the available market data tools to retrieve prices, order books, trades, and K-line data as part of your workflows.
How to install
Prerequisites: you need Node.js and npm installed on your machine. You will run a short command to start the MCP server using npx.
# Install Node.js if you don’t have it already
# Then start the Binance MCP server via npx
npx -y @snjyor/binance-mcp@latest
Additional configuration and notes
Create a project-level MCP configuration to integrate the Binance MCP into your workflow. The configuration uses a stdio (local) setup that runs the MCP server as a command with arguments. You can place this in your project’s MCP configuration file.
{
"mcpServers": {
"binance": {
"command": "npx",
"args": [
"-y",
"@snjyor/binance-mcp@latest"
]
}
}
}
Tools and what you can query
The Binance MCP server exposes a suite of market data tools. You can request real-time prices, view the order book, fetch recent and historical trades, and retrieve candlestick data across various time ranges. Use these tools in your queries to empower AI agents with up-to-date market information.
Available tools
get_price
Fetch current price for a specified cryptocurrency pair.
get_order_book
Retrieve the current buy and sell order book depth.
get_recent_trades
Get a list of the most recent trades for a symbol.
get_historical_trades
Obtain historical trade data for analysis.
get_aggregate_trades
Retrieve aggregated trades for higher-level insights.
get_klines
Get K-line (candlestick) data for specified intervals.
get_ui_klines
Fetch UI-optimized K-line data for quick rendering.
get_avg_price
Get the current average trading price.
get_24hr_ticker
Retrieve 24-hour price change statistics.
get_trading_day_ticker
Get market information for the current trading day.
get_book_ticker
Obtain the top-of-book ticker data for the symbol.
get_rolling_window_ticker
Get rolling window price change statistics.