AKShare MCP Server
Overview
AKShare MCP Server is a Model Context Protocol (MCP) server that provides financial data analysis capabilities using the AKShare library.
To use AKShare MCP Server, clone the repository, set up a virtual environment, install dependencies, and run the server. You can also integrate it with Claude Desktop for enhanced functionality.
- 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
- Performing stock data analysis
- Querying fund and bond data
- Analyzing macroeconomic data trends
Add to your AI client
Use these steps to connect AKShare MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"akshare-mcp-server-ttjslbz001": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-akshare-mcp-server-ttjslbz001"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"akshare-mcp-server-ttjslbz001": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-akshare-mcp-server-ttjslbz001"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"akshare-mcp-server-ttjslbz001": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-akshare-mcp-server-ttjslbz001"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"akshare-mcp-server-ttjslbz001": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-akshare-mcp-server-ttjslbz001"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"akshare-mcp-server-ttjslbz001": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-akshare-mcp-server-ttjslbz001"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"akshare-mcp-server-ttjslbz001": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-akshare-mcp-server-ttjslbz001"
]
}
}
}FAQ
What kind of data can I access with AKShare MCP Server?
You can access stock, fund, bond, futures, forex, and macroeconomic data.
Is there a way to add new tools to the server?
Yes! You can add new tools by following the provided development guidelines in the documentation.
Can I run the server using Docker?
Yes! The server can be built and run using Docker.