citybikes_networks_near
Pack: citybikes · Endpoint: https://gateway.pipeworx.io/citybikes/mcp
Find bike-share networks near a lat/lon: “bike share near me”, “find bike rental network by location”, “citybikes nearby coordinates”. Returns the closest networks sorted by distance with their id, name, city, country, and distance_km. If none fall within radius_km, returns count:0 plus a note naming the single nearest network beyond the radius. To then get live stations and free bikes for a returned network, call get_network with its id. Example: Göttingen (latitude 51.53, longitude 9.93) → nextbike-kassel ~39.5km away.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | yes | Latitude of the search center (e.g. 51.53) |
longitude | number | yes | Longitude of the search center (e.g. 9.93) |
radius_km | number | no | Search radius in kilometers (default 50; bike networks are sparse, so the nearest city may be 30km+ away) |
limit | number | no | Max networks to return, 1-20 (default 5) |
Example call
Arguments
{
"latitude": 51.53,
"longitude": 9.93
}
curl
curl -X POST https://gateway.pipeworx.io/citybikes/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"citybikes_networks_near","arguments":{"latitude":51.53,"longitude":9.93}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('citybikes_networks_near', {
"latitude": 51.53,
"longitude": 9.93
});
More examples
{
"latitude": 40.7128,
"longitude": -74.006,
"radius_km": 30,
"limit": 10
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"citybikes": {
"url": "https://gateway.pipeworx.io/citybikes/mcp"
}
}
}
See Getting Started for client-specific install steps.