by kukapay
An MCP server that provides structured access to Aster DEX market data—covering candlesticks, order books, trades, and funding rates.
get_kline
, get_index_price_kline
, get_mark_price_kline
)get_latest_price
, get_price_change_statistics_24h
, get_order_book_ticker
)get_order_book
, get_recent_trades
, get_historical_trades
, get_aggregated_trades
)get_premium_index
, get_funding_rate_history
)Clone the Repository:
git clone https://github.com/kukapay/aster-info-mcp.git cd aster-info-mcp
Install Dependencies:
uv sync
Installing to Claude Desktop:
Install the server as a Claude Desktop application:
uv run mcp install main.py --name "Aster Info"
Configuration file as a reference:
*Configuration content*
Get me the latest 1-minute candlestick data for ETHUSDT, limited to the last 2 entries.
Expected response (Markdown table):
```markdown
| open_time | open | high | low | close |
|---------------------|-----------|-----------|-----------|-----------|
| 2025-06-18 22:42:00 | 3500.1234 | 3510.5678 | 3490.4321 | 3505.6789 |
| 2025-06-18 22:43:00 | 3505.6789 | 3520.1234 | 3500.8765 | 3510.2345 |
get_index_price_kline
)Prompt:
Show me the 1-hour index price candlestick data for BTCUSD for the last 2 hours.
Expected response (Markdown table):
| open_time | open | high | low | close | |---------------------|------------|------------|------------|------------| | 2025-06-18 21:00:00 | 65000.1234 | 65200.5678 | 64900.4321 | 65100.6789 | | 2025-06-18 22:00:00 | 65100.6789 | 65300.1234 | 65050.8765 | 65210.2345 |
get_mark_price_kline
)Prompt:
Give me the 1-minute mark price candlestick data for BTCUSDT, limited to the last 2 entries.
Expected response (Markdown table):
| open_time | open | high | low | close | |---------------------|------------|------------|------------|------------| | 2025-06-18 22:42:00 | 65010.1234 | 65020.5678 | 65000.4321 | 65015.6789 | | 2025-06-18 22:43:00 | 65015.6789 | 65030.1234 | 65010.8765 | 65025.2345 |
get_premium_index
)Prompt:
Show me the premium index data for ETHUSDT.
Expected response (Markdown table):
| symbol | markPrice | indexPrice | lastFundingRate | nextFundingTime | |---------|------------|------------|-----------------|---------------------| | ETHUSDT | 3505.1234 | 3500.5678 | 0.0001 | 2025-06-19 00:00:00 |
get_funding_rate_history
)Prompt:
Get the funding rate history for BTCUSDT, limited to the last 2 records.
Expected response (Markdown table):
| symbol | fundingTime | fundingRate | |---------|---------------------|-------------| | BTCUSDT | 2025-06-18 16:00:00 | 0.00012 | | BTCUSDT | 2025-06-18 20:00:00 | 0.00015 |
get_price_change_statistics_24h
)Prompt:
Show me the 24-hour price change statistics for ETHUSDT.
Expected response (Markdown table):
| symbol | priceChange | priceChangePercent | lastPrice | volume | |---------|-------------|--------------------|------------|------------| | ETHUSDT | 50.1234 | 1.45 | 3505.6789 | 1000.4321 |
get_latest_price
)Prompt:
Show me the current price of BTCUSDT.
Expected response (Markdown table):
| symbol | price | |---------|------------| | BTCUSDT | 65000.1234 |
get_order_book_ticker
)Prompt*:
Get the best bid and ask prices for ETHUSDT.
Expected response (Markdown table):
| symbol | bidPrice | bidQty | askPrice | askQty | |---------|-----------|-----------|-----------|-----------| | ETHUSDT | 3500.1234 | 10.5678 | 3505.6789 | 15.4321 |
get_order_book
)Prompt:
Show me the order book for BTCUSDT with 2 entries per side.
Expected response (Markdown table):
| side | price | quantity | |------|------------|------------| | bid | 65000.1234 | 0.5678 | | bid | 64995.6789 | 0.4321 | | ask | 65005.1234 | 0.8765 | | ask | 65010.6789 | 0.2345 |
get_recent_trades
)Prompt:
Get the most recent trades for ETHUSDT, limited to 2 trades.
Expected response (Markdown table):
| tradeId | price | qty | quoteQty | time | isBuyerMaker | |---------|-----------|-----------|-----------|---------------------|--------------| | 123456 | 3505.6789 | 1.2345 | 4321.1234 | 2025-06-18 22:43:00 | True | | 123457 | 3500.1234 | 0.8765 | 3067.5678 | 2025-06-18 22:42:00 | False |
get_historical_trades
)Prompt:
Show me historical trades for BTCUSDT starting from trade ID 1000, limited to 2 trades.
Expected response (Markdown table):
| tradeId | price | qty | quoteQty | time | isBuyerMaker | |---------|------------|-----------|------------|---------------------|--------------| | 1000 | 65000.1234 | 0.1234 | 8025.6789 | 2025-06-18 20:00:00 | True | | 1001 | 64995.6789 | 0.2345 | 15245.1234 | 2025-06-18 20:01:00 | False |
get_aggregated_trades
)Prompt:
Get aggregated trades for ETHUSDT starting from aggregated trade ID 500, limited to 2 trades.
Expected response (Markdown table):
| aggTradeId | price | qty | firstTradeId | lastTradeId | time | isBuyerMaker | |------------|-----------|-----------|--------------|-------------|---------------------|--------------| | 500 | 3500.1234 | 5.6789 | 1000 | 1005 | 2025-06-18 22:40:00 | True | | 501 | 3505.6789 | 3.4321 | 1006 | 1010 | 2025-06-18 22:41:00 | False |
This project is licensed under the MIT License.
No version information available