Integrations
AKShare MCP Server
A Model Context Protocol (MCP) server that provides financial data analysis capabilities using the AKShare library.
Features
- Access to Chinese and global financial market data through AKShare
- Integration with Claude Desktop via MCP protocol
- Support for various financial data queries and analysis
Installation
Using uv (recommended)
Copy
Using pip
Copy
Usage
Running the server
Copy
Integrating with Claude Desktop
- Add the following configuration to your Claude Desktop configuration:
Copy
- Restart Claude Desktop
- Select the AKShare MCP server from the available tools
Available Tools
The AKShare MCP server provides the following tools:
- Stock data queries
- Fund data queries
- Bond data queries
- Futures data queries
- Forex data queries
- Macroeconomic data queries
- And more...
Adding a New Tool
To add a new tool to the MCP server, follow these steps:
- Add a new API function in
src/mcp_server_akshare/api.py
:Copy - Add the new tool to the enum in
src/mcp_server_akshare/server.py
:Copy - Import the new function in
src/mcp_server_akshare/server.py
:Copy - Add the tool definition to the
handle_list_tools()
function:Copy - Add the tool handler in the
handle_call_tool()
function:Copy - Test the new tool by running the server and making a request to the new tool.
Development
Copy
Docker
You can also run the server using Docker:
Copy
License
MIT
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Model Context Protocol server that enables Claude Desktop to access and analyze Chinese and global financial market data through the AKShare library.
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server that provides tools to search and retrieve economic data series from the Federal Reserve Economic Data (FRED) API.Last updated -23TypeScript
- -securityFlicense-qualityA Model Context Protocol server that interfaces with Alpaca trading API, allowing users to manage portfolios, place trades, and access market data through natural language interactions.Last updated -Python
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants like Claude to programmatically access financial data from Financial Modeling Prep API, including company profiles, financial statements, metrics, SEC filings, and market data.Last updated -5PythonMIT License
- -securityFlicense-qualityA Multi-Call Protocol server providing comprehensive access to Chinese stock market data through a unified API, leveraging AKShare to fetch real-time and historical data from various Chinese exchanges.Last updated -2Python