Traia-IO

binance-data MCP Server

Community Traia-IO
Updated

Binance public market-data MCP server (d402)

binance-data MCP Server

This repository contains a d402-enabled MCP server for binance-data.

Local Testing

1. Review the environment file

The generated .env file contains the server wallet and operator values required to start the MCP server.

2. Start with Docker

./run_local_docker.sh

The MCP endpoint will be available at:

http://localhost:8000/mcp

3. Run directly

uv run python server.py

Runtime Notes

  • D402_TESTING_MODE=true is the fastest way to test the payment flow locally
  • set D402_TESTING_MODE=false to use the facilitator-backed flow
  • the server exposes /mcp and /health

Health Check

python mcp_health_check.py --url http://localhost:8000

Next Step

Call the server with d402HttpxClient after it starts. The first paid tools/call request should return HTTP 402, then retry automatically with payment.

Deploy and Register

After local testing passes:

  1. Deploy the server to a public URL.

  2. Test every endpoint against the deployed URL:

    traia-iatp test-mcp \
      --base-url "https://your-deployed-server.com" \
      --tool-name "your_tool" \
      --arguments '{}'
    
  3. Register the deployed server on d402.net once all endpoints are confirmed working.You need a d402.net account — sign up at https://d402.net first.

    traia-iatp register-mcp \
      --email "[email protected]" \
      --name "binance-data MCP Server" \
      --description "Binance public market data (klines, depth, 24hr ticker)." \
      --url "https://your-deployed-server.com/mcp" \
      --server-address "$SERVER_ADDRESS" \
      --operator-address "$MCP_OPERATOR_ADDRESS" \
      --no-requires-auth \
      --token-symbol USDC \
      --endpoints-file ./endpoints.json
    

    --server-address and --operator-address are the MCP server's IATP wallet addresses— the values from the create-mcp output, not your personal wallet.

    See the IATP docs at deployment-reference/mongodb-registration.md for the full guide.

MCP Server · Populars

MCP Server · New

    LeulAria

    Aria Icons

    MCP server for 340k SVG icons

    Community LeulAria
    knowall-ai

    Reverie — graph memory that dreams

    Memory management MCP server for AI agents using Neo4j knowledge graphs

    Community knowall-ai
    keploy

    Key Highlights

    Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

    Community keploy
    hermes-labs-ai

    Fidelis Memory

    Zero-LLM agent memory for Claude Code and AI agents: local-first BM25, dense-vector, and reciprocal-rank-fusion retrieval. Returns original passages verbatim by default. Available on PyPI as fidelis-memory. MIT.

    Community hermes-labs-ai
    n24q02m

    Better Code Review Graph

    Knowledge graph for token-efficient code reviews -- semantic search and call-graph resolution across your codebase.

    Community n24q02m