Stock Mcp Service

@bigbosswhd Claim

Basic information

Runtime
Python
License
Not specified
Transports
stdio
Author
bigbosswhd
Submitted by
Community
Quality
10
Stars
28

About Stock Mcp Service Server

# 中国股票市场行情 MCP 服务

Stock Mcp Service is a MCP server in the Finance & Commerce category listed in the AddMCP.net directory, published by BigBossWHD. Supported transport: stdio. Runtime: Python. The repository has 28 GitHub stars. Source code is hosted on github.com.

Setup

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

Stock Mcp Service config

Add this server to your MCP-compatible client using the configuration below.

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

Stock Mcp Service tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

Frequently asked questions

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.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬