AkTools MCP Server

An akshare-based MCP server with quotes, indicators and news for China, Hong Kong and US stocks, plus cryptocurrency data

  • 391 ★ on the repository
  • Last commit
  • MIT
MCP server

Extended access

Why this level

  • Queries external sites and exchanges and only reads data
  • The sample configuration replaces the OKX address with a third-party one, whose answers need checking
  • The trading_suggest hint can be mistaken for investment advice, and decisions stay with the user
All reasons and checks

aahl/mcp-aktools

Install

Manual install

claude mcp add aktools -- uvx mcp-aktools

No keys needed, uv required.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Queries external sites and exchanges and only reads data
  • The sample configuration replaces the OKX address with a third-party one, whose answers need checking
  • The trading_suggest hint can be mistaken for investment advice, and decisions stay with the user

This is third-party code. Review the repository files before installing.

What it does

AkTools is an MCP server built on the akshare library. It gives an agent stock-market and cryptocurrency data: ticker lookup by company name, a stock card with price and market cap, price history with technical indicators and key financial indicators for A-shares, Hong Kong and US stocks. A separate group covers mainland China: the limit-up pool, the strong-stock pool, the Dragon and Tiger list statistics and capital flows by concept. News is available per stock, per cryptocurrency and as a global feed. For crypto the server returns OKX data and a Binance AI report. The trading_suggest tool produces a suggestion for a security. The server places no trades: none of its tools submits orders.

Who it is for. For analysts and private investors who want Chinese stock and crypto-market data inside a chat with Claude Code, Cursor or Codex.

Good fit when

  • You need a ticker from a Chinese company name and a stock card with price and market cap
  • You study A-shares: the limit-up pool, the Dragon and Tiger list and capital flows by concept
  • You need price history with technical indicators for a stock or a cryptocurrency
  • You want to compare key financial indicators across A-share, Hong Kong and US markets
  • For crypto you need the leveraged long-short ratio and taker buy-sell balance from OKX

Not a fit when

  • You need to place orders: the server only reads data
  • You need Russian-market data: the sources focus on China, Hong Kong, the US and crypto
  • You need exchange-guaranteed real-time data: the server collects public data through akshare and external sites
  • You need to work offline: every request goes to an external source

Example request

Find the Moutai ticker, show the price for the last three months with technical indicators and the latest news on the company.

MCP

Transport
stdio, http
Authentication
not required

Environment variables

OKX_BASE_URL
OKX address for cryptocurrency requests
BINANCE_BASE_URL
Binance address, https://www.binance.com by default
NEWSNOW_BASE_URL
Address of the Newsnow interface for the news feed
NEWSNOW_CHANNELS
Newsnow channels, for example wallstreetcn-quick, cls-telegraph and jin10

Limitations

The description and tool names are in Chinese, and answers depend on akshare and external sites that may change format. Python 3.10 or newer and uv are required. OKX, Binance and news-feed addresses are set through optional environment variables. The trading_suggest hint does not replace an investor's own decision. Reachability of the data sources from Russia is unverified. After source updates some tools may return errors or empty fields. The get_current_time tool lets the agent account for A-share trading days when requesting a period.

How to disable. Remove the server from the client configuration, in Claude Code with claude mcp remove aktools. If you ran the Docker container, stop it with docker-compose down in /opt/mcp-aktools.

FAQ

How do I connect AkTools to Claude Code?

Run claude mcp add aktools -- uvx mcp-aktools. For Codex: codex mcp add aktools -- uvx mcp-aktools. You need uv and Python 3.10 or newer.

Which markets does the server cover?

Mainland China, Hong Kong and US stocks, plus cryptocurrencies through OKX and Binance.

Are API keys required?

Not for uvx or Docker runs. All environment variables are optional: OKX_BASE_URL, BINANCE_BASE_URL, NEWSNOW_BASE_URL and NEWSNOW_CHANNELS change source addresses and news channels.

Can I run the server in Docker?

Yes. Download docker-compose.yml from the repository into a separate directory and run docker-compose up -d. The server speaks Streamable HTTP on port 8808 at the /mcp path.

Which tools exist for cryptocurrencies?

okx_prices returns price history, okx_loan_ratios shows the leveraged long-short ratio, okx_taker_volume gives the buy-sell balance and binance_ai_report returns a Binance AI report. News for a coin comes from stock_news.

Discussion

No questions or reviews yet.

MCP server and HTTP API on AKShare: the agent finds Chinese market data interfaces, reads their parameters and fetches tables

MCP serverExtended access1.6KRepository stars

A server feeds agents quotes for A-shares, Hong Kong and US stocks, indicators, funds, futures and options, plus four skills.

MCP serverMinimal access104Repository stars
Official

A hosted MCP server for financial data: quotes, filings, macro statistics and FTShare's own factors, read-only

MCP serverExtended access257Repository stars

An MCP server for market data and technical analysis: quotes, indicators, screeners and backtesting for stocks, crypto, forex and futures

MCP serverExtended access5.2KRepository stars

Financial data MCP server: stocks, funds, bonds, macro indicators, news and crypto via Tushare and Binance

MCP serverBroad access869Repository stars

A local database of China A-share and ETF market data with an MCP server for natural-language queries

MCP serverExtended access3.1KRepository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
AkTools MCP Server (this card)nonot required391
Yahoo Finance MCP Servernonot required368Yahoo Finance data by ticker, with no tools for the A-share market
Alpha Vantage MCP ServeryesOAuth225the official Alpha Vantage server with an API key, mostly US stocks and series
free-stockdbnonot required3,128a local database of A-share and ETF quotes, while AkTools fetches from external sources

README in short

The repository offers three ways to run it: uvx, the Smithery cloud service with OAuth or a key, and a local Docker container. There are ready install links for Cursor, VS Code and Cherry Studio. The package is listed in the MCP registry as io.github.aahl/mcp-aktools.

README badge

Report a problem

Foxx AIAkTools MCP Server
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.