tushare rust mcp server
Connect Tsrs to Claude, Cursor or any other MCP client and it stops being a tab you switch to. tushare rust mcp server. The tsrs mcp server is what makes that connection.
这是一个基于 Model Context Protocol (MCP) 的TuShare数据服务器,提供了一系列股票市场数据查询接口。
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
Rust — Model Context Protocol (MCP)ts-derive — 提供用于TuShare API的过程宏实现ts-model — 包含数据模型src — 主程序实现limit_step — 获取每天连板个数晋级的股票ths_hot — 获取同花顺App热榜数据kpl_list — 获取涨跌停板数据kpl_concept — 获取开盘啦概念题材列表kpl_concept_cons — 获取开盘啦概念题材的成分股limit_cpt_list — 获取每天涨停股票最多的概念板块moneyflow_ths — 获取同花顺个股资金流向数据moneyflow_cnt_ths — 获取同花顺概念板块每日资金流向Configuration is passed through the environment: TUSHARE_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Tsrs's toolset — Rust, ts-derive, ts-model and 10 more — is a fair guide to whether it matches your workflow. It is maintained by hanxuanliang; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Rust | Model Context Protocol (MCP) |
| ts-derive | 提供用于TuShare API的过程宏实现 |
| ts-model | 包含数据模型 |
| src | 主程序实现 |
| limit_step | 获取每天连板个数晋级的股票 |
| ths_hot | 获取同花顺App热榜数据 |
| kpl_list | 获取涨跌停板数据 |
| kpl_concept | 获取开盘啦概念题材列表 |
| kpl_concept_cons | 获取开盘啦概念题材的成分股 |
| limit_cpt_list | 获取每天涨停股票最多的概念板块 |
| moneyflow_ths | 获取同花顺个股资金流向数据 |
| moneyflow_cnt_ths | 获取同花顺概念板块每日资金流向 |
| stk_mins | 获取A股分钟数据 |
| Variable | Description | Required |
|---|---|---|
| TUSHARE_TOKEN | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.