Frequently Asked Questions about Ashare-MCP
Q: What is Ashare-MCP?
A: Ashare-MCP is an MCP (Model Context Protocol) server that provides access to real-time A-share market data, enabling AI models and agents to perform financial analysis and automate trading strategies.
Q: What kind of data does Ashare-MCP provide?
A: Ashare-MCP supports various timeframes, including minute-level (1m, 5m, 15m, 30m, 60m), daily (1d), weekly (1w), and monthly (1M) data for A-share stocks.
Q: What stock code formats are supported?
A: Ashare-MCP accepts both Tongdaxin (e.g., sh000001) and JoinQuant (e.g., 000001.XSHG) stock code formats.
Q: What are the data sources for Ashare-MCP?
A: Ashare-MCP uses Sina Finance and Tencent Finance as its data sources, ensuring data reliability and stability.
Q: How do I install Ashare-MCP?
A: You can install Ashare-MCP using pip with the command: pip install git+https://github.com/RusianHu/Ashare-mcp.git
Q: How do I use Ashare-MCP as an MCP service in UBOS?
A: Add the provided configuration to your MCP configuration file, specifying the command, arguments, and allowed functions.
Q: Can I run Ashare-MCP as a standalone service?
A: Yes, you can run Ashare-MCP as a standalone service using either standard input/output mode or HTTP mode via fastmcp serve ashare_mcp.
Q: What is the primary function offered by Ashare-MCP?
A: The primary function is get_price, which retrieves stock market data for specified stocks and timeframes.
Q: What parameters does the get_price function accept?
A: The get_price function accepts parameters such as code (stock code), end_date (end date), count (number of data points), frequency (timeframe), and fields (list of fields to return).
Q: What are the dependencies of Ashare-MCP?
A: Ashare-MCP depends on fastmcp>=0.1.0, pandas, and requests.
Q: How can I contribute to Ashare-MCP?
A: You can contribute by submitting issues and pull requests on the Ashare-MCP GitHub repository.
Q: What is the license for Ashare-MCP?
A: Ashare-MCP is licensed under the MIT License.
Q: How does Ashare-MCP integrate with the UBOS platform?
A: Ashare-MCP enhances the UBOS platform by providing real-time A-share market data for AI agents, enabling advanced financial analysis and automated trading strategies.
Ashare Stock Market Data Service – A股数据查询
Project Details
- RusianHu/Ashare-mcp
- MIT License
- Last Updated: 4/27/2025
Recomended MCP Servers
My clone repository
A powerful flow control component enabling reliability, resilience and monitoring for microservices. (面向云原生微服务的高可用流控防护组件)
한국투자증권 mcp server
An implementation of the Model Context Protocol for the World Bank open data API
MCP server for kintone
A Model Context Protocol server implementation for Dart task management system
Find most frequently occuring lines in a large file.
Sensei MCP is a Model Context Protocol (MCP) server that provides expert guidance for Dojo and Cairo development...





