tsrs-mcp-server
If you are the rightful owner of tsrs-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
tsrs-mcp-server is a Rust-based Model Context Protocol (MCP) server that provides a series of stock market data query interfaces using the TuShare API.
The tsrs-mcp-server is a Rust-implemented MCP server that encapsulates the TuShare API to offer various stock market data query tools. It leverages technologies such as Rust, Model Context Protocol (MCP), Poem MCP Server, and procedural macros. The server provides multiple tools for querying stock market data, including daily stock limit-up data, hot stock rankings from the Tonghuashun app, and minute-level A-share data. The project structure includes components like ts-derive for procedural macros, ts-model for data models, and the main program implementation in the src directory. Users need to configure their environment by setting the TuShare API token in a .env file. The server can be built using Rust and Cargo, and it supports two running modes: Stdio and Stream mode.
Features
- Provides multiple stock market data query tools using the TuShare API.
- Implemented in Rust with support for procedural macros.
- Supports Stdio and Stream running modes for flexibility.
- Includes tools for querying daily stock limit-up data and hot stock rankings.
- Offers minute-level A-share data retrieval.