home / mcp / aktools mcp server

AkTools MCP Server

📈 提供股票、加密货币的数据查询和分析功能MCP服务器

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "aahl-mcp-aktools": {
      "url": "https://server.smithery.ai/@aahl/mcp-aktools/mcp",
      "headers": {
        "OKX_BASE_URL": "https://okx.4url.cn",
        "BINANCE_BASE_URL": "https://bian.4url.cn",
        "NEWSNOW_BASE_URL": "https://newsnow.busiyi.world",
        "NEWSNOW_CHANNELS": "wallstreetcn-quick,cls-telegraph,jin10"
      }
    }
  }
}

AkTools MCP Server exposes stock and crypto data querying and analysis through the Model Context Protocol (MCP). You can search for stocks, retrieve detailed information, view market context, obtain historical prices and indicators, read relevant news, and access financial metrics for A-share, HK, and US-listed equities as well as cryptocurrencies. This makes it easy to build dashboards, automate analyses, and integrate data into your tools via MCP clients.

How to use

You run the MCP server locally or remotely and connect an MCP client to it. Once connected, you can call the available endpoints to search for stocks by name or symbol, fetch current stock information and market indicators, pull historical price data with technical indicators, and retrieve finance metrics and news. You can also access cryptocurrency data and related insights. Use the client to compose queries for specific tickers, time ranges, and data types, then render the results in your workflow or dashboards.

How to install

Prerequisites: ensure you have a runtime or container method available to run the MCP server. You will use one of the installation methods shown below.

{
  "mcpServers": {
    "aktools": {
      "command": "uvx",
      "args": ["mcp-aktools"],
      "env": {
        # 全部可选
        "OKX_BASE_URL": "https://okx.4url.cn",
        "BINANCE_BASE_URL": "https://bian.4url.cn",
        "NEWSNOW_BASE_URL": "https://newsnow.busiyi.world",
        "NEWSNOW_CHANNELS": "wallstreetcn-quick,cls-telegraph,jin10"
      }
    }
  }
}

Additional configuration and startup options

You can also run AkTools MCP Server via Smithery or Docker, using configurations shown in the examples below. The Smithery option uses a remote MCP URL, while Docker provides a self-contained deployment via a container stack.

Configuration examples

{
  "mcpServers": {
    "aktools": {
      "type": "http",
      "name": "aktools_http",
      "url": "https://server.smithery.ai/@aahl/mcp-aktools/mcp",
      "args": []
    }
  }
}
```
```json
{
  "mcpServers": {
    "aktools": {
      "type": "stdio",
      "name": "aktools_stdio",
      "command": "uvx",
      "args": ["mcp-aktools"],
      "env": {
        "OKX_BASE_URL": "https://okx.4url.cn",
        "BINANCE_BASE_URL": "https://bian.4url.cn",
        "NEWSNOW_BASE_URL": "https://newsnow.busiyi.world",
        "NEWSNOW_CHANNELS": "wallstreetcn-quick,cls-telegraph,jin10"
      }
    }
  }
}
```
```bash
mkdir /opt/mcp-aktools
cd /opt/mcp-aktools
wget https://raw.githubusercontent.com/aahl/mcp-aktools/refs/heads/main/docker-compose.yml
docker-compose up -d
```
```json
{
  "mcpServers": {
    "aktools": {
      "type": "http",
      "name": "aktools_http",
      "url": "http://0.0.0.0:8808/mcp",
      "args": []
    }
  }
}

Notes and tips

If you want to try online, you can use the quick experience URLs to interact with the MCP server in your browser or within supported environments. You can also integrate AkTools with editors and assistants that support MCP connections.

Available tools

search

Find stock codes by name, ticker, or keyword across A-share, HK, and US stocks.

stock_info

Fetch detailed stock information including price, market cap, and fundamentals.

stock_prices

Retrieve historical stock prices with optional technical indicators.

stock_indicators_a

Provide key indicators for A-share stocks.

stock_indicators_hk

Provide key indicators for Hong Kong stocks.

stock_indicators_us

Provide key indicators for US stocks.

trading_suggest

Generate investment suggestions or signals based on data.

get_current_time

Get current time and A-share trading day information.

stock_zt_pool_em

A-stock涨停股池 (涨停株池) from EM sources.

stock_zt_pool_strong_em

A-stock强势股池 from EM sources.

stock_lhb_ggtj_sina

A-stock龙虎榜统计 from Sina sources.

stock_sector_fund_flow_rank

A股概念资金流向排名指标.

stock_news

Fetch stock-specific and crypto-related news.

stock_news_global

Global financial quick news feed.

okx_prices

Get historical cryptocurrency prices from OKX.

okx_loan_ratios

Fetch leveraged long/short ratios for crypto markets.

okx_taker_volume

Get active buy/sell taker volume data for crypto.

binance_ai_report

Retrieve AI-generated analysis reports for crypto.