@openanysi/news-source-research-mcp 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +93 -49
- package/docs/README.zh-CN.md +103 -57
- package/package.json +12 -7
- package/skills/news-source-research/references/evidence-brief.en.md +11 -21
- package/skills/news-source-research/references/evidence-brief.zh.md +12 -22
- package/skills/news-source-research/references/research.en.md +17 -22
- package/skills/news-source-research/references/research.zh.md +18 -21
- package/vertical.config.json +2 -2
- package/workflows/evidence-brief.en.md +11 -21
- package/workflows/evidence-brief.zh.md +12 -22
- package/workflows/research.en.md +17 -22
- package/workflows/research.zh.md +18 -21
package/README.md
CHANGED
|
@@ -10,15 +10,17 @@ English | [简体中文](docs/README.zh-CN.md)
|
|
|
10
10
|
|
|
11
11
|
## Overview
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Use this MCP to research news search results and RSS sources for evidence-based briefs.
|
|
14
|
+
|
|
15
|
+
Designed for journalists and industry-research editors, it supplies evidence your agent can turn into a source comparison with event chronology, duplicate coverage and unresolved claims.
|
|
14
16
|
|
|
15
17
|
**Best For / Not For**
|
|
16
18
|
|
|
17
|
-
- **Best For:**
|
|
18
|
-
- **Best For:**
|
|
19
|
-
- **Best For:**
|
|
20
|
-
- **
|
|
21
|
-
- **Not For:**
|
|
19
|
+
- **Best For:** Search news to discover source candidates within an explicit market.
|
|
20
|
+
- **Best For:** Read feed to inspect a supplied publication feed without pretending to retrieve full articles.
|
|
21
|
+
- **Best For:** comparing collected records with their object, time and field-coverage context.
|
|
22
|
+
- **Best For:** analyzing supplied material without collecting again merely to write a report.
|
|
23
|
+
- **Not For:** operations or filters absent from Tools Reference, or treating samples as complete coverage; see the scope FAQ.
|
|
22
24
|
|
|
23
25
|
## Table of Contents
|
|
24
26
|
|
|
@@ -76,36 +78,34 @@ Store `OPENANY_API_KEY` in private client settings or the inherited environment.
|
|
|
76
78
|
|
|
77
79
|
## Key Features
|
|
78
80
|
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
81
|
+
- **Search news:** use `search_news` as an independent operation; inspect its inputs and available fields below.
|
|
82
|
+
- **Read feed:** use `read_feed` as an independent operation; inspect its inputs and available fields below.
|
|
83
|
+
- **Comparable evidence:** retain Source URL; Publication / event date; Original or syndicated; mark missing fields unknown.
|
|
84
|
+
- **Inspect before collection:** read current parameters and pricing before each request; uncertain outcomes are not automatically replayed.
|
|
85
|
+
- **Bilingual task guidance:** collection and reporting guides support analysis and available local exports with your own client model.
|
|
86
|
+
- **Related capability discovery:** inspect the OpenAny catalog when this domain needs another operation; discovery does not execute or install it.
|
|
85
87
|
|
|
86
88
|
## Example Prompts
|
|
87
89
|
|
|
88
|
-
- "
|
|
89
|
-
- "
|
|
90
|
-
- "
|
|
91
|
-
- "Use only the
|
|
90
|
+
- "Compare news-search samples and RSS entries about a supplied industry event."
|
|
91
|
+
- "Search my event keyword in English for the United States, using exactly one task; compare it with the feed URL I provide."
|
|
92
|
+
- "Group repeated reports by source and event date; do not treat a search snippet as full article text."
|
|
93
|
+
- "Use only the records I provide. Make no new data calls. Organize the evidence columns below, mark missing fields and list follow-up questions."
|
|
92
94
|
|
|
93
95
|
## Why news-source-research-mcp?
|
|
94
96
|
|
|
95
97
|
| What You Care About | How We Handle It | Value to You |
|
|
96
98
|
| --- | --- | --- |
|
|
97
|
-
|
|
|
98
|
-
|
|
|
99
|
-
| Evidence quality | Preserve source records and sample limits | Reviewable comparisons and briefs |
|
|
100
|
-
| Flexible reporting | Your client performs analysis and writing | Use your chosen model and file tools |
|
|
99
|
+
| Search news | Use `search_news` with `request` | Discover source candidates within an explicit market |
|
|
100
|
+
| Read feed | Use `read_feed` with `request` | Inspect a supplied publication feed without pretending to retrieve full articles |
|
|
101
101
|
|
|
102
102
|
## What You Can Build & Deliver
|
|
103
103
|
|
|
104
104
|
| Use Case | How the Agent Runs It | Typical Deliverables |
|
|
105
105
|
| --- | --- | --- |
|
|
106
|
-
|
|
|
107
|
-
|
|
|
108
|
-
|
|
|
106
|
+
| Search news | Choose `search_news` with the identifiers and inputs required by its current contract. | Sourced evidence to help discover source candidates within an explicit market. |
|
|
107
|
+
| Read feed | Choose `read_feed` with the identifiers and inputs required by its current contract. | Sourced evidence to help inspect a supplied publication feed without pretending to retrieve full articles. |
|
|
108
|
+
| News Source brief | Align object identity, dates and units before interpreting collected records. | Sourced observations, unresolved differences and follow-up checks. |
|
|
109
109
|
|
|
110
110
|
## Tools Reference
|
|
111
111
|
|
|
@@ -122,6 +122,43 @@ Responses are passed through rather than normalized into an invented common busi
|
|
|
122
122
|
|
|
123
123
|
News search returns search-result samples; feed reads return available feed entries. Publication date, event date, original reporting and syndicated copies must be distinguished. No complete article or copyright license is implied.
|
|
124
124
|
|
|
125
|
+
#### Nested Request Shapes
|
|
126
|
+
|
|
127
|
+
Paths show actual nesting; do not send nested fields at the tool top level. `[]` denotes an array item. Required markers apply within the containing object; inspect `get_tool_info` for conditional alternatives.
|
|
128
|
+
|
|
129
|
+
**`search_news`** — `request` array item count: 1–1
|
|
130
|
+
|
|
131
|
+
| Nested field | Requirement | Type / constraints |
|
|
132
|
+
| --- | --- | --- |
|
|
133
|
+
| `request[].depth` | Optional | integer / null (…–200) |
|
|
134
|
+
| `request[].keyword` | Required within parent | string |
|
|
135
|
+
| `request[].language_code` | Required within parent | string |
|
|
136
|
+
| `request[].location_code` | Optional | integer |
|
|
137
|
+
| `request[].location_name` | Required within parent | string |
|
|
138
|
+
|
|
139
|
+
**`read_feed`**
|
|
140
|
+
|
|
141
|
+
| Nested field | Requirement | Type / constraints |
|
|
142
|
+
| --- | --- | --- |
|
|
143
|
+
| `request.limit` | Optional | integer (1–25) |
|
|
144
|
+
| `request.url` | Required within parent | string (length 1–…) |
|
|
145
|
+
|
|
146
|
+
#### Minimal Tool Arguments
|
|
147
|
+
|
|
148
|
+
These are example arguments for `search_news`; they were not sent as business requests.
|
|
149
|
+
|
|
150
|
+
```json
|
|
151
|
+
{
|
|
152
|
+
"request": [
|
|
153
|
+
{
|
|
154
|
+
"keyword": "battery recycling",
|
|
155
|
+
"language_code": "en",
|
|
156
|
+
"location_name": "United States"
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
125
162
|
### Utility Tools (Free, No API Key Required)
|
|
126
163
|
|
|
127
164
|
| Tool | Parameters | Behavior |
|
|
@@ -130,14 +167,13 @@ News search returns search-result samples; feed reads return available feed entr
|
|
|
130
167
|
| `get_workflow` | Required `workflow`; optional `language` (`zh` or `en`, default `zh`) | Return a guide; use `language: "en"` for English |
|
|
131
168
|
| `search_openany_capabilities` | Required `query` (1-256 characters); optional `limit` (1-10, default 5) | Search related capabilities without executing them |
|
|
132
169
|
|
|
133
|
-
|
|
134
170
|
## Compatible Fallbacks
|
|
135
171
|
|
|
136
172
|
A compatible backup is enabled by default for `search_news`. `get_tool_info` inspects both current contracts and prices. A request makes at most two physical attempts, and switches only after a confirmed safe, uncharged failure. Unknown execution or billing, timeouts, input/authentication errors, and successful empty or partial responses do not switch routes.
|
|
137
173
|
|
|
138
174
|
| Tool | Supported backup scope |
|
|
139
175
|
| --- | --- |
|
|
140
|
-
| `search_news` | One English-US news task using location_name
|
|
176
|
+
| `search_news` | One English-US news task using `location_name`=United States, without `location_code`; results are a source-dependent news sample. |
|
|
141
177
|
|
|
142
178
|
For these tools only, `allow_fallback` is an optional boolean (default `true`); `max_total_cost_usd` is an optional positive decimal USD string with at most six decimal places. The default total ceiling is the larger inspected route quote. An existing `max_cost_usd` remains a stricter cap. Set `allow_fallback: false` to use only the primary route.
|
|
143
179
|
|
|
@@ -145,58 +181,66 @@ Backup payload layouts and sampling may differ. The response preserves the origi
|
|
|
145
181
|
|
|
146
182
|
## Built-in Workflow Guides
|
|
147
183
|
|
|
148
|
-
`get_workflow` returns instructions
|
|
184
|
+
`get_workflow` returns instructions for your client without calling data tools or a model. Select `language: "en"` for English.
|
|
149
185
|
|
|
150
186
|
| Guide ID | Best For | What It Provides |
|
|
151
187
|
| --- | --- | --- |
|
|
152
|
-
| `research` | Planning
|
|
153
|
-
| `evidence_brief` | Reporting from collected
|
|
188
|
+
| `research` | Planning news source research | A tool/identifier checklist and a scoped collection method. |
|
|
189
|
+
| `evidence_brief` | Reporting from collected news source research records | Source attribution, comparison context, missing information and follow-up questions. |
|
|
154
190
|
|
|
155
191
|
### Companion Skill (Optional)
|
|
156
192
|
|
|
157
|
-
The [companion Skill](skills/news-source-research/SKILL.md) contains the same bilingual guides. Install
|
|
193
|
+
The [companion Skill](skills/news-source-research/SKILL.md) contains the same bilingual guides. Install it only if your client supports Skills; MCP guides work independently.
|
|
158
194
|
|
|
159
195
|
## End-to-End Example
|
|
160
196
|
|
|
161
|
-
**Prompt:** "
|
|
197
|
+
**Prompt:** "Search my event keyword in English for the United States, using exactly one task; compare it with the feed URL I provide."
|
|
162
198
|
|
|
163
199
|
**How the Agent Executes:**
|
|
164
200
|
|
|
165
|
-
1. Load `research
|
|
166
|
-
2. Inspect `get_tool_info` for
|
|
167
|
-
3.
|
|
168
|
-
4.
|
|
169
|
-
5.
|
|
201
|
+
1. Load `research`, establish identifiers, scope and budget, and select the needed tools: `search_news`, `read_feed`.
|
|
202
|
+
2. Inspect `get_tool_info` for current schemas and pricing. Make authorized calls only with confirmed identifiers and required inputs; do not fabricate IDs or append pages automatically.
|
|
203
|
+
3. Submit one news-search task with keyword, `language_code` and `location_name`, or read a supplied feed URL. Separate publication dates, event dates, original reporting and syndicated copies.
|
|
204
|
+
4. Retain evidence using these columns: Source URL | Publication / event date | Original or syndicated | Claim | Corroboration | Missing context. Mark absent fields unknown.
|
|
205
|
+
5. Load `evidence_brief`, write evidence-linked findings and open questions, and export Markdown/CSV only when client file tools are available.
|
|
170
206
|
|
|
171
207
|
## FAQ
|
|
172
208
|
|
|
173
|
-
###
|
|
209
|
+
### Which inputs should I confirm before starting?
|
|
174
210
|
|
|
175
|
-
|
|
211
|
+
`search_news` requires `request`; `read_feed` requires `request`. Choose the operation that matches the supplied query or known record; ask for missing identifiers rather than guessing from names.
|
|
212
|
+
|
|
213
|
+
### How should I compare the returned records?
|
|
214
|
+
|
|
215
|
+
Align Source URL; Publication / event date; Original or syndicated before comparing. Keep supported observations separate from unavailable fields and list the specific follow-up evidence needed.
|
|
216
|
+
|
|
217
|
+
### What are the domain-specific scope limits?
|
|
218
|
+
|
|
219
|
+
News search returns search-result samples; feed reads return available feed entries. Publication date, event date, original reporting and syndicated copies must be distinguished. No complete article or copyright license is implied.
|
|
176
220
|
|
|
177
|
-
###
|
|
221
|
+
### How much does this MCP cost?
|
|
178
222
|
|
|
179
|
-
|
|
223
|
+
The Apache-2.0 package has no MCP subscription fee. Three utilities are free and keyless; 2 data tools follow current OpenAny pricing. Inspect `get_tool_info` before calling. Client model costs are separate.
|
|
180
224
|
|
|
181
|
-
###
|
|
225
|
+
### Do I need a platform account or browser cookies?
|
|
182
226
|
|
|
183
|
-
|
|
227
|
+
Data calls use `OPENANY_API_KEY`. The MCP configuration does not require a personal platform account or browser cookies, and does not grant access to unprovided private account data.
|
|
184
228
|
|
|
185
|
-
###
|
|
229
|
+
### Which clients work, and what can I try without a key?
|
|
186
230
|
|
|
187
|
-
|
|
231
|
+
Use a standard local `stdio` MCP client. The configuration JSON applies to hosts using `mcpServers`; other clients register the same command. Without a key, inspect tools, read guides and discover related capabilities.
|
|
188
232
|
|
|
189
|
-
###
|
|
233
|
+
### Can I treat missing fields as zero or infer complete coverage?
|
|
190
234
|
|
|
191
|
-
|
|
235
|
+
No. Preserve object identity, source, filters and sample scope. Mark missing values unknown; the returned sample does not represent uncollected records.
|
|
192
236
|
|
|
193
|
-
###
|
|
237
|
+
### Who writes the report and exports files?
|
|
194
238
|
|
|
195
|
-
|
|
239
|
+
Your client agent analyzes and writes; Markdown/CSV export requires its file tools. The MCP returns data and guides rather than generating a report. Discover missing capabilities with `search_openany_capabilities` or the general OpenAny MCP.
|
|
196
240
|
|
|
197
|
-
###
|
|
241
|
+
### What should I do after a timeout or uncertain result?
|
|
198
242
|
|
|
199
|
-
|
|
243
|
+
Preserve the original request ID and inspect its outcome before another call. A missing final response does not prove that it was uncharged; do not automatically replay an uncertain request.
|
|
200
244
|
|
|
201
245
|
## Error Handling & Retries
|
|
202
246
|
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# news-source-research-mcp:新闻检索与来源对照研究 MCP
|
|
2
2
|
|
|
3
|
-
通过 OpenAny 为 Claude、Cursor 等客户端提供新闻检索与来源对照研究。本地 stdio 运行,客户端负责分析、写作与导出。
|
|
3
|
+
通过 OpenAny 为 Claude、Cursor 等客户端提供新闻检索与来源对照研究。本地 `stdio` 运行,客户端负责分析、写作与导出。
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@openanysi/news-source-research-mcp)
|
|
6
6
|
[](../LICENSE)
|
|
@@ -10,15 +10,17 @@
|
|
|
10
10
|
|
|
11
11
|
## 概览
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
本包面向新闻与行业研究编辑。研究范围包括搜索新闻样本、读取 Feed 条目。
|
|
14
|
+
|
|
15
|
+
可交付的成果包括:含事件时间线、重复报道和未核实说法的来源对照。
|
|
14
16
|
|
|
15
17
|
**适合 / 不适合**
|
|
16
18
|
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
19
|
+
- **适合:**搜索新闻样本,用于在明确市场内发现来源候选。
|
|
20
|
+
- **适合:**读取 Feed 条目,用于读取指定发布源 Feed 而不冒充文章全文。
|
|
21
|
+
- **适合:**比较已收集记录的对象、时间和字段覆盖,明确缺失信息。
|
|
22
|
+
- **适合:**仅分析用户提供的已有材料,不为写报告新增采集。
|
|
23
|
+
- **不适合:**使用工具未开放的操作或筛选,或将样本当作完整覆盖;具体范围见 FAQ。
|
|
22
24
|
|
|
23
25
|
## 目录
|
|
24
26
|
|
|
@@ -42,7 +44,7 @@
|
|
|
42
44
|
|
|
43
45
|
### 前置条件
|
|
44
46
|
|
|
45
|
-
- Node.js 22+ 和支持本地 stdio MCP 的客户端。
|
|
47
|
+
- Node.js 22+ 和支持本地 `stdio` MCP 的客户端。
|
|
46
48
|
- 数据调用需要 OpenAny Key:[API Keys](https://openany.si/dashboard/?page=api-keys)、[配置指南](https://openany.si/setup.md)、[用量和费用](https://openany.si/dashboard/?page=usage)。
|
|
47
49
|
- 三个辅助工具免 Key。
|
|
48
50
|
|
|
@@ -67,7 +69,7 @@
|
|
|
67
69
|
}
|
|
68
70
|
```
|
|
69
71
|
|
|
70
|
-
将 `OPENANY_API_KEY` 保存在私密客户端设置或继承环境中。仅试用辅助工具时可省略 env
|
|
72
|
+
将 `OPENANY_API_KEY` 保存在私密客户端设置或继承环境中。仅试用辅助工具时可省略 `env`;不要将真实 Key 写入聊天或仓库。
|
|
71
73
|
|
|
72
74
|
### 验证连接
|
|
73
75
|
|
|
@@ -76,36 +78,34 @@
|
|
|
76
78
|
|
|
77
79
|
## 核心特性
|
|
78
80
|
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
81
|
+
- **搜索新闻样本:**通过 `search_news` 独立读取;输入和可用字段见工具参考。
|
|
82
|
+
- **读取 Feed 条目:**通过 `read_feed` 独立读取;输入和可用字段见工具参考。
|
|
83
|
+
- **保留比较口径:**记录来源 URL、发布 / 事件日期、原始或转载,缺失字段标未知。
|
|
84
|
+
- **一次一决策:**先查当前参数和费用,再决定每个请求;超时或未知状态不自动重放。
|
|
85
|
+
- **双语任务指南:**内置采集和简报指南;客户端使用自己的模型完成分析和可用的本地导出。
|
|
86
|
+
- **相关能力发现:**当本领域需要其他操作时查看 OpenAny 目录;发现结果不会自动调用或安装。
|
|
85
87
|
|
|
86
88
|
## 示例提示词
|
|
87
89
|
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
-
|
|
90
|
+
- “比较指定行业事件的新闻搜索样本与 RSS 条目。”
|
|
91
|
+
- “用单个任务搜索我的事件关键词,语言为英语、地点为美国,再与我提供的 Feed URL 对照。”
|
|
92
|
+
- “按来源与事件日期归并重复报道,不把搜索摘录当作全文。”
|
|
93
|
+
- “只使用我提供的记录,不新增数据调用。按下方证据列整理表格,标记缺失字段并提出后续核对问题。”
|
|
92
94
|
|
|
93
95
|
## 为什么选择本 MCP
|
|
94
96
|
|
|
95
97
|
| 关注点 | 处理方式 | 用户价值 |
|
|
96
98
|
| --- | --- | --- |
|
|
97
|
-
|
|
|
98
|
-
|
|
|
99
|
-
| 可追溯证据 | 保留原记录与样本边界 | 便于复核比较与简报 |
|
|
100
|
-
| 灵活交付 | 客户端模型分析和写作 | 使用自己的模型及文件工具 |
|
|
99
|
+
| 搜索新闻样本 | 使用 `search_news`,按当前契约提供 `request` | 在明确市场内发现来源候选 |
|
|
100
|
+
| 读取 Feed 条目 | 使用 `read_feed`,按当前契约提供 `request` | 读取指定发布源 Feed 而不冒充文章全文 |
|
|
101
101
|
|
|
102
102
|
## 可以构建与交付什么
|
|
103
103
|
|
|
104
104
|
| 场景 | 客户端执行方式 | 交付物 |
|
|
105
105
|
| --- | --- | --- |
|
|
106
|
-
|
|
|
107
|
-
|
|
|
108
|
-
|
|
|
106
|
+
| 搜索新闻样本 | 选择 `search_news`,按当前契约提供所需标识和输入。 | 用于在明确市场内发现来源候选的来源证据表。 |
|
|
107
|
+
| 读取 Feed 条目 | 选择 `read_feed`,按当前契约提供所需标识和输入。 | 用于读取指定发布源 Feed 而不冒充文章全文的来源证据表。 |
|
|
108
|
+
| 领域比较简报 | 对齐已采集记录的对象、日期和单位,再解释差异。 | 有来源的观察、未解决差异和后续核查问题。 |
|
|
109
109
|
|
|
110
110
|
## 工具参考
|
|
111
111
|
|
|
@@ -117,12 +117,49 @@
|
|
|
117
117
|
|
|
118
118
|
| 工具 | 参数 | 行为 | 返回数据概览 |
|
|
119
119
|
| --- | --- | --- | --- |
|
|
120
|
-
| `search_news` | `request` (array, required);`allow_fallback`(可选布尔值,默认 true);`max_total_cost_usd`(可选正十进制 USD 字符串) |
|
|
121
|
-
| `read_feed` | `request` (object, required): `limit` optional, `url` required |
|
|
120
|
+
| `search_news` | `request` (array, required);`allow_fallback`(可选布尔值,默认 true);`max_total_cost_usd`(可选正十进制 USD 字符串) | 搜索新闻样本 | 字段随路径变化;备用记录可能包含 `title`, `url`, `source`, `snippet`, `createdUtc`。 |
|
|
121
|
+
| `read_feed` | `request` (object, required): `limit` optional, `url` required | 读取 Feed 条目 | `title`, `link`, `author`, `published`, `summary`;字段及完整性由来源决定。 |
|
|
122
122
|
|
|
123
123
|
响应按原接口透传,未编造统一业务 Schema。提取字段或串联标识前先检查真实结果;可选字段可能缺失。只有参数表中存在的工具才接受输入游标。
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
摘要不是全文;转载需去重,发生时间与发布时间分开。
|
|
126
|
+
|
|
127
|
+
#### 嵌套请求结构
|
|
128
|
+
|
|
129
|
+
字段路径表示实际嵌套位置,不应改成顶层参数。数组使用 `[]` 表示元素;必填性按所属对象判断,其他条件以当前 `get_tool_info` 为准。
|
|
130
|
+
|
|
131
|
+
**`search_news`** — `request` 数组元素数:1–1。
|
|
132
|
+
|
|
133
|
+
| 嵌套字段 | 必填性 | 类型 / 约束 |
|
|
134
|
+
| --- | --- | --- |
|
|
135
|
+
| `request[].depth` | 可选 | integer / null (…–200) |
|
|
136
|
+
| `request[].keyword` | 所属对象内必填 | string |
|
|
137
|
+
| `request[].language_code` | 所属对象内必填 | string |
|
|
138
|
+
| `request[].location_code` | 可选 | integer |
|
|
139
|
+
| `request[].location_name` | 所属对象内必填 | string |
|
|
140
|
+
|
|
141
|
+
**`read_feed`**
|
|
142
|
+
|
|
143
|
+
| 嵌套字段 | 必填性 | 类型 / 约束 |
|
|
144
|
+
| --- | --- | --- |
|
|
145
|
+
| `request.limit` | 可选 | integer (1–25) |
|
|
146
|
+
| `request.url` | 所属对象内必填 | string (长度 1–…) |
|
|
147
|
+
|
|
148
|
+
#### 最小调用示例
|
|
149
|
+
|
|
150
|
+
以下为 `search_news` 的参数结构示例,未执行真实业务请求。
|
|
151
|
+
|
|
152
|
+
```json
|
|
153
|
+
{
|
|
154
|
+
"request": [
|
|
155
|
+
{
|
|
156
|
+
"keyword": "battery recycling",
|
|
157
|
+
"language_code": "en",
|
|
158
|
+
"location_name": "United States"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
```
|
|
126
163
|
|
|
127
164
|
### 免费辅助工具
|
|
128
165
|
|
|
@@ -132,14 +169,13 @@
|
|
|
132
169
|
| `get_workflow` | 必填 `workflow`;可选 `language`,zh/en,默认 zh | 读取指南;英文传 `language: "en"` |
|
|
133
170
|
| `search_openany_capabilities` | 必填 `query`,1–256 字符;可选 `limit`,1–10,默认 5 | 查找候选能力,不执行 |
|
|
134
171
|
|
|
135
|
-
|
|
136
172
|
## 兼容备用路径
|
|
137
173
|
|
|
138
174
|
以下工具默认启用经过验证的备用:`search_news`。`get_tool_info` 同时检查两份当前契约和价格。一次请求最多两次物理尝试,仅明确安全、未收费的失败可切换;执行或计费未知、超时、参数或鉴权错误,以及成功但空白或部分结果均不切换。
|
|
139
175
|
|
|
140
176
|
| 工具 | 备用支持范围 |
|
|
141
177
|
| --- | --- |
|
|
142
|
-
| `search_news` |
|
|
178
|
+
| `search_news` | 单个英文美国新闻任务,`location_name` 为 United States 且未设置 `location_code`;结果为来源相关样本。 |
|
|
143
179
|
|
|
144
180
|
仅上述工具提供 `allow_fallback`(可选布尔值,默认 `true`)与 `max_total_cost_usd`(可选正十进制 USD 字符串,最多六位小数)。默认总额上限取已检查的主备报价较大值;已有 `max_cost_usd` 仍作为更严格限制。设置 `allow_fallback: false` 仅使用主路径。
|
|
145
181
|
|
|
@@ -147,56 +183,66 @@
|
|
|
147
183
|
|
|
148
184
|
## 内置工作流指南
|
|
149
185
|
|
|
150
|
-
`get_workflow`
|
|
186
|
+
`get_workflow` 返回供客户端使用的说明,本身不调用数据或模型;英文指南传 `language: "en"`。
|
|
151
187
|
|
|
152
188
|
| 指南 ID | 适用任务 | 内容 |
|
|
153
189
|
| --- | --- | --- |
|
|
154
|
-
| `research` |
|
|
155
|
-
| `evidence_brief` |
|
|
190
|
+
| `research` | 选择本领域采集路径 | 核对可用工具、输入标识和采样边界。 |
|
|
191
|
+
| `evidence_brief` | 根据已有材料撰写简报 | 保留来源、比较口径、缺失信息与后续问题。 |
|
|
156
192
|
|
|
157
193
|
### 可选 companion Skill
|
|
158
194
|
|
|
159
|
-
[领域 Skill](../skills/news-source-research/SKILL.md)
|
|
195
|
+
[领域 Skill](../skills/news-source-research/SKILL.md) 包含相同双语指南。仅在客户端支持 Skill 时安装;不安装仍可使用 MCP 指南。
|
|
160
196
|
|
|
161
197
|
## 完整示例
|
|
162
198
|
|
|
163
|
-
|
|
199
|
+
**提示词:**“用单个任务搜索我的事件关键词,语言为英语、地点为美国,再与我提供的 Feed URL 对照。”
|
|
200
|
+
|
|
201
|
+
**客户端执行方式:**
|
|
164
202
|
|
|
165
|
-
1. 加载 `research
|
|
166
|
-
2. 通过 `get_tool_info`
|
|
167
|
-
3.
|
|
168
|
-
4.
|
|
169
|
-
5.
|
|
203
|
+
1. 加载 `research`,明确对象、范围和预算,选择实际需要的工具:`search_news`, `read_feed`。
|
|
204
|
+
2. 通过 `get_tool_info` 核对当前 Schema 和价格。只有标识与必填字段齐全时才发起已获授权的调用;不要编造标识或自动追加页面。
|
|
205
|
+
3. 提交包含 keyword、`language_code`、`location_name` 的单个新闻任务,或读取用户提供的 Feed URL。区分发布日期、事件日期、原始报道与转载。
|
|
206
|
+
4. 按以下列保留证据:来源 URL | 发布 / 事件日期 | 原始或转载 | 说法 | 交叉证据 | 缺失背景。缺失字段标未知。
|
|
207
|
+
5. 加载 `evidence_brief`,写出有证据支持的发现与后续问题;有文件工具时再导出 Markdown / CSV。
|
|
170
208
|
|
|
171
209
|
## 常见问题
|
|
172
210
|
|
|
173
|
-
###
|
|
211
|
+
### 开始前需要确认哪些输入?
|
|
212
|
+
|
|
213
|
+
`search_news` 需要 `request`;`read_feed` 需要 `request`。先按工具表选择查询或已知记录读取;缺少标识时向用户补充,不按相似名称猜测。
|
|
214
|
+
|
|
215
|
+
### 如何比较本领域的记录?
|
|
174
216
|
|
|
175
|
-
|
|
217
|
+
比较前对齐来源 URL、发布 / 事件日期、原始或转载。将可比观察与未知字段分别记录,所需证据不足时明确列出后续核查项。
|
|
176
218
|
|
|
177
|
-
###
|
|
219
|
+
### 有哪些领域范围限制?
|
|
220
|
+
|
|
221
|
+
摘要不是全文;转载需去重,发生时间与发布时间分开。
|
|
222
|
+
|
|
223
|
+
### 使用费用是多少?
|
|
178
224
|
|
|
179
|
-
|
|
225
|
+
Apache-2.0 软件包没有 MCP 订阅费。3 个辅助工具免费免 Key;2 个数据工具按 OpenAny 当前价格计费,调用前通过 `get_tool_info` 查看。客户端模型费用另计。
|
|
180
226
|
|
|
181
|
-
###
|
|
227
|
+
### 需要目标平台账号或 Cookie 吗?
|
|
182
228
|
|
|
183
|
-
|
|
229
|
+
本包的数据调用使用 `OPENANY_API_KEY`,不要求在 MCP 配置中保存个人平台账号或浏览器 Cookie。它不能借此访问未提供的私密账号数据。
|
|
184
230
|
|
|
185
|
-
###
|
|
231
|
+
### 支持哪些客户端,无 Key 能做什么?
|
|
186
232
|
|
|
187
|
-
|
|
233
|
+
支持标准本地 `stdio` MCP。配置 JSON 适用于采用 `mcpServers` 的宿主;其他客户端注册相同命令。无 Key 时可查看工具信息、读取指南和发现相关能力。
|
|
188
234
|
|
|
189
|
-
###
|
|
235
|
+
### 可以把缺失字段当作零,或推断全量结果吗?
|
|
190
236
|
|
|
191
|
-
|
|
237
|
+
不能。保留对象、来源、筛选和采样范围;缺失值标未知,结果不代表未采集到的记录。
|
|
192
238
|
|
|
193
|
-
###
|
|
239
|
+
### 谁负责报告与文件导出?
|
|
194
240
|
|
|
195
|
-
|
|
241
|
+
客户端 Agent 负责分析和写作,导出 Markdown / CSV 需要其文件工具。MCP 返回数据和指南,不直接生成报告。包外能力可通过 `search_openany_capabilities` 或 OpenAny 通用 MCP 查找。
|
|
196
242
|
|
|
197
|
-
###
|
|
243
|
+
### 超时或执行状态不明怎么办?
|
|
198
244
|
|
|
199
|
-
|
|
245
|
+
保留原请求 ID,先核查结果再决定后续调用;未收到最终结果不代表未收费,不自动重放未知请求。
|
|
200
246
|
|
|
201
247
|
## 错误处理与重试
|
|
202
248
|
|
|
@@ -209,7 +255,7 @@ Apache-2.0 软件包免费,3 个辅助工具免费免 Key;2 个数据工具
|
|
|
209
255
|
## 范围、数据与计费
|
|
210
256
|
|
|
211
257
|
- **执行和计费:**逐次检查并执行;空结果也可能按所选规则收费。
|
|
212
|
-
-
|
|
258
|
+
- **采样边界:**摘要不是全文;转载需去重,发生时间与发布时间分开。
|
|
213
259
|
- **报告规范:**区分原始数据、观察、假设与草稿;缺失事实标未知。
|
|
214
260
|
- **网络和隐私:**服务在本地运行,目录查询和业务输入会发送到 OpenAny。
|
|
215
261
|
|
|
@@ -221,7 +267,7 @@ Apache-2.0 软件包免费,3 个辅助工具免费免 Key;2 个数据工具
|
|
|
221
267
|
|
|
222
268
|
[OpenAny](https://openany.si/) 是 B2A(Business-to-Agent)市场,提供 AI 模型、数据和业务 API、MCP 工具以及 ready-to-call Runs。一枚 Key 按调用付费,无需强制月费订阅。
|
|
223
269
|
|
|
224
|
-
使用 search_openany_capabilities 或连接 [OpenAny 通用 MCP](https://mcp.openany.si/) 扩展能力。
|
|
270
|
+
使用 `search_openany_capabilities` 或连接 [OpenAny 通用 MCP](https://mcp.openany.si/) 扩展能力。
|
|
225
271
|
|
|
226
272
|
## 许可证
|
|
227
273
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openanysi/news-source-research-mcp",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Research news search results and RSS sources for evidence-based briefs. Powered by OpenAny.",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Research news search results and RSS sources for evidence-based briefs. Bilingual MCP guides for journalists and industry-research editors; your client analyzes the returned evidence. Powered by OpenAny.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=22"
|
|
@@ -28,14 +28,19 @@
|
|
|
28
28
|
"sync:skill": "node scripts/sync-skill.mjs"
|
|
29
29
|
},
|
|
30
30
|
"keywords": [
|
|
31
|
+
"mcp",
|
|
32
|
+
"mcp-server",
|
|
33
|
+
"model-context-protocol",
|
|
34
|
+
"openany",
|
|
35
|
+
"ai-agents",
|
|
31
36
|
"news-research",
|
|
32
37
|
"rss",
|
|
33
38
|
"news-search",
|
|
34
39
|
"source-verification",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
40
|
+
"media-research",
|
|
41
|
+
"event-research",
|
|
42
|
+
"claude",
|
|
43
|
+
"cursor"
|
|
39
44
|
],
|
|
40
45
|
"repository": {
|
|
41
46
|
"type": "git",
|
|
@@ -52,6 +57,6 @@
|
|
|
52
57
|
"devDependencies": {
|
|
53
58
|
"@modelcontextprotocol/client": "2.4.0"
|
|
54
59
|
},
|
|
55
|
-
"readme": "# news-source-research-mcp: News Source Research MCP\n\nMCP server to research news search results and RSS sources for evidence-based briefs. Built for Claude, Cursor and other AI agents. Powered by [OpenAny](https://openany.si/).\n\n[](https://www.npmjs.com/package/@openanysi/news-source-research-mcp)\n[](LICENSE)\n[](https://nodejs.org/)\n\nEnglish | [简体中文](docs/README.zh-CN.md)\n\n## Overview\n\nResearch news search results and RSS sources for evidence-based briefs. The server provides 2 read-only data tools and three free utility tools over local `stdio`. Your client agent selects calls, interprets evidence and writes reports using its own model. Supply the identifiers and filters listed in Tools Reference; each data call remains independent.\n\n**Best For / Not For**\n\n- **Best For:** sourced comparisons within the supported platform and task scope.\n- **Best For:** turning available records into an evidence table and research brief in Claude, Cursor or another MCP client.\n- **Best For:** analyzing supplied outputs without additional data calls.\n- **Not For:** account automation, publishing, purchases or hidden multi-request workflows.\n- **Not For:** complete population statistics or claims unsupported by the collected sample.\n\n## Table of Contents\n\n- [Quick Start](#quick-start)\n- [Key Features](#key-features)\n- [Example Prompts](#example-prompts)\n- [Why news-source-research-mcp?](#why-news-source-research-mcp)\n- [What You Can Build & Deliver](#what-you-can-build--deliver)\n- [Tools Reference](#tools-reference)\n- [Compatible Fallbacks](#compatible-fallbacks)\n- [Built-in Workflow Guides](#built-in-workflow-guides)\n- [End-to-End Example](#end-to-end-example)\n- [FAQ](#faq)\n- [Error Handling & Retries](#error-handling--retries)\n- [Scope, Data & Billing Notes](#scope-data--billing-notes)\n- [Development](#development)\n- [About OpenAny](#about-openany)\n- [License](#license)\n\n## Quick Start\n\n### Prerequisites\n\n- Node.js 22+ and a client supporting local `stdio` MCP servers.\n- An OpenAny API key for data tools: [API Keys](https://openany.si/dashboard/?page=api-keys), [setup guide](https://openany.si/setup.md), [usage and costs](https://openany.si/dashboard/?page=usage).\n- Utility tools work without a key.\n\n### Configure Your Client\n\nFor clients using `mcpServers`, add this to private settings. Other hosts register the same command, arguments and environment through their MCP settings or CLI.\n\n```json\n{\n \"mcpServers\": {\n \"news-source-research-mcp\": {\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@openanysi/news-source-research-mcp\"\n ],\n \"env\": {\n \"OPENANY_API_KEY\": \"YOUR_OPENANY_API_KEY\"\n }\n }\n }\n}\n```\n\nStore `OPENANY_API_KEY` in private client settings or the inherited environment. Omit `env` for utility-only use. Keep real keys out of chat and repositories.\n\n### Verify It Works\n\n- **Without an API key:** Inspect `search_news` with `get_tool_info`, then load `get_workflow` with `workflow: \"research\", language: \"en\"`. Explain inputs and pricing without fetching data.\n- **With an API key:** Ask the agent to inspect the relevant tool, request one scoped sample for your question, and preserve sources and missing fields in a research table.\n\n## Key Features\n\n- 2 atomic tools for the operations listed below.\n- Current parameters and prices available through `get_tool_info`.\n- Two English/Chinese workflow guides for research and evidence briefs.\n- A packaged optional companion Skill using the same guide texts.\n- Client-controlled pagination, comparisons and supported CSV/Markdown exports.\n- Broader capability discovery through the OpenAny catalog.\n\n## Example Prompts\n\n- \"Use the research guide to plan a sourced news source research task. Inspect prices before collecting a small sample.\"\n- \"Compare the records returned by the relevant tools; keep identifiers, dates and missing values.\"\n- \"Turn the collected sample into an evidence brief. Separate observations from hypotheses.\"\n- \"Use only the results I provide. Make no new data calls; organize them into a comparison table.\"\n\n## Why news-source-research-mcp?\n\n| What You Care About | How We Handle It | Value to You |\n| --- | --- | --- |\n| Focused scope | Read-only tools for one research domain | A small, inspectable tool set |\n| Spending control | Read current pricing before individual requests | Explicit decisions about each paid call |\n| Evidence quality | Preserve source records and sample limits | Reviewable comparisons and briefs |\n| Flexible reporting | Your client performs analysis and writing | Use your chosen model and file tools |\n\n## What You Can Build & Deliver\n\n| Use Case | How the Agent Runs It | Typical Deliverables |\n| --- | --- | --- |\n| Source collection | Select the relevant tools and request a bounded sample | Linked evidence table |\n| Comparative research | Compare matching records and their scope | Comparison table with missing fields |\n| Evidence brief | Load `evidence_brief` and analyze existing outputs | Markdown brief and next questions |\n\n## Tools Reference\n\nThe server exposes **5 tools**: 2 data tools and 3 free keyless utilities. Each data tool makes one primary request; tools listed in Compatible Fallbacks can make one additional compatible request after a safe uncharged failure. The client decides other calls and pages.\n\n### Data Tools\n\n| Tool | Parameters | Behavior | Typical Returned Fields |\n| --- | --- | --- | --- |\n| `search_news` | `request` (array, required); `allow_fallback` (optional boolean, default `true`); `max_total_cost_usd` (optional positive USD string) | Search news | Source-dependent; backup records may include `title`, `url`, `source`, `snippet`, `createdUtc`. |\n| `read_feed` | `request` (object, required): `limit` optional, `url` required | Read feed | `title`, `link`, `author`, `published`, `summary`; provider-dependent. |\n\nResponses are passed through rather than normalized into an invented common business schema. Inspect the returned payload before extracting fields or chaining identifiers. Optional fields may be missing. An input cursor is available only where listed above.\n\nNews search returns search-result samples; feed reads return available feed entries. Publication date, event date, original reporting and syndicated copies must be distinguished. No complete article or copyright license is implied.\n\n### Utility Tools (Free, No API Key Required)\n\n| Tool | Parameters | Behavior |\n| --- | --- | --- |\n| `get_tool_info` | Required `tool_name` from the data-tool names above | Read current parameters, pricing and limits |\n| `get_workflow` | Required `workflow`; optional `language` (`zh` or `en`, default `zh`) | Return a guide; use `language: \"en\"` for English |\n| `search_openany_capabilities` | Required `query` (1-256 characters); optional `limit` (1-10, default 5) | Search related capabilities without executing them |\n\n\n## Compatible Fallbacks\n\nA compatible backup is enabled by default for `search_news`. `get_tool_info` inspects both current contracts and prices. A request makes at most two physical attempts, and switches only after a confirmed safe, uncharged failure. Unknown execution or billing, timeouts, input/authentication errors, and successful empty or partial responses do not switch routes.\n\n| Tool | Supported backup scope |\n| --- | --- |\n| `search_news` | One English-US news task using location_name=United States, without location_code; results are a source-dependent news sample. |\n\nFor these tools only, `allow_fallback` is an optional boolean (default `true`); `max_total_cost_usd` is an optional positive decimal USD string with at most six decimal places. The default total ceiling is the larger inspected route quote. An existing `max_cost_usd` remains a stricter cap. Set `allow_fallback: false` to use only the primary route.\n\nBackup payload layouts and sampling may differ. The response preserves the original source payload and labels the backup sample. Use the presented sample and its stated scope; do not move cursors between routes or treat a different page as equivalent coverage.\n\n## Built-in Workflow Guides\n\n`get_workflow` returns instructions and templates for your client. It makes no data or model call and does not itself generate a report.\n\n| Guide ID | Best For | What It Provides |\n| --- | --- | --- |\n| `research` | Planning and collecting a scoped sample | Call selection, identifier checks and an evidence-table template |\n| `evidence_brief` | Reporting from collected or supplied records | Sourced findings, gaps and next questions |\n\n### Companion Skill (Optional)\n\nThe [companion Skill](skills/news-source-research/SKILL.md) contains the same bilingual guides. Install that directory only if your client supports Skills. The MCP guides remain usable independently.\n\n## End-to-End Example\n\n**Prompt:** \"Research my supplied news source research question using one small sample per relevant tool. Return a comparison table and an evidence brief.\"\n\n**How the Agent Executes:**\n\n1. Load `research` with `language: \"en\"` and clarify the question, identifiers and budget.\n2. Inspect `get_tool_info` for each selected data tool.\n3. Make the approved individual calls. Reuse identifiers only after inspecting the actual returned records.\n4. Preserve sources and missing fields, then load `evidence_brief` to summarize observations and hypotheses.\n5. Write Markdown or CSV locally if the client provides file tools.\n\n## FAQ\n\n### How much does news-source-research-mcp cost?\n\nThe Apache-2.0 package is free to use. The 3 utility tools are free and keyless; the 2 data tools follow current OpenAny API pricing. Inspect `get_tool_info` before calling. Your client's model costs are separate.\n\n### Does it work with Cursor, Claude Desktop and Claude Code?\n\nYes, it uses standard local `stdio` MCP. The JSON above applies to hosts using `mcpServers`; other clients register the same launch command through their own settings.\n\n### Can I try it without an API key?\n\nYes. Use the three utility tools to read parameters, guides and capability candidates. Data requests require `OPENANY_API_KEY`.\n\n### Does the MCP write the final report?\n\nYour client agent writes the report. `get_workflow` supplies instructions and a template; data tools supply the evidence.\n\n### Does it paginate or retry automatically?\n\nThe client chooses subsequent pages. Eligible tools can use one compatible backup after a confirmed safe, uncharged failure; uncertain requests are never replayed. Keep cursors within their original route and query context.\n\n### What if I need another capability?\n\nUse `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/). Discovery does not automatically execute or install another service.\n\n### How should I handle timeouts?\n\nKeep the request ID and check the original outcome before another call. A missing final response does not prove that the request was uncharged.\n\n## Error Handling & Retries\n\n| Execution State | Typical Indicators | Billed? | Safe to Retry? |\n| --- | --- | --- | --- |\n| **Failed** | Input or credential rejection before dispatch | No | After correcting the input |\n| **Succeeded** | Returned business data | According to the selected API's billing rule | Do not resubmit the same request |\n| **Uncertain / Timeout** | Final result was not received | Unknown | Check the original request first |\n\n## Scope, Data & Billing Notes\n\n- **Execution & Billing:** Each call is inspected and executed separately. Empty results may incur a charge when the selected rule applies.\n- **Sampling & Data Boundaries:** News search returns search-result samples; feed reads return available feed entries. Publication date, event date, original reporting and syndicated copies must be distinguished. No complete article or copyright license is implied.\n- **Reporting Standards:** Separate source data, observations, hypotheses and drafts. Mark unavailable facts as unknown.\n- **Network & Privacy:** The server runs locally; catalog queries and business inputs are sent to OpenAny.\n\n## Development\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for setup, verification and guide maintenance.\n\n## About OpenAny\n\n[OpenAny](https://openany.si/) is a **B2A (Business-to-Agent) marketplace** for AI models, data and business APIs, tools/MCP servers and ready-to-call Runs. One OpenAny key provides pay-per-call access without a required monthly subscription.\n\nDiscover additional capabilities with `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/).\n\n## License\n\n[Apache-2.0](LICENSE)\n",
|
|
60
|
+
"readme": "# news-source-research-mcp: News Source Research MCP\n\nMCP server to research news search results and RSS sources for evidence-based briefs. Built for Claude, Cursor and other AI agents. Powered by [OpenAny](https://openany.si/).\n\n[](https://www.npmjs.com/package/@openanysi/news-source-research-mcp)\n[](LICENSE)\n[](https://nodejs.org/)\n\nEnglish | [简体中文](docs/README.zh-CN.md)\n\n## Overview\n\nUse this MCP to research news search results and RSS sources for evidence-based briefs.\n\nDesigned for journalists and industry-research editors, it supplies evidence your agent can turn into a source comparison with event chronology, duplicate coverage and unresolved claims.\n\n**Best For / Not For**\n\n- **Best For:** Search news to discover source candidates within an explicit market.\n- **Best For:** Read feed to inspect a supplied publication feed without pretending to retrieve full articles.\n- **Best For:** comparing collected records with their object, time and field-coverage context.\n- **Best For:** analyzing supplied material without collecting again merely to write a report.\n- **Not For:** operations or filters absent from Tools Reference, or treating samples as complete coverage; see the scope FAQ.\n\n## Table of Contents\n\n- [Quick Start](#quick-start)\n- [Key Features](#key-features)\n- [Example Prompts](#example-prompts)\n- [Why news-source-research-mcp?](#why-news-source-research-mcp)\n- [What You Can Build & Deliver](#what-you-can-build--deliver)\n- [Tools Reference](#tools-reference)\n- [Compatible Fallbacks](#compatible-fallbacks)\n- [Built-in Workflow Guides](#built-in-workflow-guides)\n- [End-to-End Example](#end-to-end-example)\n- [FAQ](#faq)\n- [Error Handling & Retries](#error-handling--retries)\n- [Scope, Data & Billing Notes](#scope-data--billing-notes)\n- [Development](#development)\n- [About OpenAny](#about-openany)\n- [License](#license)\n\n## Quick Start\n\n### Prerequisites\n\n- Node.js 22+ and a client supporting local `stdio` MCP servers.\n- An OpenAny API key for data tools: [API Keys](https://openany.si/dashboard/?page=api-keys), [setup guide](https://openany.si/setup.md), [usage and costs](https://openany.si/dashboard/?page=usage).\n- Utility tools work without a key.\n\n### Configure Your Client\n\nFor clients using `mcpServers`, add this to private settings. Other hosts register the same command, arguments and environment through their MCP settings or CLI.\n\n```json\n{\n \"mcpServers\": {\n \"news-source-research-mcp\": {\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@openanysi/news-source-research-mcp\"\n ],\n \"env\": {\n \"OPENANY_API_KEY\": \"YOUR_OPENANY_API_KEY\"\n }\n }\n }\n}\n```\n\nStore `OPENANY_API_KEY` in private client settings or the inherited environment. Omit `env` for utility-only use. Keep real keys out of chat and repositories.\n\n### Verify It Works\n\n- **Without an API key:** Inspect `search_news` with `get_tool_info`, then load `get_workflow` with `workflow: \"research\", language: \"en\"`. Explain inputs and pricing without fetching data.\n- **With an API key:** Ask the agent to inspect the relevant tool, request one scoped sample for your question, and preserve sources and missing fields in a research table.\n\n## Key Features\n\n- **Search news:** use `search_news` as an independent operation; inspect its inputs and available fields below.\n- **Read feed:** use `read_feed` as an independent operation; inspect its inputs and available fields below.\n- **Comparable evidence:** retain Source URL; Publication / event date; Original or syndicated; mark missing fields unknown.\n- **Inspect before collection:** read current parameters and pricing before each request; uncertain outcomes are not automatically replayed.\n- **Bilingual task guidance:** collection and reporting guides support analysis and available local exports with your own client model.\n- **Related capability discovery:** inspect the OpenAny catalog when this domain needs another operation; discovery does not execute or install it.\n\n## Example Prompts\n\n- \"Compare news-search samples and RSS entries about a supplied industry event.\"\n- \"Search my event keyword in English for the United States, using exactly one task; compare it with the feed URL I provide.\"\n- \"Group repeated reports by source and event date; do not treat a search snippet as full article text.\"\n- \"Use only the records I provide. Make no new data calls. Organize the evidence columns below, mark missing fields and list follow-up questions.\"\n\n## Why news-source-research-mcp?\n\n| What You Care About | How We Handle It | Value to You |\n| --- | --- | --- |\n| Search news | Use `search_news` with `request` | Discover source candidates within an explicit market |\n| Read feed | Use `read_feed` with `request` | Inspect a supplied publication feed without pretending to retrieve full articles |\n\n## What You Can Build & Deliver\n\n| Use Case | How the Agent Runs It | Typical Deliverables |\n| --- | --- | --- |\n| Search news | Choose `search_news` with the identifiers and inputs required by its current contract. | Sourced evidence to help discover source candidates within an explicit market. |\n| Read feed | Choose `read_feed` with the identifiers and inputs required by its current contract. | Sourced evidence to help inspect a supplied publication feed without pretending to retrieve full articles. |\n| News Source brief | Align object identity, dates and units before interpreting collected records. | Sourced observations, unresolved differences and follow-up checks. |\n\n## Tools Reference\n\nThe server exposes **5 tools**: 2 data tools and 3 free keyless utilities. Each data tool makes one primary request; tools listed in Compatible Fallbacks can make one additional compatible request after a safe uncharged failure. The client decides other calls and pages.\n\n### Data Tools\n\n| Tool | Parameters | Behavior | Typical Returned Fields |\n| --- | --- | --- | --- |\n| `search_news` | `request` (array, required); `allow_fallback` (optional boolean, default `true`); `max_total_cost_usd` (optional positive USD string) | Search news | Source-dependent; backup records may include `title`, `url`, `source`, `snippet`, `createdUtc`. |\n| `read_feed` | `request` (object, required): `limit` optional, `url` required | Read feed | `title`, `link`, `author`, `published`, `summary`; provider-dependent. |\n\nResponses are passed through rather than normalized into an invented common business schema. Inspect the returned payload before extracting fields or chaining identifiers. Optional fields may be missing. An input cursor is available only where listed above.\n\nNews search returns search-result samples; feed reads return available feed entries. Publication date, event date, original reporting and syndicated copies must be distinguished. No complete article or copyright license is implied.\n\n#### Nested Request Shapes\n\nPaths show actual nesting; do not send nested fields at the tool top level. `[]` denotes an array item. Required markers apply within the containing object; inspect `get_tool_info` for conditional alternatives.\n\n**`search_news`** — `request` array item count: 1–1\n\n| Nested field | Requirement | Type / constraints |\n| --- | --- | --- |\n| `request[].depth` | Optional | integer / null (…–200) |\n| `request[].keyword` | Required within parent | string |\n| `request[].language_code` | Required within parent | string |\n| `request[].location_code` | Optional | integer |\n| `request[].location_name` | Required within parent | string |\n\n**`read_feed`**\n\n| Nested field | Requirement | Type / constraints |\n| --- | --- | --- |\n| `request.limit` | Optional | integer (1–25) |\n| `request.url` | Required within parent | string (length 1–…) |\n\n#### Minimal Tool Arguments\n\nThese are example arguments for `search_news`; they were not sent as business requests.\n\n```json\n{\n \"request\": [\n {\n \"keyword\": \"battery recycling\",\n \"language_code\": \"en\",\n \"location_name\": \"United States\"\n }\n ]\n}\n```\n\n### Utility Tools (Free, No API Key Required)\n\n| Tool | Parameters | Behavior |\n| --- | --- | --- |\n| `get_tool_info` | Required `tool_name` from the data-tool names above | Read current parameters, pricing and limits |\n| `get_workflow` | Required `workflow`; optional `language` (`zh` or `en`, default `zh`) | Return a guide; use `language: \"en\"` for English |\n| `search_openany_capabilities` | Required `query` (1-256 characters); optional `limit` (1-10, default 5) | Search related capabilities without executing them |\n\n## Compatible Fallbacks\n\nA compatible backup is enabled by default for `search_news`. `get_tool_info` inspects both current contracts and prices. A request makes at most two physical attempts, and switches only after a confirmed safe, uncharged failure. Unknown execution or billing, timeouts, input/authentication errors, and successful empty or partial responses do not switch routes.\n\n| Tool | Supported backup scope |\n| --- | --- |\n| `search_news` | One English-US news task using `location_name`=United States, without `location_code`; results are a source-dependent news sample. |\n\nFor these tools only, `allow_fallback` is an optional boolean (default `true`); `max_total_cost_usd` is an optional positive decimal USD string with at most six decimal places. The default total ceiling is the larger inspected route quote. An existing `max_cost_usd` remains a stricter cap. Set `allow_fallback: false` to use only the primary route.\n\nBackup payload layouts and sampling may differ. The response preserves the original source payload and labels the backup sample. Use the presented sample and its stated scope; do not move cursors between routes or treat a different page as equivalent coverage.\n\n## Built-in Workflow Guides\n\n`get_workflow` returns instructions for your client without calling data tools or a model. Select `language: \"en\"` for English.\n\n| Guide ID | Best For | What It Provides |\n| --- | --- | --- |\n| `research` | Planning news source research | A tool/identifier checklist and a scoped collection method. |\n| `evidence_brief` | Reporting from collected news source research records | Source attribution, comparison context, missing information and follow-up questions. |\n\n### Companion Skill (Optional)\n\nThe [companion Skill](skills/news-source-research/SKILL.md) contains the same bilingual guides. Install it only if your client supports Skills; MCP guides work independently.\n\n## End-to-End Example\n\n**Prompt:** \"Search my event keyword in English for the United States, using exactly one task; compare it with the feed URL I provide.\"\n\n**How the Agent Executes:**\n\n1. Load `research`, establish identifiers, scope and budget, and select the needed tools: `search_news`, `read_feed`.\n2. Inspect `get_tool_info` for current schemas and pricing. Make authorized calls only with confirmed identifiers and required inputs; do not fabricate IDs or append pages automatically.\n3. Submit one news-search task with keyword, `language_code` and `location_name`, or read a supplied feed URL. Separate publication dates, event dates, original reporting and syndicated copies.\n4. Retain evidence using these columns: Source URL | Publication / event date | Original or syndicated | Claim | Corroboration | Missing context. Mark absent fields unknown.\n5. Load `evidence_brief`, write evidence-linked findings and open questions, and export Markdown/CSV only when client file tools are available.\n\n## FAQ\n\n### Which inputs should I confirm before starting?\n\n`search_news` requires `request`; `read_feed` requires `request`. Choose the operation that matches the supplied query or known record; ask for missing identifiers rather than guessing from names.\n\n### How should I compare the returned records?\n\nAlign Source URL; Publication / event date; Original or syndicated before comparing. Keep supported observations separate from unavailable fields and list the specific follow-up evidence needed.\n\n### What are the domain-specific scope limits?\n\nNews search returns search-result samples; feed reads return available feed entries. Publication date, event date, original reporting and syndicated copies must be distinguished. No complete article or copyright license is implied.\n\n### How much does this MCP cost?\n\nThe Apache-2.0 package has no MCP subscription fee. Three utilities are free and keyless; 2 data tools follow current OpenAny pricing. Inspect `get_tool_info` before calling. Client model costs are separate.\n\n### Do I need a platform account or browser cookies?\n\nData calls use `OPENANY_API_KEY`. The MCP configuration does not require a personal platform account or browser cookies, and does not grant access to unprovided private account data.\n\n### Which clients work, and what can I try without a key?\n\nUse a standard local `stdio` MCP client. The configuration JSON applies to hosts using `mcpServers`; other clients register the same command. Without a key, inspect tools, read guides and discover related capabilities.\n\n### Can I treat missing fields as zero or infer complete coverage?\n\nNo. Preserve object identity, source, filters and sample scope. Mark missing values unknown; the returned sample does not represent uncollected records.\n\n### Who writes the report and exports files?\n\nYour client agent analyzes and writes; Markdown/CSV export requires its file tools. The MCP returns data and guides rather than generating a report. Discover missing capabilities with `search_openany_capabilities` or the general OpenAny MCP.\n\n### What should I do after a timeout or uncertain result?\n\nPreserve the original request ID and inspect its outcome before another call. A missing final response does not prove that it was uncharged; do not automatically replay an uncertain request.\n\n## Error Handling & Retries\n\n| Execution State | Typical Indicators | Billed? | Safe to Retry? |\n| --- | --- | --- | --- |\n| **Failed** | Input or credential rejection before dispatch | No | After correcting the input |\n| **Succeeded** | Returned business data | According to the selected API's billing rule | Do not resubmit the same request |\n| **Uncertain / Timeout** | Final result was not received | Unknown | Check the original request first |\n\n## Scope, Data & Billing Notes\n\n- **Execution & Billing:** Each call is inspected and executed separately. Empty results may incur a charge when the selected rule applies.\n- **Sampling & Data Boundaries:** News search returns search-result samples; feed reads return available feed entries. Publication date, event date, original reporting and syndicated copies must be distinguished. No complete article or copyright license is implied.\n- **Reporting Standards:** Separate source data, observations, hypotheses and drafts. Mark unavailable facts as unknown.\n- **Network & Privacy:** The server runs locally; catalog queries and business inputs are sent to OpenAny.\n\n## Development\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for setup, verification and guide maintenance.\n\n## About OpenAny\n\n[OpenAny](https://openany.si/) is a **B2A (Business-to-Agent) marketplace** for AI models, data and business APIs, tools/MCP servers and ready-to-call Runs. One OpenAny key provides pay-per-call access without a required monthly subscription.\n\nDiscover additional capabilities with `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/).\n\n## License\n\n[Apache-2.0](LICENSE)\n",
|
|
56
61
|
"readmeFilename": "README.md"
|
|
57
62
|
}
|
|
@@ -1,29 +1,19 @@
|
|
|
1
1
|
# News Source Research: evidence brief
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Write from existing outputs of `search_news`, `read_feed` or supplied material. Do not collect again merely to write.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Research scope
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
2. A table of sources and observed values, retaining identifiers and missing fields.
|
|
9
|
-
3. Three to five observations, each linked to evidence. Separate hypotheses from observed facts.
|
|
10
|
-
4. Limitations and unresolved questions. Avoid population estimates from small samples.
|
|
11
|
-
5. Suggested next steps and the precise additional data needed, if any.
|
|
7
|
+
Research news search results and RSS sources for evidence-based briefs. State the user's question, the checks actually performed and the remaining coverage gaps.
|
|
12
8
|
|
|
13
|
-
|
|
9
|
+
## Contents
|
|
14
10
|
|
|
15
|
-
|
|
11
|
+
1. Identify the question, objects, sources and collection dates.
|
|
12
|
+
2. Organize records using these evidence columns: Source URL | Publication / event date | Original or syndicated | Claim | Corroboration | Missing context.
|
|
13
|
+
3. Align identities and comparison context before linking observations to sources.
|
|
14
|
+
4. Separate hypotheses, counterexamples, missing fields and the specific follow-up evidence needed.
|
|
15
|
+
5. Use the client's model for original writing; export Markdown/CSV only with its file tools.
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
## Fallback decision
|
|
20
|
-
|
|
21
|
-
A compatible backup is enabled by default for `search_news`. `get_tool_info` inspects both current contracts and prices. A request makes at most two physical attempts, and switches only after a confirmed safe, uncharged failure. Unknown execution or billing, timeouts, input/authentication errors, and successful empty or partial responses do not switch routes.
|
|
17
|
+
## Domain scope
|
|
22
18
|
|
|
23
|
-
|
|
24
|
-
| --- | --- |
|
|
25
|
-
| `search_news` | One English-US news task using location_name=United States, without location_code; results are a source-dependent news sample. |
|
|
26
|
-
|
|
27
|
-
For these tools only, `allow_fallback` is an optional boolean (default `true`); `max_total_cost_usd` is an optional positive decimal USD string with at most six decimal places. The default total ceiling is the larger inspected route quote. An existing `max_cost_usd` remains a stricter cap. Set `allow_fallback: false` to use only the primary route.
|
|
28
|
-
|
|
29
|
-
Backup payload layouts and sampling may differ. The response preserves the original source payload and labels the backup sample. Use the presented sample and its stated scope; do not move cursors between routes or treat a different page as equivalent coverage.
|
|
19
|
+
News search returns search-result samples; feed reads return available feed entries. Publication date, event date, original reporting and syndicated copies must be distinguished. No complete article or copyright license is implied.
|
|
@@ -1,29 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# news-source-research-mcp:证据简报
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
根据 `search_news`, `read_feed` 的已有结果或用户提供材料撰写,不为写简报新增取数。
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 研究范围
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
2. 带来源的观察值表,保留标识及缺失字段。
|
|
9
|
-
3. 三到五项有证据支持的观察,明确区分假设与事实。
|
|
10
|
-
4. 局限与未解决问题,不用小样本推断总体规模。
|
|
11
|
-
5. 下一步及所需的具体新增数据。
|
|
7
|
+
研究范围包括搜索新闻样本、读取 Feed 条目。说明用户本次要解决的问题、实际执行的检查和未覆盖项。
|
|
12
8
|
|
|
13
|
-
|
|
9
|
+
## 内容
|
|
14
10
|
|
|
15
|
-
|
|
11
|
+
1. 标明问题、记录对象、来源和采集日期。
|
|
12
|
+
2. 按以下证据列整理记录:来源 URL | 发布 / 事件日期 | 原始或转载 | 说法 | 交叉证据 | 缺失背景。
|
|
13
|
+
3. 对齐对象和比较口径后撰写观察,并逐项关联到来源。
|
|
14
|
+
4. 分别列出假设、反例、缺失字段及需要补充核查的信息。
|
|
15
|
+
5. 使用客户端模型完成原创写作;有文件工具时再导出 Markdown / CSV。
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
## 领域范围
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
以下工具默认启用经过验证的备用:`search_news`。`get_tool_info` 同时检查两份当前契约和价格。一次请求最多两次物理尝试,仅明确安全、未收费的失败可切换;执行或计费未知、超时、参数或鉴权错误,以及成功但空白或部分结果均不切换。
|
|
22
|
-
|
|
23
|
-
| 工具 | 备用支持范围 |
|
|
24
|
-
| --- | --- |
|
|
25
|
-
| `search_news` | 单个英文美国新闻任务,location_name 为 United States 且未设置 location_code;结果为来源相关样本。 |
|
|
26
|
-
|
|
27
|
-
仅上述工具提供 `allow_fallback`(可选布尔值,默认 `true`)与 `max_total_cost_usd`(可选正十进制 USD 字符串,最多六位小数)。默认总额上限取已检查的主备报价较大值;已有 `max_cost_usd` 仍作为更严格限制。设置 `allow_fallback: false` 仅使用主路径。
|
|
28
|
-
|
|
29
|
-
备用数据结构与采样可能不同;响应保留原始来源 payload 并标记备用样本。依据展示样本与声明范围分析,不跨路径复用游标,不把不同页面当作相同覆盖。
|
|
19
|
+
摘要不是全文;转载需去重,发生时间与发布时间分开。
|
|
@@ -1,35 +1,30 @@
|
|
|
1
|
-
# News Source Research: research
|
|
1
|
+
# News Source Research: research guide
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
2. Inspect the relevant tools: `search_news`, `read_feed`. Select only the calls needed for this question.
|
|
5
|
-
3. Run the discovery tool when available, or ask for the exact identifier required by a lookup. Inspect actual records before reusing an ID or URL. Never substitute account, content and product identifiers for one another.
|
|
6
|
-
4. Request one page or record at a time. Carry a cursor only into the same tool and query context. Do not infer additional input parameters from response metadata.
|
|
7
|
-
5. Compare like-for-like records. Keep source links, dates, sample counts and unavailable fields. Use supplied materials without new calls when the user requests it.
|
|
8
|
-
6. Produce a sourced comparison table and an observation-led brief. The client model performs all analysis and writes local CSV/Markdown only when it has file tools.
|
|
3
|
+
## Task
|
|
9
4
|
|
|
10
|
-
|
|
5
|
+
Research news search results and RSS sources for evidence-based briefs. Select the tools and scope needed for the user's actual question.
|
|
11
6
|
|
|
12
|
-
|
|
13
|
-
| --- | --- | --- | --- | --- | --- |
|
|
7
|
+
## Method
|
|
14
8
|
|
|
15
|
-
|
|
9
|
+
Submit one news-search task with keyword, `language_code` and `location_name`, or read a supplied feed URL. Separate publication dates, event dates, original reporting and syndicated copies.
|
|
16
10
|
|
|
17
|
-
|
|
11
|
+
1. Establish identifiers, comparison context, sample scope and budget. Available tools: `search_news`, `read_feed`; not every question needs all of them.
|
|
12
|
+
2. Use `get_tool_info` for current parameters, nested inputs and prices. Choose follow-up steps from actual records or user-confirmed identifiers.
|
|
13
|
+
3. Execute only needed, authorized requests. Continue with an original-query cursor only when that tool accepts it.
|
|
14
|
+
4. Check object identity, units and timing; retain source records, unknown fields and analysis separately.
|
|
18
15
|
|
|
19
|
-
##
|
|
16
|
+
## Evidence columns
|
|
20
17
|
|
|
21
|
-
|
|
18
|
+
Source URL | Publication / event date | Original or syndicated | Claim | Corroboration | Missing context
|
|
22
19
|
|
|
23
|
-
|
|
20
|
+
## Deliverable
|
|
24
21
|
|
|
25
|
-
|
|
22
|
+
Your agent can prepare a source comparison with event chronology, duplicate coverage and unresolved claims.
|
|
26
23
|
|
|
27
|
-
|
|
24
|
+
## Stop conditions
|
|
28
25
|
|
|
29
|
-
|
|
30
|
-
| --- | --- |
|
|
31
|
-
| `search_news` | One English-US news task using location_name=United States, without location_code; results are a source-dependent news sample. |
|
|
26
|
+
Stop on missing required inputs, mismatched identity, unaffordable cost or uncertain execution/billing. Preserve the original request ID rather than replaying an empty or uncertain result.
|
|
32
27
|
|
|
33
|
-
|
|
28
|
+
## Domain scope
|
|
34
29
|
|
|
35
|
-
|
|
30
|
+
News search returns search-result samples; feed reads return available feed entries. Publication date, event date, original reporting and syndicated copies must be distinguished. No complete article or copyright license is implied.
|
|
@@ -1,33 +1,30 @@
|
|
|
1
|
-
#
|
|
1
|
+
# news-source-research-mcp:领域调研
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
2. 检查相关工具:`search_news`, `read_feed`。仅选择本次任务需要的调用。
|
|
5
|
-
3. 有搜索工具时先发现记录;详情查询需要准确标识。读取实际结果后再复用 ID 或 URL,账号、内容和商品标识不能混用。
|
|
6
|
-
4. 每次只请求一个页面或一条记录。游标只在相同工具和查询条件下复用,不从返回元数据推导未提供的输入参数。
|
|
7
|
-
5. 同口径比较,保留来源链接、日期、样本量和缺失字段。用户要求仅用已有材料时不发起新调用。
|
|
8
|
-
6. 生成带来源的比较表与简报;分析和写作由客户端模型完成,CSV/Markdown 导出需要客户端文件工具。
|
|
3
|
+
## 任务
|
|
9
4
|
|
|
10
|
-
|
|
5
|
+
研究范围包括搜索新闻样本、读取 Feed 条目。根据用户实际问题选择需要的工具和范围。
|
|
11
6
|
|
|
12
|
-
|
|
13
|
-
| --- | --- | --- | --- | --- | --- |
|
|
7
|
+
## 方法
|
|
14
8
|
|
|
15
|
-
|
|
9
|
+
提交包含 keyword、`language_code`、`location_name` 的单个新闻任务,或读取用户提供的 Feed URL。区分发布日期、事件日期、原始报道与转载。
|
|
10
|
+
|
|
11
|
+
1. 先明确对象标识、比较口径、采样范围与预算,可选工具为 `search_news`, `read_feed`,不要求每次全部调用。
|
|
12
|
+
2. 使用 `get_tool_info` 查看当前参数、嵌套输入和价格;按真实结果或用户确认的标识选择后续步骤。
|
|
13
|
+
3. 仅执行本任务需要且已获授权的请求;只有对应工具接受游标时才沿原查询的真实游标继续。
|
|
14
|
+
4. 核对对象、单位和时间背景,将来源记录、未知字段与分析分别保留。
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
## 证据列
|
|
18
17
|
|
|
19
|
-
|
|
18
|
+
来源 URL | 发布 / 事件日期 | 原始或转载 | 说法 | 交叉证据 | 缺失背景
|
|
20
19
|
|
|
21
|
-
|
|
20
|
+
## 交付
|
|
22
21
|
|
|
23
|
-
|
|
22
|
+
可交付的成果包括:含事件时间线、重复报道和未核实说法的来源对照。
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
## 停止条件
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
| --- | --- |
|
|
29
|
-
| `search_news` | 单个英文美国新闻任务,location_name 为 United States 且未设置 location_code;结果为来源相关样本。 |
|
|
26
|
+
缺少必填输入、对象不匹配、费用超出预算,或执行/收费状态不明时停止;保留原请求标识,不重试来掩盖空结果。
|
|
30
27
|
|
|
31
|
-
|
|
28
|
+
## 领域范围
|
|
32
29
|
|
|
33
|
-
|
|
30
|
+
摘要不是全文;转载需去重,发生时间与发布时间分开。
|
package/vertical.config.json
CHANGED
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"workflows": [
|
|
120
120
|
{
|
|
121
121
|
"id": "research",
|
|
122
|
-
"version": "0.1.
|
|
122
|
+
"version": "0.1.2",
|
|
123
123
|
"files": {
|
|
124
124
|
"zh": "workflows/research.zh.md",
|
|
125
125
|
"en": "workflows/research.en.md"
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
"id": "evidence_brief",
|
|
130
|
-
"version": "0.1.
|
|
130
|
+
"version": "0.1.2",
|
|
131
131
|
"files": {
|
|
132
132
|
"zh": "workflows/evidence-brief.zh.md",
|
|
133
133
|
"en": "workflows/evidence-brief.en.md"
|
|
@@ -1,29 +1,19 @@
|
|
|
1
1
|
# News Source Research: evidence brief
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Write from existing outputs of `search_news`, `read_feed` or supplied material. Do not collect again merely to write.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Research scope
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
2. A table of sources and observed values, retaining identifiers and missing fields.
|
|
9
|
-
3. Three to five observations, each linked to evidence. Separate hypotheses from observed facts.
|
|
10
|
-
4. Limitations and unresolved questions. Avoid population estimates from small samples.
|
|
11
|
-
5. Suggested next steps and the precise additional data needed, if any.
|
|
7
|
+
Research news search results and RSS sources for evidence-based briefs. State the user's question, the checks actually performed and the remaining coverage gaps.
|
|
12
8
|
|
|
13
|
-
|
|
9
|
+
## Contents
|
|
14
10
|
|
|
15
|
-
|
|
11
|
+
1. Identify the question, objects, sources and collection dates.
|
|
12
|
+
2. Organize records using these evidence columns: Source URL | Publication / event date | Original or syndicated | Claim | Corroboration | Missing context.
|
|
13
|
+
3. Align identities and comparison context before linking observations to sources.
|
|
14
|
+
4. Separate hypotheses, counterexamples, missing fields and the specific follow-up evidence needed.
|
|
15
|
+
5. Use the client's model for original writing; export Markdown/CSV only with its file tools.
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
## Fallback decision
|
|
20
|
-
|
|
21
|
-
A compatible backup is enabled by default for `search_news`. `get_tool_info` inspects both current contracts and prices. A request makes at most two physical attempts, and switches only after a confirmed safe, uncharged failure. Unknown execution or billing, timeouts, input/authentication errors, and successful empty or partial responses do not switch routes.
|
|
17
|
+
## Domain scope
|
|
22
18
|
|
|
23
|
-
|
|
24
|
-
| --- | --- |
|
|
25
|
-
| `search_news` | One English-US news task using location_name=United States, without location_code; results are a source-dependent news sample. |
|
|
26
|
-
|
|
27
|
-
For these tools only, `allow_fallback` is an optional boolean (default `true`); `max_total_cost_usd` is an optional positive decimal USD string with at most six decimal places. The default total ceiling is the larger inspected route quote. An existing `max_cost_usd` remains a stricter cap. Set `allow_fallback: false` to use only the primary route.
|
|
28
|
-
|
|
29
|
-
Backup payload layouts and sampling may differ. The response preserves the original source payload and labels the backup sample. Use the presented sample and its stated scope; do not move cursors between routes or treat a different page as equivalent coverage.
|
|
19
|
+
News search returns search-result samples; feed reads return available feed entries. Publication date, event date, original reporting and syndicated copies must be distinguished. No complete article or copyright license is implied.
|
|
@@ -1,29 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# news-source-research-mcp:证据简报
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
根据 `search_news`, `read_feed` 的已有结果或用户提供材料撰写,不为写简报新增取数。
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 研究范围
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
2. 带来源的观察值表,保留标识及缺失字段。
|
|
9
|
-
3. 三到五项有证据支持的观察,明确区分假设与事实。
|
|
10
|
-
4. 局限与未解决问题,不用小样本推断总体规模。
|
|
11
|
-
5. 下一步及所需的具体新增数据。
|
|
7
|
+
研究范围包括搜索新闻样本、读取 Feed 条目。说明用户本次要解决的问题、实际执行的检查和未覆盖项。
|
|
12
8
|
|
|
13
|
-
|
|
9
|
+
## 内容
|
|
14
10
|
|
|
15
|
-
|
|
11
|
+
1. 标明问题、记录对象、来源和采集日期。
|
|
12
|
+
2. 按以下证据列整理记录:来源 URL | 发布 / 事件日期 | 原始或转载 | 说法 | 交叉证据 | 缺失背景。
|
|
13
|
+
3. 对齐对象和比较口径后撰写观察,并逐项关联到来源。
|
|
14
|
+
4. 分别列出假设、反例、缺失字段及需要补充核查的信息。
|
|
15
|
+
5. 使用客户端模型完成原创写作;有文件工具时再导出 Markdown / CSV。
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
## 领域范围
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
以下工具默认启用经过验证的备用:`search_news`。`get_tool_info` 同时检查两份当前契约和价格。一次请求最多两次物理尝试,仅明确安全、未收费的失败可切换;执行或计费未知、超时、参数或鉴权错误,以及成功但空白或部分结果均不切换。
|
|
22
|
-
|
|
23
|
-
| 工具 | 备用支持范围 |
|
|
24
|
-
| --- | --- |
|
|
25
|
-
| `search_news` | 单个英文美国新闻任务,location_name 为 United States 且未设置 location_code;结果为来源相关样本。 |
|
|
26
|
-
|
|
27
|
-
仅上述工具提供 `allow_fallback`(可选布尔值,默认 `true`)与 `max_total_cost_usd`(可选正十进制 USD 字符串,最多六位小数)。默认总额上限取已检查的主备报价较大值;已有 `max_cost_usd` 仍作为更严格限制。设置 `allow_fallback: false` 仅使用主路径。
|
|
28
|
-
|
|
29
|
-
备用数据结构与采样可能不同;响应保留原始来源 payload 并标记备用样本。依据展示样本与声明范围分析,不跨路径复用游标,不把不同页面当作相同覆盖。
|
|
19
|
+
摘要不是全文;转载需去重,发生时间与发布时间分开。
|
package/workflows/research.en.md
CHANGED
|
@@ -1,35 +1,30 @@
|
|
|
1
|
-
# News Source Research: research
|
|
1
|
+
# News Source Research: research guide
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
2. Inspect the relevant tools: `search_news`, `read_feed`. Select only the calls needed for this question.
|
|
5
|
-
3. Run the discovery tool when available, or ask for the exact identifier required by a lookup. Inspect actual records before reusing an ID or URL. Never substitute account, content and product identifiers for one another.
|
|
6
|
-
4. Request one page or record at a time. Carry a cursor only into the same tool and query context. Do not infer additional input parameters from response metadata.
|
|
7
|
-
5. Compare like-for-like records. Keep source links, dates, sample counts and unavailable fields. Use supplied materials without new calls when the user requests it.
|
|
8
|
-
6. Produce a sourced comparison table and an observation-led brief. The client model performs all analysis and writes local CSV/Markdown only when it has file tools.
|
|
3
|
+
## Task
|
|
9
4
|
|
|
10
|
-
|
|
5
|
+
Research news search results and RSS sources for evidence-based briefs. Select the tools and scope needed for the user's actual question.
|
|
11
6
|
|
|
12
|
-
|
|
13
|
-
| --- | --- | --- | --- | --- | --- |
|
|
7
|
+
## Method
|
|
14
8
|
|
|
15
|
-
|
|
9
|
+
Submit one news-search task with keyword, `language_code` and `location_name`, or read a supplied feed URL. Separate publication dates, event dates, original reporting and syndicated copies.
|
|
16
10
|
|
|
17
|
-
|
|
11
|
+
1. Establish identifiers, comparison context, sample scope and budget. Available tools: `search_news`, `read_feed`; not every question needs all of them.
|
|
12
|
+
2. Use `get_tool_info` for current parameters, nested inputs and prices. Choose follow-up steps from actual records or user-confirmed identifiers.
|
|
13
|
+
3. Execute only needed, authorized requests. Continue with an original-query cursor only when that tool accepts it.
|
|
14
|
+
4. Check object identity, units and timing; retain source records, unknown fields and analysis separately.
|
|
18
15
|
|
|
19
|
-
##
|
|
16
|
+
## Evidence columns
|
|
20
17
|
|
|
21
|
-
|
|
18
|
+
Source URL | Publication / event date | Original or syndicated | Claim | Corroboration | Missing context
|
|
22
19
|
|
|
23
|
-
|
|
20
|
+
## Deliverable
|
|
24
21
|
|
|
25
|
-
|
|
22
|
+
Your agent can prepare a source comparison with event chronology, duplicate coverage and unresolved claims.
|
|
26
23
|
|
|
27
|
-
|
|
24
|
+
## Stop conditions
|
|
28
25
|
|
|
29
|
-
|
|
30
|
-
| --- | --- |
|
|
31
|
-
| `search_news` | One English-US news task using location_name=United States, without location_code; results are a source-dependent news sample. |
|
|
26
|
+
Stop on missing required inputs, mismatched identity, unaffordable cost or uncertain execution/billing. Preserve the original request ID rather than replaying an empty or uncertain result.
|
|
32
27
|
|
|
33
|
-
|
|
28
|
+
## Domain scope
|
|
34
29
|
|
|
35
|
-
|
|
30
|
+
News search returns search-result samples; feed reads return available feed entries. Publication date, event date, original reporting and syndicated copies must be distinguished. No complete article or copyright license is implied.
|
package/workflows/research.zh.md
CHANGED
|
@@ -1,33 +1,30 @@
|
|
|
1
|
-
#
|
|
1
|
+
# news-source-research-mcp:领域调研
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
2. 检查相关工具:`search_news`, `read_feed`。仅选择本次任务需要的调用。
|
|
5
|
-
3. 有搜索工具时先发现记录;详情查询需要准确标识。读取实际结果后再复用 ID 或 URL,账号、内容和商品标识不能混用。
|
|
6
|
-
4. 每次只请求一个页面或一条记录。游标只在相同工具和查询条件下复用,不从返回元数据推导未提供的输入参数。
|
|
7
|
-
5. 同口径比较,保留来源链接、日期、样本量和缺失字段。用户要求仅用已有材料时不发起新调用。
|
|
8
|
-
6. 生成带来源的比较表与简报;分析和写作由客户端模型完成,CSV/Markdown 导出需要客户端文件工具。
|
|
3
|
+
## 任务
|
|
9
4
|
|
|
10
|
-
|
|
5
|
+
研究范围包括搜索新闻样本、读取 Feed 条目。根据用户实际问题选择需要的工具和范围。
|
|
11
6
|
|
|
12
|
-
|
|
13
|
-
| --- | --- | --- | --- | --- | --- |
|
|
7
|
+
## 方法
|
|
14
8
|
|
|
15
|
-
|
|
9
|
+
提交包含 keyword、`language_code`、`location_name` 的单个新闻任务,或读取用户提供的 Feed URL。区分发布日期、事件日期、原始报道与转载。
|
|
10
|
+
|
|
11
|
+
1. 先明确对象标识、比较口径、采样范围与预算,可选工具为 `search_news`, `read_feed`,不要求每次全部调用。
|
|
12
|
+
2. 使用 `get_tool_info` 查看当前参数、嵌套输入和价格;按真实结果或用户确认的标识选择后续步骤。
|
|
13
|
+
3. 仅执行本任务需要且已获授权的请求;只有对应工具接受游标时才沿原查询的真实游标继续。
|
|
14
|
+
4. 核对对象、单位和时间背景,将来源记录、未知字段与分析分别保留。
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
## 证据列
|
|
18
17
|
|
|
19
|
-
|
|
18
|
+
来源 URL | 发布 / 事件日期 | 原始或转载 | 说法 | 交叉证据 | 缺失背景
|
|
20
19
|
|
|
21
|
-
|
|
20
|
+
## 交付
|
|
22
21
|
|
|
23
|
-
|
|
22
|
+
可交付的成果包括:含事件时间线、重复报道和未核实说法的来源对照。
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
## 停止条件
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
| --- | --- |
|
|
29
|
-
| `search_news` | 单个英文美国新闻任务,location_name 为 United States 且未设置 location_code;结果为来源相关样本。 |
|
|
26
|
+
缺少必填输入、对象不匹配、费用超出预算,或执行/收费状态不明时停止;保留原请求标识,不重试来掩盖空结果。
|
|
30
27
|
|
|
31
|
-
|
|
28
|
+
## 领域范围
|
|
32
29
|
|
|
33
|
-
|
|
30
|
+
摘要不是全文;转载需去重,发生时间与发布时间分开。
|