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
| Name | Type | Required | Description |
|---|---|---|---|
input | string | yes | Partial three-word string |
n_results | number | no | 1-100 (default 3) |
focus_latitude | number | no | Bias toward this latitude |
focus_longitude | number | no | Bias toward this longitude |
country | string | no | Restrict to ISO country code(s), comma-separated |
language | string | no | 2-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
| Field | Type | Description |
|---|---|---|
input | string | The partial 3-word input submitted |
count | number | Number of suggestions returned |
suggestions | array | List 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.