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

NameTypeRequiredDescription
querystringyesPartial query text, e.g. “how to”
enginestringnoWhich engine (default “google”)
langstringnoLanguage code, e.g. “en”, “de” (default “en”)
countrystringnoTwo-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

FieldTypeDescription
querystring
enginestring
langstring
countrystring
countnumber
suggestionsarray
notestring
sourcestring
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.

Regenerated from source · build November 21, 2026