MCP.so
登录

AKShare MCP Server

@ttjslbz001

基本信息

分类

其他

传输方式

stdio

作者

ttjslbz001

关于 AKShare MCP Server

暂无概览

AKShare MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "akshare_mcp_server": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

AKShare MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is AKShare MCP Server?

AKShare MCP Server is a Model Context Protocol (MCP) server that provides financial data analysis capabilities using the AKShare library. It offers access to Chinese and global financial market data and integrates with Claude Desktop via the MCP protocol.

How to use AKShare MCP Server?

Install with uv pip install -e . or pip install -e . after cloning the repository, then run python run_server.py in the activated virtual environment. For Claude Desktop integration, add the server configuration to Claude’s MCP config with the command uv --directory /path/to/akshare_mcp_server run akshare-mcp and optionally set the environment variable AKSHARE_API_KEY.

Key features of AKShare MCP Server

  • Access to Chinese and global financial market data
  • Integration with Claude Desktop via MCP protocol
  • Tools for stock, fund, bond, futures, and forex data
  • Macroeconomic data query capabilities
  • Extensible design for adding custom data tools
  • Supports Docker deployment

Use cases of AKShare MCP Server

  • Query real-time and historical stock data for Chinese and global markets
  • Retrieve fund, bond, futures, and forex market information
  • Analyze macroeconomic indicators for economic research
  • Build automated financial analysis workflows with Claude Desktop
  • Extend with custom tools for specialized financial data needs

常见问题

1

What is AKShare MCP Server?

It is an MCP server that wraps the AKShare financial data library, enabling Claude Desktop and other MCP clients to query a wide range of financial market data through standardized tools.

2

How do I integrate AKShare MCP Server with Claude Desktop?

Add a configuration entry to your Claude Desktop settings with the command `uv --directory /path/to/akshare_mcp_server run akshare-mcp` and set `AKSHARE_API_KEY` if required, then restart Claude Desktop and select the AKShare MCP tools.

3

What data sources are available through AKShare MCP Server?

The server provides tools for stock, fund, bond, futures, forex, and macroeconomic data queries, covering both Chinese and global markets via the AKShare library.

4

Do I need an API key to use AKShare MCP Server?

An API key is optional. The configuration allows setting an `AKSHARE_API_KEY` environment variable if needed for certain data sources.

5

How can I add a new data tool to AKShare MCP Server?

Add a new async function in `src/mcp_server_akshare/api.py`, register it in the `AKShareTools` enum in `server.py`, import it, then define the tool in `handle_list_tools()` and add a handler in `handle_call_tool()`.

评论

其他 分类下的更多 MCP 服务器