
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

An MCP server that provides a unified interface to public market data and authenticated trading and account APIs across Bybit, Binance, and OKX.
Unified MCP server for Bybit, Binance and OKX cryptocurrency exchanges is cataloged as an MCP server attributed to sydowma. An MCP server that provides a unified interface to public market data and authenticated trading and account APIs across Bybit, Binance, and OKX. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Apache License 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Unified MCP server for Bybit, Binance and OKX cryptocurrency exchanges are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports Bybit, Binance, and OKX, each for spot and futures with public and private APIs.
No; public market data endpoints work without configuration.
README.md · 84b790b1811a · Fetched 2026-11-13 10:26:52 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A comprehensive MCP (Model Context Protocol) server implementation for cryptocurrency exchanges, supporting Bybit, Binance, and OKX. This package provides a unified interface to interact with both public APIs (market data) and private APIs (trading, account management).
| Exchange | Spot | Futures | Public API | Private API |
|---|---|---|---|---|
| Bybit | ✅ | ✅ | ✅ | ✅ |
| Binance | ✅ | ✅ | ✅ | ✅ |
| OKX | ✅ | ✅ | ✅ | ✅ |
uv tool install https://github.com/sydowma/crypto_exchange_mcp/releases/download/v0.3.1/crypto_exchange_mcp_python-0.3.1-py3-none-any.whl
cd crypto_exchange_mcp/crypto_exchange_mcp_python
uv sync
cd crypto_exchange_mcp/crypto_exchange_mcp_python
pip install -r requirements.txt
No configuration needed! Public market data endpoints work out of the box.
Set environment variables with your API credentials:
# Bybit
export BYBIT_API_KEY="your_bybit_api_key"
export BYBIT_API_SECRET="your_bybit_api_secret"
# Binance
export BINANCE_API_KEY="your_binance_api_key"
export BINANCE_API_SECRET="your_binance_api_secret"
# OKX
export OKX_API_KEY="your_okx_api_key"
export OKX_API_SECRET="your_okx_api_secret"
export OKX_PASSPHRASE="your_okx_passphrase"
Or copy .env.example to .env and fill in your credentials:
cp .env.example .env
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"crypto-exchange": {
"command": "uv",
"args": [
"--directory",
"{your_path}/crypto_exchange_mcp/crypto_exchange_mcp_python",
"run",
"crypto_exchange_server.py"
],
"env": {
"BYBIT_API_KEY": "your_bybit_api_key",
"BYBIT_API_SECRET": "your_bybit_api_secret",
"BINANCE_API_KEY": "your_binance_api_key",
"BINANCE_API_SECRET": "your_binance_api_secret",
"OKX_API_KEY": "your_okx_api_key",
"OKX_API_SECRET": "your_okx_api_secret",
"OKX_PASSPHRASE": "your_okx_passphrase"
}
}
}
}
You can also run each exchange separately:
{
"mcpServers": {
"bybit": {
"command": "uv",
"args": [
"--directory",
"{your_path}/crypto_exchange_mcp/crypto_exchange_mcp_python",
"run",
"bybit.py"
]
},
"binance": {
"command": "uv",
"args": [
"--directory",
"{your_path}/crypto_exchange_mcp/crypto_exchange_mcp_python",
"run",
"binance.py"
]
},
"okx": {
"command": "uv",
"args": [
"--directory",
"{your_path}/crypto_exchange_mcp/crypto_exchange_mcp_python",
"run",
"okx.py"
]
}
}
}
get_ticker(exchange, symbol) - Get price and 24h statisticsget_orderbook(exchange, symbol, limit) - Get order book depthget_klines(exchange, symbol, interval, limit) - Get candlestick dataget_symbols(exchange, spot, futures) - List trading pairsget_funding_rate(exchange, symbol) - Get perpetual funding rateget_open_interest(exchange, symbol) - Get contract open interestget_new_coins_okx(limit) - Get newly listed coins on OKXget_balance(exchange) - Get account balancesget_positions(exchange) - Get open positionsplace_order(exchange, symbol, side, order_type, quantity, price) - Place ordercancel_order(exchange, symbol, order_id) - Cancel orderget_open_orders(exchange, symbol) - Get pending ordersget_order_history(exchange, symbol, limit) - Get order historyget_supported_exchanges() - List exchanges and auth statusget_external_mcp_servers() - List configured ready-made external MCP serverslist_exchange_mcp_tools(exchange) - List tools from an external exchange MCP servercall_exchange_mcp_tool(exchange, tool_name, arguments) - Call a tool exposed by an external exchange MCP serverThe unified server can launch existing exchange MCP implementations as stdio child servers and expose them through one entrypoint.
Default external servers:
| Exchange | External MCP | Default command |
|---|---|---|
| Bybit | Official Bybit Trading MCP | npx -y bybit-official-trading-server@latest |
| OKX | Official OKX Agent Trade Kit | npx -y @okx_ai/okx-trade-mcp@latest --modules market --read-only |
| Binance | Community Binance MCP Server | uvx --from binance-mcp-server binance-mcp-server |
Use these tools from the main crypto-exchange MCP server:
get_external_mcp_servers() to inspect configured children.list_exchange_mcp_tools("bybit") or another exchange to see child tools.call_exchange_mcp_tool("bybit", "tool_name", {"arg": "value"}) to call a child tool.Override or add child MCP servers with CRYPTO_EXCHANGE_MCP_CONFIG:
{
"servers": {
"okx": {
"command": "npx",
"args": [
"-y",
"@okx_ai/okx-trade-mcp@latest",
"--modules",
"market,spot,account",
"--read-only"
],
"env_keys": ["OKX_API_KEY", "OKX_API_SECRET", "OKX_PASSPHRASE"]
}
}
}
Set CRYPTO_EXCHANGE_MCP_ENABLE_DEFAULTS=false to disable built-in external MCP
definitions and rely only on your config file.
| Exchange | Spot Format | Futures Format |
|---|---|---|
| Bybit | BTCUSDT | BTCUSDT |
| Binance | BTCUSDT | BTCUSDT |
| OKX | BTC-USDT | BTC-USDT-SWAP |
Note: OKX spot trading actually uses -USD suffix (e.g., BTC-USD), but -USDT also works for ticker queries.
crypto_exchange_mcp_python/
├── core/ # Core abstractions
│ ├── __init__.py
│ ├── base.py # Base exchange class and data models
│ ├── config.py # Configuration and credential management
│ └── exceptions.py # Custom exceptions
├── exchanges/ # Exchange implementations
│ ├── bybit/
│ │ └── client.py # Bybit API client
│ ├── binance/
│ │ └── client.py # Binance API client
│ └── okx/
│ └── client.py # OKX API client
├── bybit.py # Legacy Bybit MCP server
├── okx.py # Legacy OKX MCP server
├── crypto_exchange_server.py # Unified MCP server
└── .env.example # Example configuration
Apache License 2.0
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Unified MCP server for Bybit, Binance and OKX cryptocurrency exchanges from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/crypto_exchange_mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.