MCPInstall

tushare-mcp

通过 Tushare Pro MCP 获取中国金融市场数据。覆盖 A股/港股/美股/基金/期货/债券/宏观 共 158+ 个接口。当需要股价、财务、指数、宏观数据时,使用 tushare MCP tool 而非 Python 脚本。

Installs
73
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/kirkluokun/awesome-a-stock-openclawskills --skill tushare-mcp
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads tushare-mcp automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Tushare MCP 数据技能

鉴权变量:TUSHARE_API_KEY。

通过 MCP 服务器调用 Tushare Pro API,不再需要写 Python 脚本。

核心规则

  1. 使用 MCP tool,不写脚本 — 所有数据通过 tushare_* tool 获取
  2. 先用 ToolSearch 加载 — MCP tool 是 deferred 的,调用前必须 ToolSearch("tushare ...") 加载
  3. 日期格式 YYYYMMDD 或 YYYY-MM-DD — 两种都支持,MCP 内部自动转换
  4. 默认返回 100 行 — 需要更多数据用 _limit 参数
  5. 数据输出遵循存储规范 — 见 output-storage.md

使用流程

1. 确认需求 → 需要什么数据?
2. 查 tool 索引 → reference/tool-index.md 找到对应 tool
3. ToolSearch 加载 → ToolSearch("+tushare <关键词>")
4. 调用 tool → 传参获取数据
5. 存储/展示 → 按 output-storage.md 规范处理

快速定位 Tool

需求场景用哪个 tool关键参数
查某只股票行情tushare_dailyts_code, start_date, end_date
查财务三表tushare_income/balancesheet/cashflowts_code, period
查指数走势tushare_index_dailyts_code, start_date, end_date
查 ETF 行情tushare_fund_dailyts_code, trade_date
查港股行情tushare_hk_dailyts_code, start_date, end_date
查美股行情tushare_us_dailyts_code, start_date, end_date
查宏观 GDPtushare_cn_gdpq(季度如 2024Q1)
查利率 Shibortushare_shiborstart_date, end_date
查龙虎榜tushare_top_listtrade_date
查研究报告tushare_research_reportts_code, start_date, end_date
技术面因子tushare_stk_factor_prots_code, start_date, end_date
筹码分布tushare_cyq_chipsts_code, trade_date
涨跌停统计tushare_limit_list_dtrade_date
资金流向tushare_moneyflowts_code, trade_date
融资融券tushare_margintrade_date
实时分钟线tushare_rt_mints_code

完整 tool 索引:reference/tool-index.md

代码格式说明

市场代码格式示例
沪市XXXXXX.SH600000.SH
深市XXXXXX.SZ000001.SZ
北交所XXXXXX.BJ430047.BJ
港股XXXXX.HK00700.HK
美股TICKERAAPL
指数XXXXXX.SH/SZ000001.SH(上证综指)
ETFXXXXXX.SH/SZ510050.SH
期货品种代码.交易所CU2401.SHF

已知限制

  • 港股/美股财务数据需 15000 积分,积分不足会报错
  • 部分高级接口需要单独开通权限(如 rt_min 实时分钟线)
  • 单次请求默认 100 行上限,大批量需多次请求或调 _limit

调研纪要/PDF 场景

需要处理“调研纪要原文/关注问题”时,先读:

  • 调研纪要/PDF 处理指引

参考

  • Tool 完整索引 — 按场景分类的 158 个 tool
  • 数据输出规范 — 文件存储路径和格式
  • 查询模式手册 — 常见分析场景的 tool 组合
  • 调研纪要/PDF 处理指引 — 纪要抓取、权限回退与输出模板

FAQ

What does the tushare-mcp skill do?

通过 Tushare Pro MCP 获取中国金融市场数据。覆盖 A股/港股/美股/基金/期货/债券/宏观 共 158+ 个接口。当需要股价、财务、指数、宏观数据时,使用 tushare MCP tool 而非 Python 脚本。

How do I install tushare-mcp?

Run npx skills add https://github.com/kirkluokun/awesome-a-stock-openclawskills --skill tushare-mcp in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/tushare-mcp/ (personal) or .claude/skills/tushare-mcp/ (project).

Which AI agents can use tushare-mcp?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is tushare-mcp safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains tushare-mcp?

It is published by kirkluokun in kirkluokun/awesome-a-stock-openclawskills. It has 73 recorded installs.

More from kirkluokun/awesome-a-stock-openclawskills

View all →

stock-trade-journal

kirkluokun/awesome-a-stock-openclawskills

按统一规则记录交易流水。按个股落 Markdown,同时写入 SQLite 便于统计与量化复盘。

Business & Finance771 installs

financial-data-analysis

kirkluokun/awesome-a-stock-openclawskills

金融时间序列分析方法工具箱。覆盖股票 / 商品期货 / 加密货币 / ETF / 外汇 / 指数,从数据获取到高阶分析全流程。内置 70+ 分析方法,涵盖时间序列检验、预测建模、跨资产关系、波动率风险、组合优化、状态识别、商品专项和网络分析 8 大方法域。数据获取优先使用 tushare MCP tool(A股/港股/美股/期货/基金/宏观),商品期货(CL=F)、加密(BTC-USD)等 tushare 未覆盖资产用 yfinance 脚本补充。

Business & Finance284 installs

capability-evolver

kirkluokun/awesome-a-stock-openclawskills

A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.

AI & Agents148 installs

cctv-news-fetcher

kirkluokun/awesome-a-stock-openclawskills

Open the skill to read its SKILL.md instructions.

news-summary

kirkluokun/awesome-a-stock-openclawskills

This skill should be used when the user asks for news updates, daily briefings, or what's happening in the world. Fetches news from trusted international RSS feeds and can create voice summaries.

Media & Creative94 installs

reddit-search

kirkluokun/awesome-a-stock-openclawskills

搜索 Reddit 的子版块并获取相关信息。

Marketing & SEO80 installs

Popular ai & agents skills

View category →

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents513.9K installs

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents513.5K installs

skill-creator

anthropics/skills

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OfficialAI & Agents416.4K installs

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents402.1K installs

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401K installs

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents245.7K installs