AKTools
Lets your AI agent search and fetch AKShare financial data such as stocks, futures, funds and macro figures.
1.6k stars on GitHubby akfamily (AKShare)License MITUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add aktools -- uvx aktools mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Get the forward-adjusted daily prices for Kweichow Moutai from October 8 to 11, 2024.
Which AKShare interfaces are related to convertible bonds?
What it is
AKTools turns the more than one thousand data interfaces of the open-source AKShare library into an MCP server and an HTTP API. Your AI agent can search for the right interface, check its parameters and fetch data in plain language, for example daily stock prices.
What it can do
search_interfaces: search AKShare interfacesdescribe_interface: see an interface's parametersget_data: fetch the data- HTTP API at /api/public/<interface name>
- Download results as CSV or Excel with _format
When to use
- βΊWhen you need historical stock prices from Chinese markets.
- βΊWhen you want to find which AKShare interface covers convertible bonds or funds.
- βΊWhen you want financial data in a CSV or Excel file.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
akshareLets your agent pull free market data for Chinese and global stocks, futures, forex and economic indicators, with no API key needed.equity-researchHelps your agent build an equity research snapshot for a stock, combining analyst estimates, financials, price history, and macro context into a thesis.equiblesHelps your agent search for US stock market data. Allows analysis of financial reports, call transcripts, and stock prices.Frequently asked questions
Is it free and open source?
Yes, it is MIT licensed.
Does it need an API key?
No key is mentioned. You may set an optional access token for shared deployments.
Where does the data come from?
From public web sources through AKShare. AKTools only forwards requests.
Is it investment advice?
No. The disclaimer says the data is for academic research only and not investment advice.
Which agents does it work with?
WorkBuddy, Codex, Cursor, Claude Code and Claude Desktop, plus any MCP client.
Why is data not updating?
Results are cached for 60 seconds by default. Start with --cache-ttl 0 to turn the cache off.
If it does not work
- βΊIf you get a 502 error, check the proxy variables (HTTP_PROXY, HTTPS_PROXY) and clear them if they are wrong.
- βΊIf you get a 404 error, upgrade akshare and aktools and check the interface name and parameters.
- βΊThe first start can take a few minutes while uvx downloads dependencies.
5 new skills a week. 1 minute to read.