country_news
Pack: country-news · Endpoint: https://gateway.pipeworx.io/country-news/mcp
The latest news about a country today, ranked by prominence (Google News): top current stories about China, India, Germany, Brazil or any other country, newest window first — not an unranked firehose. Optionally add a keyword query (“election”, “floods”) with a trailing day window, or read a section of the country’s local Google News edition (WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH). Returns ranked items with title, source publication, link and publish time.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country | string | yes | Country name or ISO-2 code, e.g. “China”, “DE”, “Brazil”. |
topic | string | no | Optional: read this section of the country’s LOCAL Google News edition (news for readers there): WORLD | NATION | BUSINESS | TECHNOLOGY | ENTERTAINMENT | SPORTS | SCIENCE | HEALTH. |
query | string | no | Optional keyword combined with the country in the search, e.g. “election”, “floods”. |
days | number | no | Search window: only items from the last N days (default 2). |
limit | number | no | Max items (1-50, default 20). |
Example call
Arguments
{
"country": "China",
"limit": 10
}
curl
curl -X POST https://gateway.pipeworx.io/country-news/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"country_news","arguments":{"country":"China","limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('country_news', {
"country": "China",
"limit": 10
});
More examples
{
"country": "DE",
"topic": "BUSINESS",
"limit": 10
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"country-news": {
"url": "https://gateway.pipeworx.io/country-news/mcp"
}
}
}
See Getting Started for client-specific install steps.