返回顶部
i

ifind-mcpiFinD金融数据

同花顺iFinD金融数据MCP工具。用于查询A股股票、公募基金、宏观经济和新闻资讯数据。当用户需要查询股票、基金、宏观经济指标或新闻资讯时使用。

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.3.0
安全检测
已通过
409
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

ifind-mcp

iFind MCP 技能

同花顺 iFinD MCP 服务,提供专业金融数据查询。

首次使用指引

1. 安装 mcporter

bash

安装 Node.js (如果没有)


macOS: brew install node


Linux: sudo apt install nodejs

安装 mcporter

npm install -g mcporter

2. 配置密钥

将密钥配置到 ~/.openclaw/mcporter.json(推荐,跨平台兼容):

bash
mkdir -p ~/.openclaw
cat > ~/.openclaw/mcporter.json << EOF
{
mcpServers: {
hexin-ifind-stock: {
url: https://api-mcp.51ifind.com:8643/ds-mcp-servers/hexin-ifind-ds-stock-mcp,
headers: {
Authorization: Bearer <你的密钥>
}
},
hexin-ifind-fund: {
url: https://api-mcp.51ifind.com:8643/ds-mcp-servers/hexin-ifind-ds-fund-mcp,
headers: {
Authorization: Bearer <你的密钥>
}
},
hexin-ifind-edb: {
url: https://api-mcp.51ifind.com:8643/ds-mcp-servers/hexin-ifind-ds-edb-mcp,
headers: {
Authorization: Bearer <你的密钥>
}
},
hexin-ifind-news: {
url: https://api-mcp.51ifind.com:8643/ds-mcp-servers/hexin-ifind-ds-news-mcp,
headers: {
Authorization: Bearer <你的密钥>
}
}
}
}

密钥获取:在 iFinD 终端下载 MCP 配置文件(tonghuashun_token.rtf),提取 JSON 中的 Authorization 字段值。

3. 验证配置

bash
mcporter --config ~/.openclaw/mcporter.json list

应显示 4 个健康的服务器

调用方式

bash

使用配置文件的路径


mcporter --config ~/.openclaw/mcporter.json call <服务器>.<工具>

便捷脚本

bash

修改脚本中的配置路径


sed -i s|~/.config|~/.openclaw| scripts/query.sh

./scripts/query.sh stock 贵州茅台

MCP 服务器

服务器用途
hexin-ifind-stockA股股票数据
hexin-ifind-fund
公募基金数据 | | hexin-ifind-edb | 宏观经济数据 | | hexin-ifind-news | 公告资讯 |

股票工具 (hexin-ifind-stock)

工具说明
getstocksummary股票信息摘要
search_stocks
智能选股 | | getstockperfomance | 历史行情与技术指标 | | getstockinfo | 基本资料查询 | | getstockshareholders | 股本结构与股东数据 | | getstockfinancials | 财务数据与指标 | | getriskindicators | 风险指标 | | getstockevents | 公开披露事件 | | getesgdata | ESG评级 |

使用示例

bash

查询股票概况


mcporter --config ~/.openclaw/mcporter.json call hexin-ifind-stock.getstocksummary query:贵州茅台

智能选股

mcporter --config ~/.openclaw/mcporter.json call hexin-ifind-stock.search_stocks query:新能源汽车行业市值大于1000亿

历史行情

mcporter --config ~/.openclaw/mcporter.json call hexin-ifind-stock.getstockperfomance query:宁德时代最近5日涨跌幅

财务数据

mcporter --config ~/.openclaw/mcporter.json call hexin-ifind-stock.getstockfinancials query:比亚迪2025年ROE

基金工具 (hexin-ifind-fund)

工具说明
searchfunds模糊基金名称匹配
getfund_profile
基金基本资料 | | getfundmarket_performance | 行情与业绩 | | getfundownership | 份额与持有人结构 | | getfundportfolio | 投资标的与资产配置 | | getfundfinancials | 基金财务指标 | | getfundcompany_info | 基金公司信息 |

使用示例

bash

查询基金


mcporter --config ~/.openclaw/mcporter.json call hexin-ifind-fund.search_funds query:易方达科技ETF

基金业绩

mcporter --config ~/.openclaw/mcporter.json call hexin-ifind-fund.getfundmarket_performance query:富国天惠近一年收益率

持仓明细

mcporter --config ~/.openclaw/mcporter.json call hexin-ifind-fund.getfundportfolio query:中欧医疗健康混合A2025Q2持仓

宏观/新闻工具

使用示例

bash

宏观经济


mcporter --config ~/.openclaw/mcporter.json call hexin-ifind-edb.getmacrodata query:中国GDP增速

新闻资讯

mcporter --config ~/.openclaw/mcporter.json call hexin-ifind-news.getcompanynews query:华为最新公告

API 文档

详细 API 说明见 references/API.md

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 ifind-mcp-1776262141 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 ifind-mcp-1776262141 技能

通过命令行安装

skillhub install ifind-mcp-1776262141

下载

⬇ 下载 ifind-mcp v1.3.0(免费)

文件大小: 3.66 KB | 发布时间: 2026-4-17 15:04

v1.3.0 最新 2026-4-17 15:04
- Added practical usage examples for key stock, fund, macroeconomic, and news query tools.
- Improved documentation structure by including "使用示例" sections for each main toolset.
- No changes to functional code; SKILL.md documentation only.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部