latest_news
Pack: newsdata · Endpoint: https://gateway.pipeworx.io/newsdata/mcp
Get the latest global news headlines and articles. Filter by keyword, country (2-letter, e.g. “us”), category (business, technology, politics, sports, health, science), and language. Returns article title, description, link, source, publish date, category, and country. Paginate via the nextPage token. Example: latest_news({ query: “election”, country: “us”, category: “politics” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Keyword or phrase to search news articles for, e.g. “election”, “AI chips” |
country | string | no | 2-letter country code to filter news by, e.g. “us”, “gb”, “in” |
category | string | no | News category, e.g. “business”, “technology”, “politics”, “sports”, “health”, “science” |
language | string | no | Language code to filter news by, e.g. “en”, “es”, “fr” |
page | string | no | nextPage token returned from a prior call, to fetch the next page of results |
_apiKey | string | no | Optional — your own NewsData.io API key for higher limits; omit to use the shared Pipeworx key. |
Example call
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":{}}}'
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.