mcp-baostock-server logo

mcp-baostock-servermcp-baostock-server MCP server

(0)
Daniel NikulshynReviewed by Daniel Nikulshyn·Updated July 2026

Overview

MCP BaoStock Server is a stock data server based on BaoStock, providing multiple interfaces for retrieving stock market data. It allows users to query basic stock information, obtain historical K-line data, and access industry classification, dividend distribution, and quarterly financial indicator data. The server also supports querying index data and valuation indicator data. The tool is designed for users who need programmatic access to stock market data, particularly in the Chinese market. It is built using Python and relies on libraries such as pandas. The tool's functionality is accessible via API interfaces, which can be tested using provided examples. Overall, MCP BaoStock Server serves as a bridge between BaoStock's data and applications that require structured access to stock market information.

Key features

  • Basic stock information query
  • K-line historical data retrieval
  • Industry classification data query
  • Dividend distribution data query
  • Quarterly financial indicator data
  • Index data query

Pricing

Model
Free
Category
MCP Servers
Rating
No reviews yet

Use cases

Stock Market Analysis

Use MCP BaoStock Server to retrieve historical stock data and perform technical analysis, such as calculating moving averages or identifying trends.

Portfolio Management

Integrate MCP BaoStock Server with a portfolio management system to automatically fetch stock data and update portfolio valuations.

Financial Research

Utilize MCP BaoStock Server to gather and analyze financial data for research purposes, such as studying the relationship between different financial indicators and stock performance.

Pros & Cons

Pros

  • Provides multiple interfaces for stock data retrieval
  • Supports querying various types of stock data
  • Built using Python for ease of integration
  • Relies on established libraries like pandas
  • Offers detailed financial indicator data

Cons

  • Requires Python 3.10 or higher
  • Limited to data available from BaoStock
  • No explicit documentation beyond README and interface examples
  • No information on data update frequency or real-time capabilities

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

Is there any built‑in documentation besides the README and example calls?

No additional documentation is provided; the only guidance comes from the README file and the sample interface test cases bundled in the source repository.

Asked by Abebe Girma · Apr 22, 2026

How do I test the API endpoints for retrieving data like basic stock info or K‑line history?

The repository includes example test cases in the README that demonstrate calls such as fetching basic info for sh.600519 or daily K‑line data for sz.000001 between specific dates; you can run them after installing the package with uv run mcp baostock server.

Asked by Xiomara Delgado · Mar 17, 2026

Can the server provide real‑time stock quotes or is it limited to historical data?

The documentation only mentions access to historical K‑line data, industry classifications, dividends, quarterly financial indicators, index data, and valuation metrics; it does not specify real‑time quote capabilities.

Asked by Hannah Goldberg · Feb 27, 2026

What Python version and dependencies are required to run mcp-baostock-server?

The server requires Python 3.10 or higher and depends on the baostock and pandas libraries, which are listed in its pyproject.toml.

Asked by Ethan Brooks · Jan 15, 2026

Ask a question

MCP Servers alternatives