aiowhitebit-mcp

by doubledare704

255 downloads Not rated yet Apache-2.0

About

Message Control Protocol (MCP) server and client implementation for WhiteBit cryptocurrency exchange API. Built on top of [aiowhitebit](https://github.com/doubledare704/aiowhitebit) library.

Details

License
Apache-2.0

Explore

- MCP server for WhiteBit API with public endpoints
- Support for multiple transport protocols (stdio, SSE, WebSocket)
- Easy-to-use client for interacting with the MCP server
- Command-line interface for running the server
- Integration with Claude Desktop
- Real-time market data via WebSocket
- Comprehensive test coverage and type checking
- Modern development tools (ruff, pyright, pre-commit)
- Caching with disk persistence
- Rate limiting and circuit breaker patterns


pip install aiowhitebit-mcp

server_url = "http://localhost:8000/sse"
os.environ["WHITEBIT_MCP_URL"] = server_url

async with WhiteBitMCPClient() as client:

python
from aiowhitebit_mcp.server import create_server
import asyncio

server = create_server(
name="WhiteBit API"
)

pip install -e ".[dev]"

pre-commit install

Message Control Protocol (MCP) server and client implementation for WhiteBit cryptocurrency exchange API. Built on
top of aiowhitebit library and fastmcp.

Features

- MCP server for WhiteBit API with public endpoints
- Support for multiple transport protocols (stdio, SSE, WebSocket)
- Easy-to-use client for interacting with the MCP server
- Command-line interface for running the server
- Integration with Claude Desktop
- Real-time market data via WebSocket
- Comprehensive test coverage and type checking
- Modern development tools (ruff, pyright, pre-commit)
- Caching with disk persistence
- Rate limiting and circuit breaker patterns

New in aiowhitebit 0.3.0 Integration

- BookTicker WebSocket Streams: Real-time best bid/ask price updates
- Funding History for Futures: Access historical funding rates for futures markets
- Enhanced WebSocket Events: All WebSocket events now include optional metadata (event_time, update_id)

Quick Start

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.