serpapi_google_maps
Pack: serpapi · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/serpapi_google_maps for the schema, then POST the same URL with its arguments for the data.
Find local businesses on Google Maps for <query> — returns name, address, rating, reviews, phone, website, and GPS coordinates via SerpApi. Example: serpapi_google_maps({ q: “coffee shops”, ll: “@40.7,-74.0,14z”, _apiKey: “your-serpapi-key” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | Search query, e.g. “coffee shops”, “plumbers near me” |
ll | string | no | Optional GPS location + zoom anchor, e.g. “@40.7,-74.0,14z” (latitude,longitude,zoom) |
_apiKey | string | yes | SerpApi API key (get one at serpapi.com) |
Example call
Arguments
{
"q": "coffee shops",
"ll": "@40.7,-74.0,14z",
"_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_maps","arguments":{"q":"coffee shops","ll":"@40.7,-74.0,14z","_apiKey":"your-serpapi-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('serpapi_google_maps', {
"q": "coffee shops",
"ll": "@40.7,-74.0,14z",
"_apiKey": "your-serpapi-key"
});
More examples
{
"q": "plumbers near me",
"_apiKey": "your-serpapi-key"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the serpapi pack
{
"mcpServers": {
"serpapi": {
"url": "https://gateway.pipeworx.io/serpapi/mcp"
}
}
}
See Getting Started for client-specific install steps.