Foursquare

v0.2.1
io.github.pipeworx-io/foursquare Checked 2 days ago Published 1 month ago

Foursquare Places MCP — migrated to the 2025 Places API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_places

Search Foursquare places (keyless — Pipeworx supplies the key). Combine `query` (e.g., "coffee", "hardware store") with a location anchor — either `near` ("Brooklyn, NY", "San Francisco, CA") or `latitude`+`longitude`. sort:"RATING" orders results by Foursquare rating (best first); the rating NUMBER itself is a Foursquare Premium field and is returned only where enabled — check `rating_included` / `rating_reason` in the response, and read `rating_note` before telling a caller a place is unrated. Returns name, fsq_place_id, categories, address, distance, lat/lon, tel, website.

ParameterTypeDescription
categoriesstringOPTIONAL. Comma-separated numeric fsq_category_id values ONLY (e.g. from a prior search_places result). Do NOT invent IDs or pass category names — use the `query` text for that (e.g. query:"coffee")…
latitudenumberCenter latitude (pair with longitude)
limitnumberResults (1-50, default 10)
longitudenumberCenter longitude
nearstringPlace name anchor ("Brooklyn, NY", "Tokyo")
querystringFree-text query
radius_mnumber1-100000 metres (only with lat/lon)
sortstringRELEVANCE (default) | DISTANCE | RATING | POPULARITY

get_place

Full place details by fsq_place_id. Returns name, categories, address, lat/lon, social media, website, tel. hours/rating/price/popularity are Foursquare Premium fields — present only where enabled (see `rating_included` / `rating_note` in the response).

ParameterTypeDescription
fsq_place_id *stringFoursquare place ID (returned by search_places)

nearby_places

Return POIs sorted by distance from a lat/lon without a text query. Requires latitude+longitude; optional radius_m (default 500m) and numeric fsq_category_ids filter. Returns name, categories, address, distance, tel, website. rating/hours/popularity are Foursquare Premium fields — present only where enabled (see `rating_included` / `rating_note`).

ParameterTypeDescription
latitude *numberLatitude
longitude *numberLongitude
categoriesstringOPTIONAL numeric fsq_category_id values only (from a prior result). Do NOT invent IDs; unknown IDs are ignored.
limitnumberResults (1-50, default 20)
radius_mnumber1-100000 metres (default 500)