KA

kukapay/aster-info-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

5 stars 3 forks Качество 55 Тренд 13MIT

An MCP server that provides structured access to Aster DEX market data.

Обзор

An MCP server that provides structured access to Aster DEX market data—covering candlesticks, order books, trades, and funding rates. - : Access a variety of Aster Finance Futures API endpoints, including: - Candlestick data (get_kline, get_index_price_kline, get_mark_price_kline) - Price and ticker data (get_latest_price, get_price_change_statistics_24h, get_order_book_ticker) - Order book and trade data (get_order_book, get_recent_trades, get_historical_trades, get_aggregated_trades) - Funding and index data (get_premium_index, get_funding_rate_history) - : All tools return data as formatted Markdown tables for easy readability and integration. - : Handles HTTP errors (e.g., 400, 429) and data processing issues with clear exceptions. - Python 3.10 or higher - uv (recommended package manager) Install the server as a Claude Desktop application: Replace /path/to/aster-info-mcp with your actual installation path. : - All tools return data as Markdown tables.

README

Показан фрагмент оригинального README. Открыть оригинал.

Aster Info MCP

An MCP server that provides structured access to Aster DEX market data—covering candlesticks, order books, trades, and funding rates.

Features

  • 13 Tools: Access a variety of Aster Finance Futures API endpoints, including:
    • Candlestick data (get_kline, get_index_price_kline, get_mark_price_kline)
    • Price and ticker data (get_latest_price, get_price_change_statistics_24h, get_order_book_ticker)
    • Order book and trade data (get_order_book, get_recent_trades, get_historical_trades, get_aggregated_trades)
    • Funding and index data (get_premium_index, get_funding_rate_history)
  • Markdown Output: All tools return data as formatted Markdown tables for easy readability and integration.
  • Robust Error Handling: Handles HTTP errors (e.g., 400, 429) and data processing issues with clear exceptions.

Installation

Prerequisites

  • Python 3.10 or higher
  • uv (recommended package manager)

Steps

  1. Clone the Repository:

    git clone https://github.com/kukapay/aster-info-mcp.git
    cd aster-info-mcp
    
  2. Install Dependencies:

    uv sync
    
  3. 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:

    {
       "mcpServers": {
           "Aster Info": {
               "command": "uv",
               "args": [ "--directory", "/path/to/aster-info-mcp", "run", "main.py" ]
           }
       }
    }
    

    Replace /path/to/aster-info-mcp with your actual installation path.

Usage

Available Tools

Tool Name Description Parameters
get_kline Fetch candlestick data for a symbol. symbol, interval, startTime (opt), endTime (opt), limit (opt)
get_index_price_kline Fetch index price candlestick data for a pair. pair, interval, startTime (opt), endTime (opt), limit (opt)
get_mark_price_kline Fetch mark price candlestick data for a symbol. symbol, interval, startTime (opt), endTime (opt), limit (opt)
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "Aster Info": { "command": "uv", "args": [ "--directory", "/path/to/aster-info-mcp", "run", "main.py" ] } } }