Skip to content
Agentmart
Submit a tool

MX_FinSearch

支持自然语言检索全网实时金融信息,依托东方财富专业数据库,含证监会指定公告、券商研报、权威财经新闻、交易所实时动态及官方政策等高质信源,覆盖全球市场标的,可用于热点捕捉、舆情监控、研报速览、公告精读及投资决策等场景,助力高效获取权威金融资讯,掌握全市场信息先机。

Skill by johncui9392

IndexedMIT★ 11
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/johncui9392-mx-finsearch

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

支持自然语言检索全网实时金融信息,依托东方财富专业数据库,含证监会指定公告、券商研报、权威财经新闻、交易所实时动态及官方政策等高质信源,覆盖全球市场标的,可用于热点捕捉、舆情监控、研报速览、公告精读及投资决策等场景,助力高效获取权威金融资讯,掌握全市场信息先机。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/mx-finsearch

What's inside

Skill name
MX_FinSearch
Description
支持自然语言检索全网实时金融信息,依托东方财富专业数据库,含证监会指定公告、券商研报、权威财经新闻、交易所实时动态及官方政策等高质信源,覆盖全球市场标的,可用于热点捕捉、舆情监控、研报速览、公告精读及投资决策等场景,助力高效获取权威金融资讯,掌握全市场信息先机。
License
MIT
Instructions
140 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed

Files (3)

  • SKILL.md
  • manifest.json
  • get_data.py · scripts/

SKILL.md (first lines)

# 金融资讯搜索

通过**自然语言查询**检索时效性金融信息,数据来自于妙想大模型,适用场景包括:
- **最新新闻与政策动态**
- **公司公告与事件跟踪**
- **券商研报与市场解读**
- **宏观事件对市场/板块影响分析**

## 密钥来源与安全说明

- 本技能仅使用一个环境变量:`EM_API_KEY`。
- `EM_API_KEY` 由东方财富妙想服务(`https://ai.eastmoney.com/mxClaw`)签发,用于其接口鉴权。
- 在提供密钥前,请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。
- 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。

## 功能范围

### 基础检索能力
- 检索个股、板块、主题的最新资讯
- 聚合公告、研报、新闻等公开信息
- 返回可读正文内容(优先提取 `llmSearchResponse`)
- 支持将结果保存为本地 `.txt` 文件,便于追溯与复盘

### 输入建议
- 查询建议包含至少一个明确目标:公司、板块、事件、政策或时间范围
- 对语义不清的问句,应先做一次简洁澄清再执行检索
- 汇总时保持关键数值、专有名词和原始语义不被篡改

### 查询示例

| 类型 | query 示例 |
|---|---|
| 个股资讯 | 格力电器最新研报与公告、寒武纪 688256 最新动态 |
| 板块/主题 | 商业航天板块近期新闻、新能源政策解读 |
| 宏观/风险 | 美联储加息对A股影响、汇率风险相关公司案例 |
| 综合解读 | 今日大盘异动原因、北向资金流向解读 |

## 前提条件

### 1. 注册东方财富妙想账号

访问 https://ai.eastmoney.com/mxClaw 注册账号并获取API_KEY。

### 2. 配置 Token

```bash
# 添加到 ~/.zshrc
export EM_API_KEY="your_api_key_here"
```

然后执行:
```bash
source ~/.zshrc
```

## 快速开始

### 1. 命令行调用

```bash
python3 -m {baseDir}/scripts/get_data.py "寒武纪 688256 最新研报与公告"
```


**输出示例**
```text
Saved: /path/to/workspace/MX_FinSearch/financial_search_90bf169c.txt
(随后输出资讯正文内容)
```

**参数说明:**

| 参数 | 说明 | 必填 |
|---|---|---|
| `query`(位置参数) | 自然语言查询文本 | ✅(位置参数或 stdin 二选一) |
| `--no-save` | 仅输出结果,不写入本地文件 | 否 |

### 2. 代码调用

```python
import asyncio
from pathlib import Path
from scripts.get_data import query_financial_news

async def main():
    result = await query_financial_news(
        query="新能源板块近期政策与龙头公司动态",
        output_dir=Path("workspace/financial_search"),
        save_to_file=True,
    )
    if "error" in result:
        print(result["error"])
    else:
        print(result["content"])
        if result.get("output_path"):
            print("已保存至:", result["output_path"])

asyncio.run(main())
```

## 输出文件说明

| 文件 | 说明 |
|---|---|
| `financial_search_<ID>.txt` | 资讯正文文本(从返回中提取) |

## 返回字段说明

- `content`:提取后的资讯正文(优先 `llmSearchResponse`)。
- `output_path`:当 `save_to_file=True` 且有内容时,返回保存路径。
- `raw`:原始接口返回,便于调试或二次处理。
- `error`:检索失败时返回错误信息。

## 环境变量

| 变量 | 说明 | 默认 |
|---|---|---|
| `EM_API_KEY` | 新闻检索接口鉴权 key(必填) | 空 |

From johncui9392/Aeolus, MIT.

More from johncui9392/Aeolus

Signals

Stars
11
Forks
6
Open issues
0
Last commit (this folder)
Mar 20, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from johncui9392

Cite this page

MX_FinSearch skill. Agent Mart. https://agentmart.dev/skills/johncui9392-mx-finsearch (last updated 2026-10-24)