MCP.so
ログイン

MCP BaoStock Server

@HuggingAGI

MCP BaoStock Server について

概要はまだありません

基本情報

カテゴリ

その他

ランタイム

python

トランスポート

stdio

公開者

HuggingAGI

設定

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

{
  "mcpServers": {
    "mcp-baostock-server": {
      "command": "uv",
      "args": [
        "run",
        "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.

FAQ from MCP BaoStock Server

What are the runtime requirements?

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

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.

What data sources does it use?

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

Which stock markets are covered?

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

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.

コメント

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