Foursquare logo

Foursquare

Search, inspect, and locate Foursquare places through MCP using text queries, coordinates, categories, and place IDs.

Install Foursquare

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "foursquare": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-foursquare"
      ],
      "env": {
        "PLATFORM_FOURSQUARE_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 3 tools correctly ().

Overview

Foursquare MCP server connects AI clients to the Foursquare Places API through Pipeworx and exposes tools for place search, place details, and nearby points of interest. Search requests can use a text query with a city or coordinates, while nearby searches use latitude and longitude without requiring a query. Results include core place data such as names, categories, addresses, distances, contact details, and websites. Use it for location-aware agents that need current Foursquare POI data, especially when rating-ordered search is useful even if rating values are unavailable.

Use cases

  • Search for restaurants, shops, and services near a named city
  • Find nearby points of interest from latitude and longitude
  • Retrieve contact and address details for a known place ID
  • Sort location results by Foursquare rating
  • Filter nearby places by Foursquare category IDs

Key features

  • Text and location-anchored place search
  • Nearby POI lookup by coordinates
  • Place details by Foursquare ID
  • Category, radius, limit, and sort controls
  • Rating-aware result ordering and availability metadata
  • Hosted HTTP and local stdio MCP modes

Tools3

What Foursquare lets your agent do. Expand a tool for its parameters.

Verified live~816 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 71d

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Makes network requests · 3Read-only tools · 3
Tool definitions changed on 2026-11-19. Review them if you approved this server earlier.
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age190 days
Maintainers1

Observed 2026-11-19 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @pipeworx/mcp-foursquare (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads688Package downloads in the last 30 days.
Last commit20d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Foursquare works

What Foursquare does

Foursquare provides MCP access to the Foursquare Places API for finding and inspecting points of interest. The integration covers three place-oriented operations:

  • Search for places using an optional text query such as “coffee” or “hardware store,” anchored by a named area or latitude and longitude.
  • Retrieve detailed information for a place using its fsq_place_id.
  • Find nearby places from coordinates without supplying a text query.

Returned Pro-level data can include a place name, Foursquare ID, categories, address, distance, coordinates, telephone number, website, and social media information where available. Category filters, result limits, radius, and sort options help narrow searches. Selecting RATING sorts results by Foursquare rating, but the numeric rating is only returned when the relevant Premium field is available.

How it works

The hosted MCP endpoint is available at https://gateway.pipeworx.io/foursquare/mcp. Add that URL to an MCP client, or connect to the full Pipeworx gateway at https://gateway.pipeworx.io/mcp. Both endpoints use the same gateway and data sources. A Foursquare pack endpoint lists the Foursquare tools along with shared Pipeworx tools such as ask_pipeworx, discover_tools, search_within, and memory tools; the full gateway lists the broader catalog directly.

For local use, run the package with npx -y @pipeworx/mcp-foursquare. The standalone process communicates over standard input and output and exposes only the Foursquare pack tools. The gateway also supports direct HTTP tool calls, including POST requests to /v1/tools/search_places.

Setup and configuration

An MCP client can use the hosted endpoint with a configuration such as:

config.json
{
  "mcpServers": {
    "foursquare": {
      "url": "https://gateway.pipeworx.io/foursquare/mcp"
    }
  }
}

The gateway uses the PLATFORM_FOURSQUARE_KEY platform credential. Bring-your-own-key requests can pass an API key with the _apiKey query parameter after registering through Foursquare’s developer site. The local package runs without a Pipeworx account or gateway round trip.

The underlying API is places-api.foursquare.com/places and uses bearer authentication with the X-Places-Api-Version: 2025-06-17 header. The package is available under the MIT license.

Tools and capabilities

search_places accepts query, near, or a latitude-and-longitude pair. It also supports radius, category, sort, and limit parameters. Its response includes core identifying, location, and contact fields.

get_place takes an fsq_id and returns fuller place information, including categories, address, coordinates, social media, website, and telephone data.

nearby_places requires latitude and longitude and optionally accepts radius_m, numeric Foursquare category IDs, and a result limit. Results are ordered by distance.

Foursquare marks rating, price, popularity, hours, descriptions, tips, and photos as Premium fields. Responses include rating_included and rating_reason; when a rating is absent, rating_note distinguishes an unrequested or vendor-withheld value from an unrated place. If a Premium request is refused, the gateway retries with Pro-only fields rather than failing the call.

Limitations and notes

The Foursquare free allowance is 10,000 Pro calls per month. Premium fields use separate billing and have no free tier; requesting them can incur the Premium rate. Until Premium access is enabled for the platform account, public requests receive Pro-only results, although sort: "RATING" can still order results by rating.

Hosted pack endpoints include shared gateway meta-tools in addition to the three Foursquare tools, so clients may display more tools than this integration defines. The standalone stdio package does not include those shared tools or cross-catalog routing. The integration is independent and unofficial, and is not affiliated with or endorsed by Foursquare.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Foursquare

Foursquare is an MCP server that connects AI clients to the Foursquare Places API through Pipeworx. Its main tools search places by query and location, retrieve a place by ID, and list nearby points of interest by coordinates. It also supports rating-ordered results while labeling whether numeric ratings are available.

Run `npx -y @pipeworx/mcp-foursquare` for a local stdio server, or configure an MCP client with `https://gateway.pipeworx.io/foursquare/mcp`. The local mode needs no Pipeworx account and communicates over stdin/stdout.

Yes, Foursquare works with Claude Desktop, Cursor, and Windsurf through the hosted MCP URL. Add the endpoint under the client’s MCP server configuration, or use the local `npx` command where supported.

It can sort results by rating, but numeric ratings are returned only when the Foursquare Premium field is enabled. Check `rating_included`, `rating_reason`, and `rating_note` before interpreting a missing rating.

Call `nearby_places` with latitude and longitude, then optionally set `radius_m`, numeric Foursquare category IDs, and a result limit. Results are sorted by distance and include core place, address, contact, and website fields.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFoursquare AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/foursquare?style=directory)](https://allmcps.com/mcp/foursquare)
HTML Embed
<a href="https://allmcps.com/mcp/foursquare"><img src="https://allmcps.com/api/badge/foursquare?style=directory" alt="Foursquare on AllMCPs" /></a>