search_suggestions
Pack: search-suggest · 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/search_suggestions for the schema, then POST the same URL with its arguments for the data.
Autocomplete suggestions a search box shows for a partial query, from Google, Bing, DuckDuckGo, YouTube or Amazon. Returns the ordered suggestion strings and the engine used. Language and country steer Google, Bing and Amazon; DuckDuckGo and YouTube honour language only. Use it to see what people are typing next to a keyword.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Partial query text, e.g. “how to” |
engine | string | no | Which engine (default “google”) |
lang | string | no | Language code, e.g. “en”, “de” (default “en”) |
country | string | no | Two-letter country code, e.g. “us”, “gb” (default “us”) |
Example call
Arguments
{
"query": "how to learn",
"engine": "google",
"lang": "en",
"country": "us"
}
curl
curl -X POST https://gateway.pipeworx.io/search-suggest/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_suggestions","arguments":{"query":"how to learn","engine":"google","lang":"en","country":"us"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_suggestions', {
"query": "how to learn",
"engine": "google",
"lang": "en",
"country": "us"
});
Response shape
| Field | Type | Description |
|---|---|---|
query | string | |
engine | string | |
lang | string | |
country | string | |
count | number | |
suggestions | array | |
note | string | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"engine": {
"type": "string"
},
"lang": {
"type": "string"
},
"country": {
"type": "string"
},
"count": {
"type": "number"
},
"suggestions": {
"type": "array",
"items": {
"type": "string"
}
},
"note": {
"type": "string"
},
"source": {
"type": "string"
}
},
"additionalProperties": true
}
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 search-suggest pack
{
"mcpServers": {
"search-suggest": {
"url": "https://gateway.pipeworx.io/search-suggest/mcp"
}
}
}
See Getting Started for client-specific install steps.