
binance-mcp
binance-mcp
·
Binance MCP Server is a backend service designed to interact with the Binance API. It facilitates seamless interaction with the Binance exchange, enabling users to view their portfolio, convert tokens, and execute trades with minimal market impact. The server utilizes the Model Context Protocol (MCP) framework to ensure secure, structured, and efficient transactions.
Before setting up the Binance MCP Server, ensure you have the following installed:
Clone the repository and install dependencies:
git clone https://github.com/your-repo/binance-mcp-server.git
cd binance-mcp-server
npm install # or yarn installTo configure the server, create a .env file in the root directory and specify the following variables:
# Binance API Configuration
BINANCE_API_KEY=your_binance_api_key_here
BINANCE_API_SECRET=your_binance_api_secret_hereBefore using the Binance API integration, you need to create an API key. This allows you to connect to Binance's servers via several programming languages, pull data from Binance, and interact with external applications. You can view your wallet and transaction data, make trades, and deposit and withdraw funds in third-party programs.
Prerequisites:
Steps to create a Binance API Key:
Log in to your Binance account and click the profile icon, then [Account].
Go to [API Management] then click [Create API].
Select your preferred API Key type:
Enter a label/name for your API Key.
Verify with your 2FA devices and passkeys.
Your API key is now created.
For more details on Binance API, please refer to the Binance API Documentation.
Before integrating this MCP server with Claude Desktop, ensure you have the following installed:
Then build the server using the following command:
npm run build To add this MCP server to Claude Desktop:
Create or edit the Claude Desktop configuration file at:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonAdd the following configuration:
{
"mcpServers": {
"binance-mcp": {
"command": "node",
"args": [
"/Users/Username/Desktop/binance-mcp/build/index.js"
],
"env": {
"BINANCE_API_KEY": "BINANCE_API_KEY",
"BINANCE_API_SECRET": "BINANCE_API_SECRET"
},
"disabled": false,
"autoApprove": []
}
}
}Make sure to pass the correct location of the index.js file in the args field.
Restart Claude Desktop for the changes to take effect.
To start the MCP server, run:
npm start # or node index.jsGet Binance Account Information - binanceAccountInfo
Retrieves comprehensive information about your Binance account, including balances, trading permissions, and account status.
Get Binance Account Snapshot - binanceAccountSnapshot
Gets a snapshot of your Binance account status, including current BTC price information. Includes history for the last 30 days.
Check Binance Order Book - binanceOrderBook
{
"symbol": "BTCUSDT"
}Retrieves the current order book for a specified trading pair, showing available buy and sell orders up to 50 levels deep.
Place Spot Market Order - binanceSpotPlaceOrder
{
"symbol": "BTCUSDT",
"side": "BUY",
"quantity": 0.001,
// OR
"quoteOrderQty": 100
}Places a market order for immediate execution at the best available price. Use quantity to specify the amount of base asset or quoteOrderQty to specify the amount in quote currency. Suitable for small orders.
Place TWAP Order - binanceTimeWeightedAveragePriceFutureAlgo
{
"symbol": "BTCUSDT",
"side": "BUY",
"quantity": 1.0,
"duration": 3600
}Places a Time-Weighted Average Price (TWAP) order that executes gradually over a specified duration to minimize market impact. Suitable for large orders that might otherwise cause significant price movements.
The Model Context Protocol (MCP) is an open standard designed to enhance the way applications interact with AI models and blockchain-based computational systems. MCP establishes structured context that improves the efficiency of automated transactions and decentralized applications.
When a transaction fails, the server returns an error message with details. Check the console logs for more debugging information. Common error scenarios include:
This project is open-source under the MIT License.
For contributions, bug reports, or feature requests, submit an issue on GitHub.
Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add binance-mcp -- node /Users/Username/Desktop/binance-mcp/build/index.js{
"mcpServers": {
"binance-mcp": {
"env": {
"BINANCE_API_KEY": "",
"BINANCE_API_SECRET": ""
},
"args": [
"/Users/Username/Desktop/binance-mcp/build/index.js"
],
"command": "node"
}
}
}code --add-mcp '{"name":"binance-mcp","env":{"BINANCE_API_KEY":"","BINANCE_API_SECRET":""},"args":["/Users/Username/Desktop/binance-mcp/build/index.js"],"command":"node"}'[mcp_servers.binance-mcp]
command = "node"
args = ["/Users/Username/Desktop/binance-mcp/build/index.js"]Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/binance-mcp-server to learn what the "Binance MCP Server" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
This server runs locally, so we can't read its tool list over the web yet.
We could not run this server: it ships no npx package for our sandbox and no public endpoint. The four checks that need a live server are left out, and the grade tops out at B until one exists.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/binance-mcp-server)Nothing comparable is listed yet.
No tagged releases on record.
Connect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "binance-mcp-server" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.