MCP.so
登录

AKShare MCP Server

@ttjslbz001

关于 AKShare MCP Server

暂无概览

配置

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

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

工具

未检测到工具

工具是从 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

FAQ from AKShare MCP Server

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.

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.

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.

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.

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().

常见问题

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.

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.

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.

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.

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 服务器