MCP.so
ログイン

Tushare MCP Server

@buuzzy

Tushare MCP Server について

概要はまだありません

基本情報

カテゴリ

その他

ライセンス

MIT license

ランタイム

python

トランスポート

stdio

公開者

buuzzy

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

ツール

ツールは検出されませんでした

ツールは 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

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.

コメント

「その他」の他のコンテンツ