MCP.so
登录
S

Stock MCP Service

@BigBossWHD

基本信息

分类

金融与商务

传输方式

stdio

作者

BigBossWHD

提交者

海达 王

关于 Stock MCP Service

暂无概览

Stock MCP Service 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "stock-market": {
      "command": "uv",
      "args": [
        "--directory",
        "PATH_TO_PROJECT",
        "run",
        "stock_mcp_server.py"
      ],
      "transportType": "stdio"
    }
  }
}

Stock MCP Service 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

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.

2

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.

3

Why do technical indicator results differ from other software?

Differences may arise from calculation periods or algorithms. This system uses standard financial algorithms.

4

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.).

5

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 服务器