Local stock market MCP server on Yahoo Finance data: quotes, fundamentals, RSI and MACD, stock screens, portfolio and watchlist tracking, a trade journal and optional Python backtesting.
AKToolsMCP Server
Summary
Official MCP server and HTTP API for AKShare, the open-source financial data library: an assistant searches nearly a thousand data interfaces, reads their parameters and fetches stock, fund and macro data.
Features
- Search nearly a thousand AKShare financial data interfaces
- Describe an interface's parameters and defaults
- Fetch stock, fund, bond, futures and macro data
- 60-second result cache to limit upstream requests
- Same catalogue over an HTTP API with CSV/XLSX export
- Shared HTTP MCP endpoint with optional access tokens
Installation
Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.
Description
AKTools comes from the team behind AKShare, a widely used open-source Python library that collects financial data from public sources. AKTools turns AKShare's nearly one thousand data interfaces into two services that share one catalogue, cache and error handling: an HTTP API for any programming language, and an MCP server for AI assistants.
How the MCP server works
It exposes three tools. search_interfaces finds the relevant interface by keyword, describe_interface shows its parameters and defaults, and get_data fetches the data. So a request like "forward-adjusted daily bars for Kweichow Moutai (600519) in October 2024" or "which interfaces cover convertible bonds?" is answered by the assistant choosing the interface and filling in the parameters itself.
Results for the same interface and parameters are cached for 60 seconds, which cuts repeated requests to upstream sites and the risk of an IP ban.
Install
With uv installed, add uvx --from aktools aktools-mcp to Claude Desktop, Claude Code, Cursor, Codex or WorkBuddy; there is no server to start first, though the first run downloads AKShare and its dependencies (about 150 MB). A running HTTP server (python -m aktools, also deployable with Docker and Gunicorn) serves MCP at /mcp too, so several machines can share one instance, with optional access tokens.
Good to know
AKShare's sources are mainly Chinese financial websites: interface titles, most column names, error messages and the documentation site are in Chinese (interface and parameter names are English), and many sources are only reachable from mainland China. The data is for research and comes with no investment advice. MIT licensed.
Related MCP Servers
See all AKTools alternativesMCP: TradingView MCP
by atilaahmettaner
Open-source MCP server for market data and technical analysis: screeners, multi-timeframe indicators and strategy backtests for stocks, crypto, forex and futures.
MCP: Alpaca MCP Server
by Alpaca Markets
Alpaca's official MCP server for trading stocks, options and crypto, plus market data and portfolio analysis, in plain language.
Official DexPaprika MCP server: real-time DEX pools, token prices, trades, OHLCV and technical indicators across 36 blockchain networks, with no API key needed to start.