Processes stock market data into pandas dataframes, providing structured financial data for analysis including K-line history, financial indicators, and stock information.
MCP BaoStock Server
一个基于BaoStock的股票数据服务器,提供了多个接口用于获取股票市场数据。
功能特点
提供股票基本信息查询
支持K线历史数据获取
行业分类数据查询
分红派息数据查询
季度财务指标数据(盈利能力、营运能力、成长能力)
指数数据查询
估值指标数据查询
安装与使用
依赖要求
Python 3.10+
baostock
pandas
使用说明
安装使用
接口测试用例
以下是各个接口的测试用例示例:
1. 获取股票基本信息
2. 获取K线历史数据
3. 获取行业分类数据
4. 获取分红派息数据
5. 获取季度盈利能力数据
6. 获取季度营运能力数据
7. 获取季度成长能力数据
8. 获取指数数据
9. 获取估值指标数据
技术交流
微信: iamxxn886
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A stock data MCP server based on BaoStock that provides multiple interfaces for retrieving stock market data.
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that provides KOSPI/KOSDAQ stock data using FastMCP.Last updated -552MIT License
- AsecurityAlicenseAqualityMCP server that provides AI assistants access to stock market data including financial statements, stock prices, and market news through a Model Context Protocol interface.Last updated -11543MIT License
- -securityFlicense-qualityA FastMCP-based service that provides stock data including historical prices, fundamental information, and financial news.Last updated -6
- AsecurityAlicenseAqualityAn MCP server that provides comprehensive financial insights and analysis by leveraging real-time market data, news, and advanced analytics for stocks, options, financial statements, and economic indicators.Last updated -1747PythonMIT License