Back to MCP Directory
Baostock
Model Context Protocol low risk

Baostock

BaoStock data server provides access to stock market data including historical K-line data, financial ratios, industry classifications, and dividend information.

Connections & Capabilities

Connects To

GitHubTwitter

Capabilities

read

Exposed MCP Tools (9)

safe
get_stock_basic

Retrieves basic information about a specific stock.

Read-only operation; retrieves stock metadata.

safe
get_k_data

Fetches historical K-line data for a given stock and date range.

Read-only operation; retrieves historical stock data.

safe
get_industry_classified

Queries the industry classification for a specific stock.

Read-only operation; retrieves industry classification data.

safe
get_dividend_data

Retrieves dividend and stock split information for a given stock.

Read-only operation; retrieves dividend data.

safe
get_profit_data

Fetches quarterly profitability data for a specific stock.

Read-only operation; retrieves profitability data.

safe
get_operation_data

Retrieves quarterly operational efficiency data for a specific stock.

Read-only operation; retrieves operational data.

safe
get_growth_data

Fetches quarterly growth data for a specific stock.

Read-only operation; retrieves growth data.

safe
get_index_data

Retrieves historical data for a specific stock market index.

Read-only operation; retrieves index data.

safe
get_valuation_data

Retrieves valuation metrics for a specific stock.

Read-only operation; retrieves valuation data.

Safety Assessment

The BaoStock server is relatively safe due to its read-only nature and focus on historical data. However, the risk of compromised data from external sources and the lack of explicit sandboxing should be considered. It is safe for data analysis and research purposes, but risky if used in critical, real-time financial decision-making without proper validation.

  • Primarily read-only access to stock data.
  • No direct execution of system commands.
  • No apparent file system write access.
  • Focus on providing historical data, reducing real-time risk.
  • Internet exposure for data retrieval.
  • Potential for data injection if data source is compromised.
  • Lack of explicit sandboxing mentioned.
  • Dependency on external `baostock` and `pandas` libraries.