Basic information
About MCP BaoStock Server
[](https://mseep.ai/app/huggingagi-mcp-baostock-server)
MCP BaoStock Server is a MCP server in the Other category listed in the AddMCP.net directory, published by HuggingAGI. Supported transport: stdio. Runtime: python. The repository has 113 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"mcp-baostock-server": {
"command": "uv",
"args": [
"run",
"mcp-baostock-server"
]
}
}
}
{
"mcpServers": {
"mcp-baostock-server": {
"command": "uv",
"args": [
"run",
"mcp-baostock-server"
]
}
}
}
{
"servers": {
"mcp-baostock-server": {
"command": "uv",
"args": [
"run",
"mcp-baostock-server"
]
}
}
}
MCP BaoStock Server — by HuggingAGI config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-baostock-server": {
"command": "uv",
"args": [
"run",
"mcp-baostock-server"
]
}
}
}
MCP BaoStock Server — by HuggingAGI tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
Frequently asked questions
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.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In