MCP.so
ログイン

MCP BaoStock Server

@HuggingAGI

基本情報

カテゴリ

その他

トランスポート

stdio

作者

HuggingAGI

MCP BaoStock Server について

概要はまだありません

MCP BaoStock Server の設定

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

{
  "mcpServers": {
    "mcp-baostock-server": {
      "command": "uv",
      "args": [
        "run",
        "mcp-baostock-server"
      ]
    }
  }
}

MCP BaoStock Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP BaoStock Server?

A stock data server based on BaoStock that provides multiple interfaces to query Chinese stock market data. It is intended for developers who need programmatic access to fundamental stock information, historical prices, financial indicators, and index data.

How to use MCP BaoStock Server?

Install and run the server using uv run mcp-baostock-server. The server requires Python 3.10+ and the baostock and pandas libraries. Once running, it exposes several tools that can be invoked by an MCP client to retrieve market data.

Key features of MCP BaoStock Server

  • Query basic stock information (listing date, industry, etc.)
  • Retrieve historical K‑line data (with forward adjustment)
  • Look up industry classification data
  • Access dividend and share distribution data
  • Obtain quarterly financial indicators (profitability, operation, growth)
  • Query index data (e.g., CSI 300 daily quotes)
  • Get valuation indicator data (P/E, P/B, etc.)

Use cases of MCP BaoStock Server

  • Build a stock screener that filters stocks by industry and basic info.
  • Perform backtesting with historical daily K‑line data for a given period.
  • Analyze a company’s quarterly profitability, operation efficiency, or growth.
  • Monitor index trends for market overview or portfolio benchmarking.
  • Track valuation metrics over time to support investment decisions.

よくある質問

1

What are the runtime requirements?

Python 3.10 or higher is required. The server depends on `baostock` and `pandas`.

2

How do I start the server?

Run `uv run mcp-baostock-server` in the terminal. The server will then be available for MCP client connections.

3

What data sources does it use?

All data comes from the BaoStock public database, which provides comprehensive A‑share market data.

4

Which stock markets are covered?

The server supports A‑share stocks traded on the Shanghai and Shenzhen exchanges, including their indices.

5

Does the server require any authentication or API key?

No. The README does not mention any authentication key; it relies on the public BaoStock service.

コメント

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