search_stops

Pack: transit-land · Endpoint: https://gateway.pipeworx.io/transit-land/mcp

Search stops/stations. Use lat+lon+radius_m for “stops near point”.

Parameters

NameTypeRequiredDescription
querystringnoFree-text search by stop/station name
stop_idstringnoGTFS stop_id
latnumberno
lonnumberno
radius_mnumbernoDefault 100
served_by_route_typenumbernoFilter to stops served by this route_type
limitnumberno

Example call

Arguments

{
  "name": "Market Street"
}

curl

curl -X POST https://gateway.pipeworx.io/transit-land/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_stops","arguments":{"name":"Market Street"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search_stops', {
  "name": "Market Street"
});

More examples

{
  "lat": 40.7128,
  "lon": -74.006,
  "radius_m": 500,
  "limit": 15
}

Response shape

FieldTypeDescription
metaobject
stopsarrayList of matching stops
Full JSON Schema
{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "after": {
          "type": "number"
        },
        "next": {
          "type": "string"
        }
      }
    },
    "stops": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "feed_version": {
            "type": "object",
            "properties": {
              "feed": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "number"
                  },
                  "onestop_id": {
                    "type": "string"
                  }
                }
              },
              "fetched_at": {
                "type": "string"
              },
              "id": {
                "type": "number"
              },
              "sha1": {
                "type": "string"
              }
            }
          },
          "geometry": {
            "type": "object",
            "properties": {
              "coordinates": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "type": {
                "type": "string"
              }
            },
            "description": "GeoJSON point geometry with lat/lon"
          },
          "id": {
            "type": "number",
            "description": "Transitland onestop_id"
          },
          "level": {
            "type": "null"
          },
          "location_type": {
            "type": "number",
            "description": "0=stop, 1=station, etc"
          },
          "onestop_id": {
            "type": "string"
          },
          "parent": {
            "type": "null"
          },
          "place": {
            "type": "object",
            "properties": {
              "adm0_iso": {
                "type": "string"
              },
              "adm0_name": {
                "type": "string"
              },
              "adm1_iso": {
                "type": "string"
              },
              "adm1_name": {
                "type": "string"
              }
            }
          },
          "platform_code": {
            "type": "null",
            "description": "Platform identifier"
          },
          "stop_code": {
            "type": "string"
          },
          "stop_desc": {
            "type": "null"
          },
          "stop_id": {
            "type": "string",
            "description": "GTFS stop_id"
          },
          "stop_name": {
            "type": "string"
          },
          "stop_timezone": {
            "type": "null"
          },
          "stop_url": {
            "type": "null"
          },
          "tts_stop_name": {
            "type": "null"
          },
          "wheelchair_boarding": {
            "type": "number"
          },
          "zone_id": {
            "type": "null"
          }
        }
      },
      "description": "List of matching stops"
    }
  },
  "description": "Search results for transit stops/stations"
}

Connect

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

{
  "mcpServers": {
    "transit-land": {
      "url": "https://gateway.pipeworx.io/transit-land/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026