Stock Mcp Service
@BigBossWHD
关于 Stock Mcp Service
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"stock-market": {
"command": "uv",
"args": [
"--directory",
"PATH_TO_PROJECT",
"run",
"stock_mcp_server.py"
],
"transportType": "stdio"
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Stock Mcp Service?
Stock Mcp Service is an MCP (Model Context Protocol) server that provides comprehensive Chinese A-share stock market data, including real-time prices, historical K-line data, market indices, technical analysis indicators, and time services. It is built for AI assistants and developers who need to query stock information through MCP-compatible clients.
How to use Stock Mcp Service?
Install dependencies with uv (curl -LsSf https://astral.sh/uv/install.sh | sh then uv sync --no-install-project). Configure your MCP client with the command uv --directory PATH_TO_YOUR_STOCK_MCP_SERVICE/stock_mcp_service run stock_mcp_server.py and transport type stdio. For debugging, start the server manually with uv run python stock_mcp_server.py.
Key features of Stock Mcp Service
- Real-time A-share stock prices, change percentages, and volume
- Historical K-line data (daily, weekly, monthly)
- Major market indices (SSE, SZSE, ChiNext, STAR 50, CSI 300, CSI 500)
- Technical indicators: MA, MACD, RSI, KDJ, Bollinger Bands
- Automatic technical state analysis (bull/bear, golden/death cross)
- Data caching, mixed data sources, and error handling
Use cases of Stock Mcp Service
- Retrieve current stock prices and trading status during market hours
- Analyze stock trends with historical data and technical indicators
- Generate comprehensive stock analysis reports for investment research
- Check market indices and search stocks by name or code
FAQ from Stock Mcp Service
Why does real-time data show 0?
This may happen outside of trading hours. The system automatically marks the data status to indicate whether it was obtained during trading time.
Why do Shenzhen Component Index and ChiNext Index use different data sources?
This is normal. The system uses a mixed data source strategy to ensure data completeness, switching intelligently between sources.
Why do technical indicator results differ from other software?
Differences may arise from calculation periods or algorithms. This system uses standard financial algorithms.
What are the runtime requirements?
Python and the uv package manager are required. A stable internet connection is needed to access data sources (East Money, Sina Finance, Tencent Finance, etc.).
What transport and authentication does Stock Mcp Service use?
It uses stdio transport via MCP protocol. No authentication is mentioned in the README; it fetches public stock data from open sources.
金融与商务 分类下的更多 MCP 服务器
Bitcoin SV MCP Server
b-open-ioAn MCP Server for Bitcoin SV
kospi-kosdaq-stock-server
dragon1086An MCP server that provides KOSPI/KOSDAQ stock data using FastMCP
Crypto Sentiment MCP Server
kukapayAn MCP server that delivers cryptocurrency sentiment analysis to AI agents.
Defeatbeta Api
defeat-betaAn open-source alternative to Yahoo Finance's market data APIs with higher reliability.
MetaTrader 5 MCP Server
QoyyuumA Model Context Protocol (MCP) server for interacting with the MetaTrader 5 trading platform. This server provides AI assistants with tools and resources to access market data, perform trading operations, and analyze trading history.
评论