MCP.so
登录

Tushare MCP Server

@buuzzy

基本信息

分类

其他

许可证

MIT license

传输方式

stdio

作者

buuzzy

关于 Tushare MCP Server

暂无概览

Tushare MCP Server 配置

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

{
  "mcpServers": {
    "tushare-mcp-server": {
      "command": "python",
      "args": [
        "server.py"
      ]
    }
  }
}

Tushare MCP Server 工具

工具列表暂未提供

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

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

概览

What is Tushare MCP Server?

Tushare MCP Server is a smart stock data assistant built on the Model Context Protocol (MCP). It integrates with the Tushare Pro financial data platform to provide stock information, fuzzy searches, and income statement analysis through natural language conversation with AI assistants like Claude.

How to use Tushare MCP Server?

Clone the repository, install dependencies with pip, and start the server with python server.py. Then install it in Claude using mcp install server.py. On first use, ask Claude to configure your Tushare API token via the built‑in interactive setup.

Key features of Tushare MCP Server

  • Stock basic info query by code or name
  • Smart stock search with fuzzy keywords and industry matching
  • Income statement retrieval with flexible date and report type
  • Secure token management with local encrypted storage
  • Supports concurrent requests and data caching
  • Real‑time connection to Tushare Pro data source

Use cases of Tushare MCP Server

  • Research stocks by industry or keyword (e.g., “Find all new‑energy stocks”)
  • Retrieve detailed financial statements for analysis (e.g., “Get Ping An Bank’s 2023 profit statement”)
  • Compare historical profit data across quarters or years
  • Query consolidated or parent company reports for specific periods
  • Verify token status and manage API credentials interactively

常见问题

1

What data sources does Tushare MCP Server use?

It accesses financial data in real time through the Tushare Pro API.

2

What are the runtime requirements?

Python 3.8+ and a valid Tushare Pro API token are required.

3

How is my API token stored and protected?

The token is saved locally in the `.tushare_mcp/.env` file under your home directory, encrypted and managed with python‑dotenv. All data transmission uses HTTPS.

4

What report types are available for income statement queries?

The server supports annual, quarterly, and semi‑annual reports, as well as consolidated vs. parent company statements (report type parameter).

5

How do I set up or verify my token?

Say to Claude: “Please help me configure the Tushare token” to start the interactive setup, or “Please check the token status” to verify.

评论

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