KA

kukapay/aster-info-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

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)
在 GitHub 查看完整 README

安装

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

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

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