autosuggest

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

Given a partial / mistyped 3-word input, return ranked suggestions. Optional focus point biases results toward proximity.

Parameters

NameTypeRequiredDescription
inputstringyesPartial three-word string
n_resultsnumberno1-100 (default 3)
focus_latitudenumbernoBias toward this latitude
focus_longitudenumbernoBias toward this longitude
countrystringnoRestrict to ISO country code(s), comma-separated
languagestringno2-letter language

Example call

Arguments

{
  "input": "filled.count.so"
}

curl

curl -X POST https://gateway.pipeworx.io/what3words/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"autosuggest","arguments":{"input":"filled.count.so"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('autosuggest', {
  "input": "filled.count.so"
});

More examples

{
  "input": "index.home",
  "n_results": 5,
  "focus_latitude": 51.520847,
  "focus_longitude": -0.195521,
  "country": "GB"
}

Response shape

Always returns: input, count, suggestions

FieldTypeDescription
inputstringThe partial 3-word input submitted
countnumberNumber of suggestions returned
suggestionsarrayList of ranked suggestions
Full JSON Schema
{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "The partial 3-word input submitted"
    },
    "count": {
      "type": "number",
      "description": "Number of suggestions returned"
    },
    "suggestions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "words": {
            "type": [
              "string",
              "null"
            ],
            "description": "The suggested 3-word address"
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country containing the suggestion"
          },
          "nearest_place": {
            "type": [
              "string",
              "null"
            ],
            "description": "Nearest place to the suggestion"
          },
          "distance_to_focus_km": {
            "type": [
              "number",
              "null"
            ],
            "description": "Distance in km from focus point if provided"
          },
          "rank": {
            "type": [
              "number",
              "null"
            ],
            "description": "Ranking of the suggestion"
          },
          "language": {
            "type": [
              "string",
              "null"
            ],
            "description": "Language code of the suggestion"
          }
        }
      },
      "description": "List of ranked suggestions"
    }
  },
  "required": [
    "input",
    "count",
    "suggestions"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026