MCP.so
Sign In

Tushare MCP Server

@buuzzy

About Tushare MCP Server

No overview available yet

Basic information

Category

Other

License

MIT license

Runtime

python

Transports

stdio

Publisher

buuzzy

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

FAQ from Tushare MCP Server

What data sources does Tushare MCP Server use?

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

What are the runtime requirements?

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

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.

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

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.

Comments

More Other MCP servers