serpapi_google_news
Pack: serpapi · Endpoint: https://gateway.pipeworx.io/serpapi/mcp
Search Google News for <query> — returns headline, source, link, date, and snippet via SerpApi. Example: serpapi_google_news({ q: “openai”, gl: “us”, hl: “en”, _apiKey: “your-serpapi-key” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | News search query, e.g. “openai”, “federal reserve rate” |
gl | string | no | Optional two-letter country code, e.g. “us”, “gb” |
hl | string | no | Optional two-letter UI language code, e.g. “en”, “fr” |
_apiKey | string | yes | SerpApi API key (get one at serpapi.com) |
Example call
Arguments
{
"q": "openai",
"gl": "us",
"hl": "en",
"_apiKey": "your-serpapi-key"
}
curl
curl -X POST https://gateway.pipeworx.io/serpapi/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"serpapi_google_news","arguments":{"q":"openai","gl":"us","hl":"en","_apiKey":"your-serpapi-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('serpapi_google_news', {
"q": "openai",
"gl": "us",
"hl": "en",
"_apiKey": "your-serpapi-key"
});
More examples
{
"q": "federal reserve rate",
"_apiKey": "your-serpapi-key"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"serpapi": {
"url": "https://gateway.pipeworx.io/serpapi/mcp"
}
}
}
See Getting Started for client-specific install steps.