Stock MCP
Intelligent stock data service based on Model Context Protocol, providing real-time quotes, fundamental analysis, news, and in-depth research reports driven by AI for A-shares, Hong Kong stocks, and US stocks
2.5 points
6.5K

What is Stock MCP Server?

Stock MCP Server is an intelligent stock data service platform that provides global stock market data services for AI assistants and applications through Model Context Protocol technology. It integrates real-time quotes, historical data, news, and fundamental analysis of the three major markets of A-shares, Hong Kong stocks, and US stocks, and has built-in in-depth research functions driven by AI.

How to use Stock MCP Server?

Using Stock MCP Server is very simple: 1) Deploy the service with one click via Docker; 2) Configure the necessary API keys; 3) Access stock data through RESTful API or MCP protocol; 4) Integrate it into your AI assistant or application. The whole process can be completed in just 5 minutes.

Applicable scenarios

Stock MCP Server is suitable for various scenarios such as investment analysis, quantitative trading research, stock query of AI assistants, financial data visualization, investment education, and market monitoring. Both individual investors and professional institutions can gain value from it.

Main features

Global market coverage
One-stop access to data of the three major markets of A-shares, Hong Kong stocks, and US stocks, supporting stock information queries of more than 200 exchanges
AI intelligent analysis
Built-in AI functions such as news sentiment analysis, in-depth research report generation, and intelligent semantic search, providing data-driven investment suggestions
Multi-data source integration
Intelligently aggregates multiple authoritative data sources such as AKShare, Tushare, yFinance, and Finnhub to ensure data accuracy and integrity
High-performance cache
An intelligent cache system based on Redis, supporting an automatic degradation mechanism to ensure stable and reliable service and rapid response
One-click deployment
Provides a complete Docker containerization solution, and the service can be deployed in 5 minutes and is ready to use out of the box
Complete API ecosystem
Provides dual interfaces of RESTful API and MCP protocol, supporting all-round data services such as real-time quotes, historical data, financial statements, and technical indicators
Advantages
๐ŸŒ One-stop coverage of the global market without switching multiple data sources
๐Ÿค– In-depth analysis driven by AI, surpassing traditional data services
๐Ÿš€ Ready to use, simple and fast Docker deployment
๐Ÿ“Š Rich data sources with guaranteed accuracy
๐Ÿ’พ High-performance cache, fast access speed
๐Ÿ”„ Continuously updated and maintained, with functions constantly improved
Limitations
โš ๏ธ Some advanced functions require additional API keys to be configured
โฑ๏ธ The update frequency of real-time data is limited by the data source
๐ŸŒ There may be delays in data of some international markets
๐Ÿ”ง Basic server deployment knowledge is required
๐Ÿ“ˆ The depth of historical data is limited by the data source policy

How to use

Environment preparation
Ensure that Docker and Docker Compose are installed on your system. This is the basic environment requirement for running Stock MCP Server.
Get project code
Clone the project from the code repository to your local machine and prepare for configuration and deployment.
Configure environment variables
Copy the environment configuration file and set the necessary API keys, especially the Tushare Token for A-share data access.
Start the service
Use Docker Compose to start all service components with one click, including API service, MCP service, and Redis cache.
Verify the service
Access the Swagger UI documentation interface to confirm that the service is running normally and understand all available interfaces.

Usage examples

In-depth analysis of individual stocks
Conduct comprehensive historical performance analysis and fundamental research on specific stocks and generate investment analysis reports.
Comparative research of multiple stocks
Simultaneously analyze the real-time quotes and fundamental data of multiple related stocks for horizontal comparison.
Market monitoring
Set up regular queries for real-time quotes of specific stock portfolios to monitor market changes.
News sentiment analysis
Analyze market sentiment based on the latest news and evaluate its impact on specific stocks.

Frequently asked questions

Is Stock MCP Server free?
Which stock markets are supported?
What is the data update frequency?
What technical foundation is required to use it?
How to obtain the Tushare Token?
Does it support real-time data push?
How is data accuracy ensured?
Does it support mobile access?

Related resources

Complete API documentation
Detailed descriptions, parameter definitions, and response examples of all interfaces
User guide
Detailed configuration explanations, deployment guides, and best practices
Interactive API documentation
The Swagger UI interface that can be accessed after the service is started, supporting online testing
GitHub repository
Project source code and latest updates
Docker Hub
Container image repository
Model Context Protocol
Official documentation of the MCP protocol

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

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
9.7K
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
8.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
10.2K
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
10.7K
4.5 points
M
MCP Server Airbnb
Certified
MCP service for Airbnb listing search and details query
TypeScript
13.6K
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.7K
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
67.1K
5 points
R
Rednote MCP
RedNote MCP is a tool that provides services for accessing Xiaohongshu content. It supports functions such as authentication management, keyword - based note search, and command - line initialization, and can access note content via URL.
TypeScript
12.4K
4.5 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
23.8K
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
15.7K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
45.0K
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
14.8K
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
46.0K
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#
19.3K
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
15.0K
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
29.5K
4.8 points