✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

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.

Featured Templates

View More
Verified Icon
AI Assistants
Speech to Text
139 2196
Customer service
Multi-language AI Translator
139 1246
AI Characters
Sarcastic AI Chat Bot
129 2037
AI Assistants
Talk with Claude 3
160 2068

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.