latest_news

Pack: newsdata · Endpoint: https://gateway.pipeworx.io/newsdata/mcp

Get the latest global news headlines and articles — world news, breaking news, and business/financial/stock-market news. Filter by keyword, country (2-letter, e.g. “us”), category (business, technology, politics, sports, health, science), and language. IMPORTANT: for stock-market / financial-market / economy / “world market news” questions, ALWAYS pass category: “business” — it returns real market-news outlets and filters out low-quality SEO/crypto-promo articles. Returns article title, description, link, source, publish date, category, and country. Paginate via the nextPage token. Examples: latest_news({ query: “stock market”, category: “business” }) for world market news; latest_news({ query: “election”, country: “us”, category: “politics” }).

Parameters

NameTypeRequiredDescription
querystringnoKeywords to search news articles for. Every term is AND-ed — each word must appear in the article — so use 1-3 distinctive keywords (“NMPA approval biotech”, “AI chips”) rather than a full phrase; “Chinese biotech out-licensing deals NMPA approvals” returns 0 results while “NMPA Chinese biotech” returns articles.
countrystringno2-letter country code to filter news by, e.g. “us”, “gb”, “in”
categorystringnoNews category, e.g. “business”, “technology”, “politics”, “sports”, “health”, “science”. OMIT unless confident — a wrong category guess returns 0 results (e.g. drug-approval and pharma-industry stories are categorized “business”, not “health”).
languagestringnoLanguage code to filter news by, e.g. “en”, “es”, “fr”
pagestringnonextPage token returned from a prior call, to fetch the next page of results
_apiKeystringnoOptional — your own NewsData.io API key for higher limits; omit to use the shared Pipeworx key.

Example call

Arguments

{
  "query": "stock market",
  "category": "business"
}

curl

curl -X POST https://gateway.pipeworx.io/newsdata/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"latest_news","arguments":{"query":"stock market","category":"business"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('latest_news', {
  "query": "stock market",
  "category": "business"
});

More examples

{
  "query": "election",
  "country": "us",
  "category": "politics",
  "language": "en"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "newsdata": {
      "url": "https://gateway.pipeworx.io/newsdata/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 2, 2026