get_klineLABSCO SUMMARY
Perp market data, formatted to read.
Candles, depth, the tape and funding all come back as tables, which makes a funding-rate or basis question answerable in the conversation rather than in a notebook.
What it is
A Python server over the Aster Finance futures API. Candlestick, price, order book, trade and funding endpoints, each returning a formatted Markdown table rather than raw JSON, with explicit handling for bad-request and rate-limit responses from the API.
What you get
- Candles three ways: get_kline for the symbol, get_index_price_kline and get_mark_price_kline for index and mark price
- get_latest_price, get_price_change_statistics_24h and get_order_book_ticker cover the current price, the 24-hour move and the best bid and ask
- get_order_book returns depth; get_recent_trades, get_historical_trades and get_aggregated_trades cover the tape at three grains
- get_premium_index and get_funding_rate_history cover the funding side, which is what a perpetual position actually costs to hold
- Every tool returns a Markdown table, so results are readable in the chat without post-processing
Requirements
Python 3.10 or higher with uv; install it into Claude Desktop with uv run mcp install main.py. No account and no key — it reads Aster's public futures endpoints.
Setup effort
Build from source — git clone https://github.com/kukapay/aster-info-mcp.git
USE CASES
Checking where a perp is trading
Latest price, the 24-hour move and the best bid and ask, together.
Reading the cost of holding a position
Funding rate history next to the premium index — the two numbers behind the carry.
Looking at how the price got here
Symbol candles read against index and mark price, which is where a basis story shows up.
Judging whether size will fill
Order book depth as a table, before the order rather than after it.
12 tools
Listed in project docs. Your client may show a different list.
get_index_price_klineget_mark_price_klineget_premium_indexget_funding_rate_historyget_price_change_statistics_24hget_latest_priceget_order_book_tickerget_order_bookget_recent_tradesget_historical_tradesget_aggregated_tradesBEFORE YOU INSTALL
What to know first
Tools you get
12 tools named in the project's documentation.
Requires
- Python 3.10 or later
- uv on PATH
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
git clone https://github.com/kukapay/aster-info-mcp.git
cd aster-info-mcp
uv sync
uv run mcp install main.py --name "Aster Info"MCP Clients
Claude Desktop
{
"mcpServers": {
"Aster Info": {
"command": "uv",
"args": [
"--directory",
"<YOUR_PATH_TO_ASTER_INFO_MCP>",
"run",
"main.py"
]
}
}
}