@openanysi/news-source-research-mcp 0.1.0 → 0.1.2

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 CHANGED
@@ -10,15 +10,17 @@ English | [简体中文](docs/README.zh-CN.md)
10
10
 
11
11
  ## Overview
12
12
 
13
- Research 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.
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:** sourced comparisons within the supported platform and task scope.
18
- - **Best For:** turning available records into an evidence table and research brief in Claude, Cursor or another MCP client.
19
- - **Best For:** analyzing supplied outputs without additional data calls.
20
- - **Not For:** account automation, publishing, purchases or hidden multi-request workflows.
21
- - **Not For:** complete population statistics or claims unsupported by the collected sample.
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
 
@@ -34,8 +36,10 @@ Research news search results and RSS sources for evidence-based briefs. The serv
34
36
  - [FAQ](#faq)
35
37
  - [Error Handling & Retries](#error-handling--retries)
36
38
  - [Scope, Data & Billing Notes](#scope-data--billing-notes)
39
+ - [Related MCP Servers](#related-mcp-servers)
37
40
  - [Development](#development)
38
41
  - [About OpenAny](#about-openany)
42
+ - [Contact Us](#contact-us)
39
43
  - [License](#license)
40
44
 
41
45
  ## Quick Start
@@ -48,26 +52,51 @@ Research news search results and RSS sources for evidence-based briefs. The serv
48
52
 
49
53
  ### Configure Your Client
50
54
 
51
- For clients using `mcpServers`, add this to private settings. Other hosts register the same command, arguments and environment through their MCP settings or CLI.
55
+ [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/claude-color.svg" width="20" height="20" alt=""> Claude Desktop](https://modelcontextprotocol.io/docs/develop/connect-local-servers) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/cursor.svg" width="20" height="20" alt=""> Cursor](https://cursor.com/docs/context/mcp) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/windsurf.svg" width="20" height="20" alt=""> Windsurf](https://docs.windsurf.com/windsurf/cascade/mcp) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/cline.svg" width="20" height="20" alt=""> Cline](https://docs.cline.bot/mcp/mcp-overview) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/claude-color.svg" width="20" height="20" alt=""> Claude Code](https://code.claude.com/docs/en/mcp) · [<img src="https://cdn.jsdelivr.net/npm/@lobehub/icons-static-svg@1.107.0/icons/openai.svg" width="20" height="20" alt=""> Codex](https://developers.openai.com/codex/mcp/)
56
+
57
+ **Run with npx (no global installation required):**
58
+
59
+ ```bash
60
+ npx -y @openanysi/news-source-research-mcp
61
+ ```
62
+
63
+ Use this command when adding a local `stdio` server to your agent.
64
+
65
+ Add this entry to your client's private `mcpServers` settings and replace `YOUR_OPENANY_API_KEY` locally (don't have a key yet? [Create an OpenAny API key](https://openany.si/dashboard/?page=api-keys)):
52
66
 
53
67
  ```json
54
68
  {
55
69
  "mcpServers": {
56
70
  "news-source-research-mcp": {
57
- "command": "npx",
58
- "args": [
59
- "-y",
60
- "@openanysi/news-source-research-mcp"
61
- ],
62
- "env": {
63
- "OPENANY_API_KEY": "YOUR_OPENANY_API_KEY"
64
- }
71
+ "command": "npx", "args": ["-y", "@openanysi/news-source-research-mcp"],
72
+ "env": {"OPENANY_API_KEY": "YOUR_OPENANY_API_KEY"}
65
73
  }
66
74
  }
67
75
  }
68
76
  ```
69
77
 
70
- Store `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.
78
+ **API key:** Data tools require `OPENANY_API_KEY`; omit `env` for keyless utilities. Keep real keys in private client settings or environment variables, never in chat or public repositories.
79
+
80
+ **Client-specific setup**
81
+
82
+ - **Claude Desktop:** Open **Settings → Developer → Edit Config**, merge the JSON above, then restart Claude Desktop.
83
+ - **Cursor:** Merge the JSON into your private `~/.cursor/mcp.json`, then refresh the MCP server list.
84
+ - **Windsurf:** Open MCP settings and add a local `stdio` server using the `command`, `args` and private `env` above.
85
+ - **Cline:** Open **MCP Servers → Configure → Configure MCP Servers** and merge the JSON above.
86
+
87
+ **Claude Code**
88
+
89
+ ```bash
90
+ claude mcp add --transport stdio news-source-research-mcp -- npx -y @openanysi/news-source-research-mcp
91
+ ```
92
+
93
+ **Codex**
94
+
95
+ ```bash
96
+ codex mcp add news-source-research-mcp -- npx -y @openanysi/news-source-research-mcp
97
+ ```
98
+
99
+ For CLI clients, set `OPENANY_API_KEY` in the agent's launch environment or private server settings before using data tools.
71
100
 
72
101
  ### Verify It Works
73
102
 
@@ -76,36 +105,34 @@ Store `OPENANY_API_KEY` in private client settings or the inherited environment.
76
105
 
77
106
  ## Key Features
78
107
 
79
- - 2 atomic tools for the operations listed below.
80
- - Current parameters and prices available through `get_tool_info`.
81
- - Two English/Chinese workflow guides for research and evidence briefs.
82
- - A packaged optional companion Skill using the same guide texts.
83
- - Client-controlled pagination, comparisons and supported CSV/Markdown exports.
84
- - Broader capability discovery through the OpenAny catalog.
108
+ - **Search news:** use `search_news` as an independent operation; inspect its inputs and available fields below.
109
+ - **Read feed:** use `read_feed` as an independent operation; inspect its inputs and available fields below.
110
+ - **Comparable evidence:** retain Source URL; Publication / event date; Original or syndicated; mark missing fields unknown.
111
+ - **Inspect before collection:** read current parameters and pricing before each request; uncertain outcomes are not automatically replayed.
112
+ - **Bilingual task guidance:** collection and reporting guides support analysis and available local exports with your own client model.
113
+ - **Related capability discovery:** inspect the OpenAny catalog when this domain needs another operation; discovery does not execute or install it.
85
114
 
86
115
  ## Example Prompts
87
116
 
88
- - "Use the research guide to plan a sourced news source research task. Inspect prices before collecting a small sample."
89
- - "Compare the records returned by the relevant tools; keep identifiers, dates and missing values."
90
- - "Turn the collected sample into an evidence brief. Separate observations from hypotheses."
91
- - "Use only the results I provide. Make no new data calls; organize them into a comparison table."
117
+ - "Compare news-search samples and RSS entries about a supplied industry event."
118
+ - "Search my event keyword in English for the United States, using exactly one task; compare it with the feed URL I provide."
119
+ - "Group repeated reports by source and event date; do not treat a search snippet as full article text."
120
+ - "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
121
 
93
122
  ## Why news-source-research-mcp?
94
123
 
95
124
  | What You Care About | How We Handle It | Value to You |
96
125
  | --- | --- | --- |
97
- | Focused scope | Read-only tools for one research domain | A small, inspectable tool set |
98
- | Spending control | Read current pricing before individual requests | Explicit decisions about each paid call |
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 |
126
+ | Search news | Use `search_news` with `request` | Discover source candidates within an explicit market |
127
+ | Read feed | Use `read_feed` with `request` | Inspect a supplied publication feed without pretending to retrieve full articles |
101
128
 
102
129
  ## What You Can Build & Deliver
103
130
 
104
131
  | Use Case | How the Agent Runs It | Typical Deliverables |
105
132
  | --- | --- | --- |
106
- | Source collection | Select the relevant tools and request a bounded sample | Linked evidence table |
107
- | Comparative research | Compare matching records and their scope | Comparison table with missing fields |
108
- | Evidence brief | Load `evidence_brief` and analyze existing outputs | Markdown brief and next questions |
133
+ | 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. |
134
+ | 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. |
135
+ | News Source brief | Align object identity, dates and units before interpreting collected records. | Sourced observations, unresolved differences and follow-up checks. |
109
136
 
110
137
  ## Tools Reference
111
138
 
@@ -122,6 +149,43 @@ Responses are passed through rather than normalized into an invented common busi
122
149
 
123
150
  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
151
 
152
+ #### Nested Request Shapes
153
+
154
+ 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.
155
+
156
+ **`search_news`** — `request` array item count: 1–1
157
+
158
+ | Nested field | Requirement | Type / constraints |
159
+ | --- | --- | --- |
160
+ | `request[].depth` | Optional | integer / null (…–200) |
161
+ | `request[].keyword` | Required within parent | string |
162
+ | `request[].language_code` | Required within parent | string |
163
+ | `request[].location_code` | Optional | integer |
164
+ | `request[].location_name` | Required within parent | string |
165
+
166
+ **`read_feed`**
167
+
168
+ | Nested field | Requirement | Type / constraints |
169
+ | --- | --- | --- |
170
+ | `request.limit` | Optional | integer (1–25) |
171
+ | `request.url` | Required within parent | string (length 1–…) |
172
+
173
+ #### Minimal Tool Arguments
174
+
175
+ These are example arguments for `search_news`; they were not sent as business requests.
176
+
177
+ ```json
178
+ {
179
+ "request": [
180
+ {
181
+ "keyword": "battery recycling",
182
+ "language_code": "en",
183
+ "location_name": "United States"
184
+ }
185
+ ]
186
+ }
187
+ ```
188
+
125
189
  ### Utility Tools (Free, No API Key Required)
126
190
 
127
191
  | Tool | Parameters | Behavior |
@@ -130,14 +194,13 @@ News search returns search-result samples; feed reads return available feed entr
130
194
  | `get_workflow` | Required `workflow`; optional `language` (`zh` or `en`, default `zh`) | Return a guide; use `language: "en"` for English |
131
195
  | `search_openany_capabilities` | Required `query` (1-256 characters); optional `limit` (1-10, default 5) | Search related capabilities without executing them |
132
196
 
133
-
134
197
  ## Compatible Fallbacks
135
198
 
136
199
  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
200
 
138
201
  | Tool | Supported backup scope |
139
202
  | --- | --- |
140
- | `search_news` | One English-US news task using location_name=United States, without location_code; results are a source-dependent news sample. |
203
+ | `search_news` | One English-US news task using `location_name`=United States, without `location_code`; results are a source-dependent news sample. |
141
204
 
142
205
  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
206
 
@@ -145,58 +208,66 @@ Backup payload layouts and sampling may differ. The response preserves the origi
145
208
 
146
209
  ## Built-in Workflow Guides
147
210
 
148
- `get_workflow` returns instructions and templates for your client. It makes no data or model call and does not itself generate a report.
211
+ `get_workflow` returns instructions for your client without calling data tools or a model. Select `language: "en"` for English.
149
212
 
150
213
  | Guide ID | Best For | What It Provides |
151
214
  | --- | --- | --- |
152
- | `research` | Planning and collecting a scoped sample | Call selection, identifier checks and an evidence-table template |
153
- | `evidence_brief` | Reporting from collected or supplied records | Sourced findings, gaps and next questions |
215
+ | `research` | Planning news source research | A tool/identifier checklist and a scoped collection method. |
216
+ | `evidence_brief` | Reporting from collected news source research records | Source attribution, comparison context, missing information and follow-up questions. |
154
217
 
155
218
  ### Companion Skill (Optional)
156
219
 
157
- The [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.
220
+ 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
221
 
159
222
  ## End-to-End Example
160
223
 
161
- **Prompt:** "Research my supplied news source research question using one small sample per relevant tool. Return a comparison table and an evidence brief."
224
+ **Prompt:** "Search my event keyword in English for the United States, using exactly one task; compare it with the feed URL I provide."
162
225
 
163
226
  **How the Agent Executes:**
164
227
 
165
- 1. Load `research` with `language: "en"` and clarify the question, identifiers and budget.
166
- 2. Inspect `get_tool_info` for each selected data tool.
167
- 3. Make the approved individual calls. Reuse identifiers only after inspecting the actual returned records.
168
- 4. Preserve sources and missing fields, then load `evidence_brief` to summarize observations and hypotheses.
169
- 5. Write Markdown or CSV locally if the client provides file tools.
228
+ 1. Load `research`, establish identifiers, scope and budget, and select the needed tools: `search_news`, `read_feed`.
229
+ 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.
230
+ 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.
231
+ 4. Retain evidence using these columns: Source URL | Publication / event date | Original or syndicated | Claim | Corroboration | Missing context. Mark absent fields unknown.
232
+ 5. Load `evidence_brief`, write evidence-linked findings and open questions, and export Markdown/CSV only when client file tools are available.
170
233
 
171
234
  ## FAQ
172
235
 
173
- ### How much does news-source-research-mcp cost?
236
+ ### Which inputs should I confirm before starting?
174
237
 
175
- The 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.
238
+ `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.
176
239
 
177
- ### Does it work with Cursor, Claude Desktop and Claude Code?
240
+ ### How should I compare the returned records?
178
241
 
179
- Yes, 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.
242
+ 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.
180
243
 
181
- ### Can I try it without an API key?
244
+ ### What are the domain-specific scope limits?
182
245
 
183
- Yes. Use the three utility tools to read parameters, guides and capability candidates. Data requests require `OPENANY_API_KEY`.
246
+ 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.
247
+
248
+ ### How much does this MCP cost?
249
+
250
+ 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.
251
+
252
+ ### Do I need a platform account or browser cookies?
253
+
254
+ 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
255
 
185
- ### Does the MCP write the final report?
256
+ ### Which clients work, and what can I try without a key?
186
257
 
187
- Your client agent writes the report. `get_workflow` supplies instructions and a template; data tools supply the evidence.
258
+ 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
259
 
189
- ### Does it paginate or retry automatically?
260
+ ### Can I treat missing fields as zero or infer complete coverage?
190
261
 
191
- The 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.
262
+ No. Preserve object identity, source, filters and sample scope. Mark missing values unknown; the returned sample does not represent uncollected records.
192
263
 
193
- ### What if I need another capability?
264
+ ### Who writes the report and exports files?
194
265
 
195
- Use `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/). Discovery does not automatically execute or install another service.
266
+ 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
267
 
197
- ### How should I handle timeouts?
268
+ ### What should I do after a timeout or uncertain result?
198
269
 
199
- Keep the request ID and check the original outcome before another call. A missing final response does not prove that the request was uncharged.
270
+ 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
271
 
201
272
  ## Error Handling & Retries
202
273
 
@@ -213,6 +284,14 @@ Keep the request ID and check the original outcome before another call. A missin
213
284
  - **Reporting Standards:** Separate source data, observations, hypotheses and drafts. Mark unavailable facts as unknown.
214
285
  - **Network & Privacy:** The server runs locally; catalog queries and business inputs are sent to OpenAny.
215
286
 
287
+ ## Related MCP Servers
288
+
289
+ [Browse the server catalog](https://github.com/siopenany/just-mcps#mcp-server-catalog) for adjacent tasks. Each server has separate inputs and coverage.
290
+
291
+ - [web-archive-research-mcp](https://www.npmjs.com/package/@openanysi/web-archive-research-mcp): Research historical web captures and available archived page content.
292
+ - [us-market-catalyst-research-mcp](https://www.npmjs.com/package/@openanysi/us-market-catalyst-research-mcp): Research US stock analyst rating changes, M&A and FDA calendars, and unusual options activity.
293
+ - [ai-search-visibility-mcp](https://www.npmjs.com/package/@openanysi/ai-search-visibility-mcp): Google AI Overview, Google AI Mode, and indexed Google/ChatGPT brand & domain mentions.
294
+
216
295
  ## Development
217
296
 
218
297
  See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, verification and guide maintenance.
@@ -223,6 +302,11 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, verification and guide mainten
223
302
 
224
303
  Discover additional capabilities with `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/).
225
304
 
305
+ ## Contact Us
306
+
307
+ - Community discussions and usage questions: [Telegram community](https://t.me/openanylabs)
308
+ - Integration support and business inquiries: [team@openany.si](mailto:team@openany.si)
309
+
226
310
  ## License
227
311
 
228
312
  [Apache-2.0](LICENSE)