About Citi Bike Nearby
Citi Bike Nearby is an MCP server in the Science category: find nearby Citi Bike stations with distance and e-bike/classic availability. Choose optimal pickup or drop-off spots in seconds. Plan rides more efficiently across the Citi Bike network.
Install
git clone https://github.com/sjhangiani12/citibike_mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Citi Bike Nearby
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Overview
- Purpose: Smithery-compatible TypeScript MCP server exposing a tool to find the nearest Citi Bike stations by distance and ebike/classic availability.
- Data: Citi Bike GBFS feeds:
station_status.jsonandstation_information.json.
Quickstart (Smithery)
- Prereq: Node.js 18+ and a Smithery account/API key.
- Dev (requires Smithery CLI):
npm run dev(port-forwards to Smithery Playground) - Deploy: Push to GitHub, then use https://smithery.ai/new to deploy the repo.
Local Build
- Install deps:
npm install - Build:
npm run build
Entry Point
- Smithery loads
src/index.tswhich exports a defaultcreateServerfunction returning an MCP server instance.
Tool
nearest_citibikes: Returns nearest stations with distances and availability.- Input:
{ lat: number, lon: number, limit?: number } - Output: JSON with
stations[]including:name,station_id,lat,lon,distance_mavailable_ebikes,available_classic_bikes,available_total_bikesavailable_docks,capacity_total_docks,is_renting,is_returning,last_reported
- Input:
Notes
available_classic_bikesusesnum_bikes_available_types.mechanicalwhen present; else derives asnum_bikes_available - num_ebikes_available.- Results are Haversine-sorted by distance.
limitdefaults to 5 (1–50 allowed).
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.