GnistAI GnistAI
Log in

GBFS Bikeshare

Real-time bike and scooter sharing availability across 30+ city systems worldwide — stations, bikes available, docks, and system info via the open GBFS standard.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 Transport

Data source: GBFS (General Bikeshare Feed Specification) — city operators

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/gbfs/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-gbfs": {
      "url": "https://context.gnist.ai/mcp/gbfs/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/gbfs/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_system_info", "arguments": {"system_id": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/gbfs/

5 endpoints available:

Shell
curl "https://context.gnist.ai/rest/gbfs/get_system_info?system_id=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/gbfs/get_system_info",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "system_id": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc gbfs

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (5)

list_systems
List available bikeshare/scooter systems from the catalog.
ParameterTypeRequiredDescription
countryanyoptionalISO 3166-1 alpha-2 country code to filter systems (e.g. "NO", "US", "GB", "FR").
queryanyoptionalText search across system name, city, and operator (e.g. 'Oslo', 'Lime', 'Citi Bike').
limitintegeroptionalMaximum systems to return (1-100, default 50). (default: 50)
get_system_info
Get metadata for a specific bikeshare system.
ParameterTypeRequiredDescription
system_idstringrequiredSystem identifier from list_systems (e.g. "oslobysykkel", "lyft_nyc", "divvy").
get_stations
Get stations with real-time bike/dock availability for a bikeshare system.
ParameterTypeRequiredDescription
system_idstringrequiredSystem identifier from list_systems (e.g. "oslobysykkel", "lyft_nyc").
queryanyoptionalText filter on station name or address (e.g. 'Central Station', 'Main St').
limitintegeroptionalMaximum stations to return (1-100, default 50). (default: 50)
get_station_status
Get real-time availability for a specific bikeshare station.
ParameterTypeRequiredDescription
system_idstringrequiredSystem identifier from list_systems (e.g. "oslobysykkel", "lyft_nyc").
station_idstringrequiredStation identifier from get_stations results.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related