MCP.so
Sign In
B

Bachai Xueqiu Mcp

@BACH-AI-Tools

About Bachai Xueqiu Mcp

No overview available yet

Basic information

Category

Other

Transports

stdio

Publisher

BACH-AI-Tools

Submitted by

FuguoAI

Config

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

{
  "mcpServers": {
    "xueqiu-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/xueqiu_mcp",
        "run",
        "main.py"
      ]
    }
  }
}

Tools

No tools detected

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

Overview

What is Bachai Xueqiu Mcp?

Bachai Xueqiu Mcp is an MCP (Model Context Protocol) service that wraps the Xueqiu (Snowball) stock API using pysnowball. It allows users to query Chinese stock market data directly through AI assistants such as Claude.

How to use Bachai Xueqiu Mcp?

Clone the repository, install dependencies with uv venv && uv pip install -e ., create a .env file with your Xueqiu token, then start the server with uv --directory /path/to/xueqiu_mcp run main.py. The server can be configured for Claude Desktop via a JSON entry.

Key features of Bachai Xueqiu Mcp

  • Fetch real-time stock quotes
  • Query index returns
  • Retrieve northbound data (Shenzhen/Hong Kong Connect)
  • Access fund-related data
  • Search stock codes by keyword

Use cases of Bachai Xueqiu Mcp

  • Ask an AI assistant for real-time stock prices
  • Analyze index performance via natural language
  • Look up fund data without leaving the chat interface
  • Quickly find stock codes for specific companies

FAQ from Bachai Xueqiu Mcp

How do I obtain the required Xueqiu token?

Follow the pysnowball documentation at https://github.com/uname-yang/pysnowball/blob/master/how_to_get_token.md.

What are the runtime dependencies?

The server uses Python with uv for dependency management and relies on the pysnowball and fastmcp libraries.

Does data stay local or go through a remote server?

The service runs locally and communicates directly with Xueqiu's API using your token. No intermediate servers are used.

What transport does the MCP server use?

The server is started as a local process and communicates over standard input/output (stdio), as typical for MCP CLI servers.

Is authentication required?

Yes, a valid Xueqiu token must be provided in the .env file as XUEQIU_TOKEN.

Comments

More Other MCP servers