search

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

Google web search via Serper: returns organic results (title, link, snippet, position), an answer box if present, and a knowledge graph summary. Accepts query, result count (max 20), and optional country code (gl) and location for geo-targeted results.

Parameters

NameTypeRequiredDescription
querystringyesSearch query, e.g. “best espresso machine 2026”
numnumbernoNumber of results (default 10, max 20)
glstringnoCountry code for geolocation, e.g. “us”, “gb”, “de”
locationstringnoLocation string, e.g. “San Francisco, California, United States”

Example call

Arguments

{
  "query": "best espresso machine 2026",
  "num": 10,
  "_apiKey": "your-serper-api-key"
}

curl

curl -X POST https://gateway.pipeworx.io/serper/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"best espresso machine 2026","num":10,"_apiKey":"your-serper-api-key"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search', {
  "query": "best espresso machine 2026",
  "num": 10,
  "_apiKey": "your-serper-api-key"
});

More examples

{
  "query": "python machine learning libraries",
  "num": 15,
  "gl": "us",
  "location": "San Francisco, California, United States",
  "_apiKey": "your-serper-api-key"
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build September 2, 2026