news_sources
Pack: newsdata · Endpoint: https://gateway.pipeworx.io/newsdata/mcp
List available global news sources. Filter by country (2-letter), category, and language. Returns source id, name, url, category, country, and language — useful for discovering which outlets cover a given region or topic. Example: news_sources({ country: “us”, category: “technology” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country | string | no | 2-letter country code to filter sources by, e.g. “us”, “gb” |
category | string | no | News category to filter sources by, e.g. “business”, “technology” |
language | string | no | Language code to filter sources by, e.g. “en”, “es” |
_apiKey | string | no | Optional — your own NewsData.io API key for higher limits; omit to use the shared Pipeworx key. |
Example call
Arguments
{
"country": "us",
"category": "technology"
}
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":"news_sources","arguments":{"country":"us","category":"technology"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('news_sources', {
"country": "us",
"category": "technology"
});
More examples
{
"country": "gb",
"category": "business",
"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.