KA

kukapay/aster-info-mcp

Developer tools

このページは 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 MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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