China Stock MCP
C

China Stock MCP

An MCP server built on akshare-one, providing comprehensive financial data interfaces for China's stock market, including historical market data, real-time data, financial statements, news, etc., supporting dual-mode operation and calculation of multiple technical indicators.
2.5 points
7.3K

What is the China Stock Market Data Assistant?

The China Stock Market Data Assistant is an intelligent data service based on the Model Context Protocol (MCP), specifically providing comprehensive data support for China's stock market to AI assistants (such as Claude, Cursor, etc.). It's like a professional stock market data steward, capable of obtaining real-time stock prices, financial statements, news, technical indicators, and other types of market information, instantly turning your AI assistant into a stock market analysis expert.

How to use the China Stock Market Data Assistant?

It's very simple to use! You just need to install and configure this tool in your AI assistant, and then you can directly query stock market data through natural language. For example, ask your AI assistant: 'Help me check the stock price trend of Kweichow Moutai', 'Analyze the financial statements of Ping An of China', or 'See what important stock market news there is today'. The AI assistant can then use this tool to obtain accurate data and analyze it for you.

Applicable scenarios

This tool is particularly suitable for: 1. Investors for stock research and analysis 2. Financial journalists to obtain market data and news 3. Students and researchers to learn about the stock market 4. Corporate managers to understand industry trends 5. Ordinary users to query information about their personal stocks Whether you're a professional investor or a novice in the stock market, you can easily obtain the required market information through an AI assistant.

Main functions

Historical market data
Obtain historical price data of stocks, supporting multiple time periods such as minutes, hours, days, weeks, months, and years. More than 30 technical indicators (such as MACD, RSI, Bollinger Bands, etc.) can be added for technical analysis.
Real-time market data
Obtain real-time trading information such as the latest stock prices, price changes, and trading volumes. Data sources include multiple reliable platforms such as Eastmoney, Sina Finance, and Xueqiu.
Financial statement analysis
Obtain the three major financial statements of a company, namely the balance sheet, income statement, and cash flow statement, as well as key financial indicators to assist in fundamental analysis.
News and information
Obtain news, announcements, research reports, and other information related to stocks to stay informed about company dynamics and market hotspots.
Technical analysis tools
Provide technical stock selection indicators, including more than 30 technical analysis functions such as new highs/lows, consecutive rises/falls, breaking through moving averages, and volume-price relationships.
In-depth company information
Obtain in-depth company information such as shareholder situations, executive changes, product and business compositions, dividend distributions, and restricted share unlocks.
Macroeconomic data
Obtain macroeconomic indicators such as GDP, CPI, PMI, and money supply, as well as overall stock market overview data.
Index data
Obtain historical market data and details of constituent stocks of various stock indices, supporting major indices such as the CSI 300 and SSE 50.
Advantages
Comprehensive data: Covers the entire A-share, B-share, and H-share markets, providing more than 30 types of data query functions
Easy to use: Can be queried through natural language using an AI assistant, no need to learn complex software
Real-time updates: Supports real-time market data, reflecting market changes in a timely manner
Professional analysis: Built-in with multiple technical indicators and financial analysis tools
Flexible deployment: Supports both local operation and HTTP remote access modes
Free and open source: Based on the MIT open-source license, can be freely used and modified
Limitations
Network-dependent: Requires a stable network connection to obtain real-time data
Data delay: Some data sources may have a slight delay
Technical threshold: Basic command-line operation knowledge is required for configuration
Data restrictions: Some data sources may have access frequency limits
Maintenance required: Regular updates are needed to adapt to changes in data sources

How to use

Choose an installation method
Choose the most suitable installation method according to your usage scenario: - Use Smithery for one-click installation (the simplest) - Use Docker for containerized deployment - Install from local source code (the most flexible)
Configure the AI assistant
Add the MCP server configuration to your AI assistant (such as Claude Desktop, Cursor, etc.). Edit the configuration file to specify the server's operating mode and parameters.
Start the service
Start the MCP server according to your installation method. If it's a local installation, you can start it through the command line; if it's a Docker installation, the container will run automatically.
Start using
Use natural language directly in the AI assistant to query stock market data, for example: 'Help me check the stock price of Kweichow Moutai', 'Analyze the financial statements of Ping An of China', etc.

Usage examples

Example 1: Individual investor analyzes stocks
Mr. Zhang is an individual investor who wants to analyze the investment value of Kweichow Moutai (600519). Through the AI assistant, he can: 1. Query the historical stock price trend of Moutai 2. View the latest financial statements 3. Analyze technical indicators such as MACD and RSI 4. Learn about the company's latest news and announcements 5. Check the shareholder structure and dividend situation
Example 2: Financial journalist writes a report
Reporter Li needs to write an analysis report on the performance of technology stocks. Through the AI assistant, she can: 1. Obtain the overall market situation of the technology sector 2. Query the financial data of leading technology companies 3. Analyze the capital flow of the sector 4. Obtain relevant industry news and research reports
Example 3: Student completes a course assignment
Student Wang needs to complete a stock analysis assignment for a finance course. Through the AI assistant, he can: 1. Obtain a comparison of the financial data of multiple companies 2. Calculate various financial ratios 3. Analyze the overall situation of the industry 4. Obtain macroeconomic data to support the analysis

Frequently Asked Questions

Is this tool free?
Do I need programming knowledge to use it?
What is the data update frequency?
Which stock markets are supported?
How can I obtain stock codes?
Is the data accurate?
Can I query multiple stocks at the same time?
What should I do if data acquisition fails?

Related resources

GitHub project homepage
Source code, problem feedback, and the latest updates
Smithery installation page
One-click installation and automatic updates
Docker image
Containerized deployment image
MCP protocol documentation
Official specification of the Model Context Protocol
akshare-one library
Underlying data acquisition library
Problem feedback and discussion
Submit bug reports and feature suggestions

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "china-stock-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/china_stock_mcp",
        "run",
        "china-stock-mcp"
      ]
    }
  }
}

{
    "mcpServers": {
        "china-stock-mcp": {
            "command": "uvx",
            "args": [
              "china-stock-mcp"
            ]
        }
    }
}

{
  "mcpServers": {
    "china-stock-mcp": {
      "command": "uvx",
      "args": ["china-stock-mcp", "--streamable-http", "--host", "0.0.0.0", "--port", "8081"],
      "env": {
        "MCP_BASE_URL": "http://localhost:8081/mcp"
      }
    }
  }
}

{
  "mcpServers": {
    "china-stock-mcp": {
      "command": "uvx",
      "args": [ "china-stock-mcp"]
    }
  }
}

{
  "mcpServers": {
    "china-stock-mcp": {
      "command": "uvx",
    "args": [ "china-stock-mcp"]
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

M
Maverick MCP
Python
7.3K
4 points
K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
13.4K
5 points
S
Scrapling
Scrapling is an adaptive web scraping library that can automatically learn website changes and re - locate elements. It supports multiple scraping methods and AI integration, providing high - performance parsing and a developer - friendly experience.
Python
12.1K
5 points
C
Contracts Wizard
OpenZeppelin Contracts Wizard is an interactive smart contract building tool that allows users to generate contract code based on OpenZeppelin components by selecting contract types, parameters, and functions. It supports multiple programming languages and provides API and embedding functions.
TypeScript
8.9K
4 points
A
Apple Health MCP
An MCP server for querying Apple Health data via SQL, implemented based on DuckDB for efficient analysis, supporting natural language queries and automatic report generation.
TypeScript
9.7K
4.5 points
M
MCP Server Airbnb
Certified
MCP service for Airbnb listing search and details query
TypeScript
15.3K
4 points
A
Awesome Web3 MCP Servers
This is a curated list of Web3 Model Context Protocol (MCP) servers, covering multiple categories such as chain interaction, trading, DeFi, market data, tools, and social. MCP is an open protocol that standardizes how applications provide context to LLMs, similar to the USB - C port for AI applications. DeMCP is the first decentralized MCP network, focusing on providing self - developed and open - source MCP services for agents, supporting cryptocurrency payments, and redefining the security and reliability of MCP by combining TEE and blockchain registries.
14.8K
4.5 points
F
Firecrawl MCP Server
The Firecrawl MCP Server is a Model Context Protocol server integrating Firecrawl's web - scraping capabilities, providing rich web - scraping, searching, and content - extraction functions.
TypeScript
87.1K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
17.7K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
28.8K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
56.1K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
16.7K
4.5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
51.8K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
23.7K
5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
17.5K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
37.2K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase