Xueqiu MCP
@liqiongyu
About Xueqiu MCP
# Xueqiu MCP
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"xueqiu_mcp": {
"command": "uv",
"args": [
"venv",
"&&",
"uv",
"pip",
"install",
"-e",
"."
]
}
}
}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 Xueqiu MCP?
Xueqiu MCP is a Model Context Protocol server that wraps the Xueqiu (Snowball) API using pysnowball, enabling AI assistants like Claude to query stock data directly. It is intended for developers and investors who want to integrate Chinese stock market data into AI-driven workflows.
How to use Xueqiu MCP?
Install dependencies with uv venv && uv pip install -e . after cloning the repository. Obtain a Xueqiu token and store it in a .env file as XUEQIU_TOKEN. Start the service by running uv --directory /path/to/xueqiu_mcp run main.py or by configuring a Claude Desktop MCP client with the same uv command.
Key features of Xueqiu MCP
- Fetch real-time stock quotes
- Query index returns
- Retrieve Shenzhen–Hong Kong / Shanghai–Hong Kong northbound data
- Access fund-related data
- Search stock codes by keyword
Use cases of Xueqiu MCP
- Ask an AI assistant for a stock’s current price and intraday movement
- Check the day’s performance of a major index
- Look up northbound capital flow data without leaving a chat
- Find a stock’s symbol by searching its name or abbreviation
FAQ from Xueqiu MCP
What data does Xueqiu MCP provide?
It provides real-time quotes, index returns, northbound market data, fund data, and stock code search — all via the Xueqiu API.
Does Xueqiu MCP require an API key or token?
Yes, a valid Xueqiu token (xq_a_token) is required. The token must be placed in a .env file as XUEQIU_TOKEN. Instructions for obtaining a token are linked in the README.
What runtime dependencies does Xueqiu MCP need?
It requires Python, the uv package manager, and the pysnowball and fastmcp libraries (installed automatically via the provided setup).
How is the MCP server started and connected?
The server is run locally as a subprocess using the uv command. It uses stdio transport by default, as shown in the Claude Desktop configuration example.
Can I use Xueqiu MCP with other AI assistants besides Claude?
The README specifically mentions Claude and shows integration with Claude Desktop, but any MCP-compatible client should be able to use it.
Frequently asked questions
What data does Xueqiu MCP provide?
It provides real-time quotes, index returns, northbound market data, fund data, and stock code search — all via the Xueqiu API.
Does Xueqiu MCP require an API key or token?
Yes, a valid Xueqiu token (`xq_a_token`) is required. The token must be placed in a `.env` file as `XUEQIU_TOKEN`. Instructions for obtaining a token are linked in the README.
What runtime dependencies does Xueqiu MCP need?
It requires Python, the `uv` package manager, and the `pysnowball` and `fastmcp` libraries (installed automatically via the provided setup).
How is the MCP server started and connected?
The server is run locally as a subprocess using the `uv` command. It uses stdio transport by default, as shown in the Claude Desktop configuration example.
Can I use Xueqiu MCP with other AI assistants besides Claude?
The README specifically mentions Claude and shows integration with Claude Desktop, but any MCP-compatible client should be able to use it.
Basic information
More Other MCP servers
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Awesome Mlops
visengerA curated list of references for MLOps

Figs, Relationship Expert
Figs O'Sullivan, LMFTCouples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

Lemon.io
lemon-ioRequest dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Comments