Enterprise DNA
M MCP Servers Developer low

HuggingAGI/mcp-baostock-server

by Various

🐍 ☁️ - MCP server based on baostock, providing access and analysis capabilities for Chinese stock market data.

H

MCP

HuggingAGI/mcp-baostock-server

Added 1 June 2026

Overview

This MCP server wraps the baostock library to provide access to Chinese stock market data. It handles authentication and data retrieval, exposing stock quotes, financial statements, and technical indicators through standardized tool calls. The server is designed for integration with MCP-compatible AI assistants.

Best for

Best for
Developers building AI agents that need real-time or historical Chinese stock market data

Use cases

  • Query historical stock prices for A-share companies
  • Get financial statements for a specific stock code
  • Perform technical analysis with baostock indicators

How to use

Install

uv run mcp-baostock-server

Tools exposed

  • uv

Notes

This MCP server wraps the baostock library to provide access to Chinese stock market data. It handles authentication and data retrieval, exposing stock quotes, financial statements, and technical indicators through standardized tool calls. The server is designed for integration with MCP-compatible AI assistants.

109 stars on GitHub. Last updated 2026-03-22.

Use cases

  • Query historical stock prices for A-share companies
  • Get financial statements for a specific stock code
  • Perform technical analysis with baostock indicators

Pros

  • Open source and free to use with no API key needed
  • Supports multiple data types including quotes and fundamentals
  • Standard MCP protocol enables drop-in use with AI assistants

Cons

  • Data coverage is restricted to Chinese A-share stocks only
  • Requires baostock registration and Python environment setup
  • No built-in caching or rate limiting for data queries

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Open source and free to use with no API key needed
  • Supports multiple data types including quotes and fundamentals
  • Standard MCP protocol enables drop-in use with AI assistants

Cons

  • Data coverage is restricted to Chinese A-share stocks only
  • Requires baostock registration and Python environment setup
  • No built-in caching or rate limiting for data queries

Pairs with

Other entries in the index that connect to this one. Click through to see the chain.

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks