Coinex

Coinex

A CoinEx MCP server enabling AI agents to interact with the CoinEx exchange.

0
Stars
0
Forks
0
Releases

Overview

CoinEx MCP Server is an MCP server that enables AI agents to interact with the CoinEx cryptocurrency exchange through a unified MCP interface. It offers public endpoints for market data across spot and futures (market listing, tickers, order books, K-line data, and recent trades) along with futures-specific metrics such as funding rates, funding history, premium/basis history, and margin tiers. Authenticated operations are supported for balance inquiries, order placement, order cancellation, and retrieval of order history, enabling full trading automation. Deployment options include an online HTTP service (public data only), a local installation via uvx/pip for authenticated actions, or running from source for development and customization. The server uses environment variables to supply CoinEx API credentials and can enable HTTP-based authentication for added security. It provides configurable command line arguments (transport, host, port, path, workers) and client examples for Claude, CherryStudio, and other MCP clients, with standard parameter conventions (market_type, symbol, interval, period, start_time, end_time). The project leverages FastMCP and httpx to deliver a fast, extensible interface for AI-assisted market data retrieval and automated trading.

Details

Owner
coinexcom
Language
Python
License
Apache License 2.0
Updated
2025-12-07

Features

Market data retrieval

Retrieve spot and futures market data with unified parameters, including market status, tickers, order books, and recent trades.

Account balances (auth required)

Query account balances when authenticated to support budgeting and risk management.

K-line data access

Get K-line (candlestick) data for spot and futures with configurable intervals.

Order book depth viewing

View order book depth across spot and futures markets for liquidity and trading signals.

Place trades

Submit trading orders (limit/market) with authentication.

Order history access

Retrieve order history including open and completed orders.

Futures data and risk metrics

Access funding rates, funding history, premium/basis history, margin tiers, and liquidation history for futures.

Audience

AI developersIntegrate market data, trading and account ops into AI agents via MCP.
Quant tradersBuild automated strategies that query balances, place orders, and monitor markets.
Product teamsPrototype MCP-based CoinEx integrations for internal tools, dashboards, and analytics.

Tags

CoinExMCPAPI servermarket dataK-lineorder bookfuturestradingaccount balanceauthenticationHTTPuvxpipfrom sourceClaudeCherryStudio