stop_search

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

Search for stops/stations by name. Returns matches with a naptanId (the “id” field) used by the arrivals tool, plus modes, zone, and lat/lon.

Parameters

NameTypeRequiredDescription
querystringyesStop/station name to search for, e.g. “Oxford Circus”.
modesstringnoOptional filter.

Example call

Arguments

{
  "query": "Oxford Circus"
}

curl

curl -X POST https://gateway.pipeworx.io/tfl/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"stop_search","arguments":{"query":"Oxford Circus"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('stop_search', {
  "query": "Oxford Circus"
});

More examples

{
  "query": "King's Cross",
  "modes": "tube,national-rail"
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build August 31, 2026