MCPSERV.CLUB
hanxuanliang

Tsrs MCP Server

MCP Server

Rust‑powered TuShare data server via Model Context Protocol

Stale(50)
16stars
0views
Updated Sep 24, 2025

About

A Rust implementation of an MCP server that exposes TuShare stock market APIs, providing tools for daily limit step analysis, hot list retrieval, concept board data, money flow, and minute‑level trading information.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

chatwise-config

Overview

The Tsrs MCP Server is a Rust‑based Model Context Protocol (MCP) implementation that exposes the rich data set of TuShare, a popular Chinese stock market data provider. By wrapping TuShare’s API into MCP tools, the server enables AI assistants such as Claude to query live market information without leaving their native conversational environment. This solves the common pain point of data latency and integration complexity for developers building finance‑focused AI workflows.

At its core, the server provides a collection of high‑level “tools” that map directly to TuShare endpoints. Each tool is defined with clear parameters and return types, allowing an assistant to request specific market slices—such as daily limit‑up counts, hot list rankings from Tonghuashun, or minute‑level A‑share trades—while the server handles authentication, rate limiting, and data transformation. The result is a seamless experience where an AI can say “Show me the stocks that hit 5‑step limit ups on March 15” and receive a structured JSON payload ready for analysis or visualization.

Key capabilities include:

  • Comprehensive market coverage: from tick‑by‑tick minute data to concept‑level fund flows.
  • Customizable queries: tools accept date ranges, stock codes, and concept identifiers to fetch precisely the data slice needed.
  • Dual‑mode operation: a lightweight Stdio mode for quick local testing and an HTTP stream mode that can be deployed behind reverse proxies or cloud functions.
  • Rust performance & safety: the server leverages procedural macros for concise API bindings, ensuring low overhead and reliable type safety.

Typical use cases span financial research, algorithmic trading prototyping, and regulatory compliance reporting. A data scientist might embed the server in a notebook, while an ops engineer could expose it as a microservice that feeds a trading bot’s decision engine. Because the MCP interface is standardized, any AI platform that supports MCP—whether it’s a custom chatbot or a third‑party service—can tap into the same data stream without writing bespoke connectors.

What sets this server apart is its tight integration with TuShare’s extensive data catalog and the convenience of Poem MCP Server. Developers benefit from a ready‑to‑run binary that requires only an API token, and the Rust ecosystem guarantees that the service remains fast, memory‑efficient, and easy to audit. In short, Tsrs MCP Server turns raw market data into an AI‑friendly resource that accelerates insight generation and lowers the barrier to building sophisticated financial assistants.