bus_stops
Pack: wmata · Endpoint: https://gateway.pipeworx.io/wmata/mcp
Find WMATA bus stops near a latitude/longitude within an optional radius (meters). Returns stop ID, name, routes serving the stop, and coordinates.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
lat | number | no | |
lon | number | no | |
radius | number | no |
Example call
Arguments
{
"lat": 38.8951,
"lon": -77.0369
}
curl
curl -X POST https://gateway.pipeworx.io/wmata/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bus_stops","arguments":{"lat":38.8951,"lon":-77.0369}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('bus_stops', {
"lat": 38.8951,
"lon": -77.0369
});
More examples
{
"lat": 38.8951,
"lon": -77.0369,
"radius": 500
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "Response from WMATA bus stops API"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"wmata": {
"url": "https://gateway.pipeworx.io/wmata/mcp"
}
}
}
See Getting Started for client-specific install steps.