← 返回 Skills 市场
326
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install finstep-tools
功能描述
财跃星辰金融数据服务。提供实时行情、板块数据、公司信息、宏观经济、研报新闻等全方位金融数据。触发条件:用户查询股票行情、板块涨跌、公司财务、宏观数据、研报公告等金融信息。
使用说明 (SKILL.md)
FinStep MCP 金融数据服务
财跃星辰提供的专业金融数据 API,覆盖 A 股市场全维度数据。
服务列表
| 服务 | 脚本 | 功能 |
|---|---|---|
| 搜索 | search.sh |
新闻、公告、研报、微信公众号、投资者问答 |
| 行情 | quote.sh |
实时行情、K线、龙虎榜、资金流向 |
| 板块 | plates.sh |
板块列表、涨跌排名、成分股 |
| 公司 | company.sh |
财务报表、估值、股东信息 |
| 宏观 | macro.sh |
LPR利率、国债收益率、央行操作、CPI/PPI/GDP等 |
| 通用 | common.sh |
交易日历、时间信息 |
使用方法
脚本位于 skill 目录的 scripts/ 子目录下,使用 bash \x3C脚本> \x3C子命令> [参数...] 格式调用。
前置条件:设置 API 签名
所有脚本通过环境变量 FINSTEP_SIGNATURE 读取 API 签名。调用任何脚本前,先检查该变量是否已设置:
echo $FINSTEP_SIGNATURE
- 如果已有值,直接使用
- 如果为空,向用户询问签名,然后设置:
export FINSTEP_SIGNATURE="\x3C用户提供的签名>"
签名格式示例(不可用):AI-ONE-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,可从财跃星辰平台获取。
1. 搜索新闻/研报/公告
bash scripts/search.sh news "关键词"
bash scripts/search.sh report "关键词"
bash scripts/search.sh announcement "股票代码或名称"
bash scripts/search.sh morning
2. 查询行情
# 实时行情快照 (支持代码或名称)
bash scripts/quote.sh snapshot "茅台"
bash scripts/quote.sh snapshot "600519"
# 板块行情快照
bash scripts/quote.sh snapshot_plate "白酒"
# K线数据 (代码 数量 类型 复权)
# 类型: 1=日K, 2=周K, 3=月K | 复权: 1=不复权, 2=前复权, 3=后复权
bash scripts/quote.sh kline "600519" 30 1 2
# 分时数据
bash scripts/quote.sh intraday "600519"
# 大盘行情
bash scripts/quote.sh market
# 龙虎榜 (日期 [关键词])
bash scripts/quote.sh leader "2026-02-05"
# 资金流向 (关键词 [结束日期] [开始日期])
bash scripts/quote.sh flow "600519"
# 热门行业
bash scripts/quote.sh trending
# 投资日历 (开始日期 结束日期)
bash scripts/quote.sh calendar "2026-02-05" "2026-02-10"
# 港股K线
bash scripts/quote.sh hk_kline "00700" 30
# 美股K线
bash scripts/quote.sh us_kline "AAPL" 30
3. 板块数据
# 板块列表 ([关键词] [类型: concept/industry])
bash scripts/plates.sh list "白酒"
# 板块涨跌排名
bash scripts/plates.sh ranking
# 查询股票所属板块
bash scripts/plates.sh stock "茅台"
# 板块成分股
bash scripts/plates.sh stocks "白酒"
4. 公司信息
bash scripts/company.sh base "600519" # 公司基本信息
bash scripts/company.sh security "600519" # 证券信息
bash scripts/company.sh finance "600519" # 财务信息 ([结束日期])
bash scripts/company.sh valuation "600519" # 估值指标 ([结束日期] [开始日期])
bash scripts/company.sh holders "600519" "01" # 股东信息 (01=十大股东, 02=十大流通股东)
bash scripts/company.sh holders_num "600519" # 股东人数
bash scripts/company.sh balance "600519" # 资产负债表
bash scripts/company.sh cashflow "600519" # 现金流量表
bash scripts/company.sh income "600519" # 利润表
bash scripts/company.sh business "600519" # 主营业务
bash scripts/company.sh industry "600519" # 申万行业分类
5. 宏观数据
bash scripts/macro.sh lpr # LPR 利率
bash scripts/macro.sh bond # 中美国债收益率
bash scripts/macro.sh pboc # 央行公开市场操作 ([日期])
bash scripts/macro.sh pboc_week # 央行一周操作汇总 ([周末日期])
bash scripts/macro.sh rrr # 存款准备金率
bash scripts/macro.sh pmi # PMI指数 ([结束日期] [开始日期])
bash scripts/macro.sh cpi # CPI
bash scripts/macro.sh ppi # PPI
bash scripts/macro.sh gdp # GDP季度
bash scripts/macro.sh unemployment # 失业率
bash scripts/macro.sh house "北京" # 主要城市房价 (城市 [结束日期] [开始日期])
6. 通用工具
bash scripts/common.sh time # 获取当前时间
bash scripts/common.sh trade_info # 交易日信息(是否交易日、上下一个交易日)
# 交易日历 (开始日期 结束日期 市场)
# 市场: 18=北交所, 83=上交所, 90=深交所, 72=港交所, 78=纽交所
bash scripts/common.sh trade_date "2026-02-01" "2026-02-28" 83
API 端点
Base URL: http://fintool-mcp.finstep.cn
| 端点 | 用途 |
|---|---|
| /common | 通用工具 |
| /market_quote | 行情数据 |
| /plates | 板块数据 |
| /company_info | 公司信息 |
| /macro | 宏观数据 |
| /search | 搜索服务 |
已知问题
plates.sh stocks(板块成分股): 接口返回"暂未找到相关股票信息",可能是后端问题
注意事项
- 所有接口返回 JSON 格式
- 股票检索支持代码、名称、拼音等多种方式
- 部分接口有调用频率限制
- K线数据单次最多100条,需要更多数据请分批调用
安全使用建议
Before installing or running this skill: (1) recognize it requires an API signature (FINSTEP_SIGNATURE) even though the registry metadata does not list it—do not paste secrets into the chat; (2) verify you trust the external domain (http://fintool-mcp.finstep.cn) and the skill publisher before providing the signature; (3) prefer to supply tokens via a secure credential manager rather than pasting them into shells if possible; (4) be aware the scripts include the signature in the request URL (query parameter), which can leak in logs or referrers—ask the provider to use an Authorization header if you need stronger secrecy; (5) if you cannot verify the service/operator, treat this skill as higher risk and avoid providing real credentials.
功能分析
Type: OpenClaw Skill
Name: finstep-tools
Version: 1.0.0
The skill bundle provides a wrapper for financial data APIs from 'finstep.cn', but all shell scripts (e.g., company.sh, quote.sh, macro.sh) are highly vulnerable to JSON injection. They concatenate unsanitized shell variables directly into JSON-RPC payloads within curl commands (e.g., using "${KEYWORD}" inside a JSON string). This allows a malicious user or a prompt-injected agent to manipulate the API request structure. While the intent appears to be a legitimate financial service, the lack of input sanitization in a tool designed for AI execution poses a significant risk.
能力评估
Purpose & Capability
The name/description match the included scripts and the declared API endpoints—scripts implement search, quote, plates, company, macro and common functions against an external FinStep MCP service, which is coherent with the stated purpose.
Instruction Scope
SKILL.md instructs the agent to ask the user for an API signature and run local bash scripts; the scripts only call the external JSON-RPC endpoints and do not read unrelated files or other system secrets.
Install Mechanism
No install spec or external downloads are present; all scripts are included in the skill bundle (no network installation). This minimizes install-time risk.
Credentials
The runtime scripts require a sensitive FINSTEP_SIGNATURE environment variable (used via parameter expansion and mandatory in every script), but the registry metadata lists no required env vars—this mismatch is misleading. The signature is transmitted in URL query parameters to http://fintool-mcp.finstep.cn, which can expose the secret in logs or referer headers; the external domain is not verified in the package metadata.
Persistence & Privilege
The skill is not always-enabled, does not request system-wide changes, and does not modify other skills or system config; autonomous invocation is allowed (platform default) but not combined with elevated privileges here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install finstep-tools - 安装完成后,直接呼叫该 Skill 的名称或使用
/finstep-tools触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
FinStep MCP 1.0.0 - Initial release
- 提供全方位 A 股金融数据服务,包括实时行情、板块数据、公司信息、宏观经济、研报新闻等
- 操作方式详尽,涵盖主流金融数据调用脚本及参数说明
- 支持自定义 API 签名(环境变量版)
- 明确列出已知问题及接口限制
- 首次发布覆盖所有核心功能和主流查询场景
元数据
常见问题
finstep-tools 是什么?
财跃星辰金融数据服务。提供实时行情、板块数据、公司信息、宏观经济、研报新闻等全方位金融数据。触发条件:用户查询股票行情、板块涨跌、公司财务、宏观数据、研报公告等金融信息。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 326 次。
如何安装 finstep-tools?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install finstep-tools」即可一键安装,无需额外配置。
finstep-tools 是免费的吗?
是的,finstep-tools 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
finstep-tools 支持哪些平台?
finstep-tools 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 finstep-tools?
由 zacbai(@zacbai)开发并维护,当前版本 v1.0.0。
推荐 Skills