country_news

Pack: country-news · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/country_news for the schema, then POST the same URL with its arguments for the data.

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

NameTypeRequiredDescription
countrystringyesCountry name or ISO-2 code, e.g. “China”, “DE”, “Brazil”.
topicstringnoOptional: read this section of the country’s LOCAL Google News edition (news for readers there): WORLD | NATION | BUSINESS | TECHNOLOGY | ENTERTAINMENT | SPORTS | SCIENCE | HEALTH. The edition is served in the country’s own language, derived from the region (Germany -> German headlines, China -> Chinese, France -> French, Japan -> Japanese, Mexico -> Spanish); the response says which language was used. A country with no distinct edition in any language returns found:false reason no_local_edition rather than another country’s stories (omit topic to get English news about any country).
languagestringnoOptional, topic mode only: force the edition language as a primary language code (“fr”, “de”, “en”, “zh”). Needed for multilingual countries where the derived default is only one of several: Switzerland defaults to German, Belgium to Dutch, Canada to English, India to English. Ignored without topic.
querystringnoOptional keyword combined with the country in the search, e.g. “election”, “floods”.
daysnumbernoSearch window: only items from the last N days (default 2).
limitnumbernoMax 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 — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the country-news pack
{
  "mcpServers": {
    "country-news": {
      "url": "https://gateway.pipeworx.io/country-news/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 30, 2026