Foursquare Places

liveGeographyTravel

POI lookup with categories, popularity, and rich tags. Free 100k req/mo. Pairs with overpass for OSM cross-validation.

3tools
0msauth
free tier50 calls/day

Tools

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 `lati

Parameters
NameTypeDescription
queryoptstringFree-text query
nearoptstringPlace name anchor
latitudeoptnumberCenter latitude
longitudeoptnumberCenter longitude
radius_moptnumber1-100000 metres
categoriesoptstringFoursquare category IDs (comma-sep)
sortoptstringRELEVANCE | DISTANCE | POPULARITY | RATING
limitoptnumber1-50 (default 10)
▶Try it
get_placerequired: fsq_id

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 (se

Parameters
NameTypeDescription
fsq_idreqstringFoursquare place ID
▶Try it
nearby_placesrequired: latitude, longitude

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

Parameters
NameTypeDescription
latitudereqnumberLatitude
longitudereqnumberLongitude
radius_moptnumberDefault 500
categoriesoptstringCategory filter
limitoptnumber1-50 (default 20)
▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/foursquare/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/foursquare/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_places","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_places", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("poi lookup with categories, popularity, and rich tags");