get_network

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

Check live bike availability at stations in a specific network (e.g., “citi-bike-nyc”). Returns station locations, available bikes, and empty slots.

Parameters

NameTypeRequiredDescription
idstringyesNetwork id (e.g. “citi-bike-nyc”, “velib” for Paris, “nextbike-berlin”)

Example call

Arguments

{
  "id": "citi-bike-nyc"
}

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":"get_network","arguments":{"id":"citi-bike-nyc"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_network', {
  "id": "citi-bike-nyc"
});

More examples

{
  "id": "velib"
}

Response shape

Always returns: id, name, city, country, station_count, stations

FieldTypeDescription
idstringNetwork identifier
namestringNetwork name
citystringCity where network operates
countrystringCountry where network operates
station_countintegerTotal number of stations in network
stationsarrayArray of stations in network
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Network identifier"
    },
    "name": {
      "type": "string",
      "description": "Network name"
    },
    "city": {
      "type": "string",
      "description": "City where network operates"
    },
    "country": {
      "type": "string",
      "description": "Country where network operates"
    },
    "station_count": {
      "type": "integer",
      "description": "Total number of stations in network"
    },
    "stations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Station identifier"
          },
          "name": {
            "type": "string",
            "description": "Station name"
          },
          "free_bikes": {
            "type": "integer",
            "description": "Number of available bikes"
          },
          "empty_slots": {
            "type": "integer",
            "description": "Number of empty docking slots"
          },
          "latitude": {
            "type": "number",
            "description": "Station latitude"
          },
          "longitude": {
            "type": "number",
            "description": "Station longitude"
          },
          "timestamp": {
            "type": "string",
            "description": "Last update timestamp"
          }
        },
        "required": [
          "id",
          "name",
          "free_bikes",
          "empty_slots",
          "latitude",
          "longitude",
          "timestamp"
        ]
      },
      "description": "Array of stations in network"
    }
  },
  "required": [
    "id",
    "name",
    "city",
    "country",
    "station_count",
    "stations"
  ]
}

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.

Regenerated from source · build May 9, 2026