mcp-foursquare

mcp-foursquare

Enables place search and discovery via the Foursquare Places API v3, allowing AI assistants to find venues, search near locations, look up place details, and get location context.

Category
Visit Server

README

mcp-foursquare

MCP server for Foursquare place search and discovery. Lets your AI assistant find venues, search for places near a location, look up place details, and get location context — all through the Foursquare Places API v3.

Status: Ready


Prerequisites


Install

git clone git@github.com:McCullonas/mcp-foursquare.git
cd mcp-foursquare
bun install

Configuration

The server requires one environment variable:

Variable Required Description
FOURSQUARE_SERVICE_TOKEN Yes Foursquare v3 API token from your developer dashboard

Get your API key at location.foursquare.com/developer. Free tier includes 1,000 calls/day.


Available Tools

search_near

Search for places near a named location (city, neighbourhood, landmark).

Parameters:

  • query — What to search for (e.g. "coffee", "museum")
  • near — Named location (e.g. "Edinburgh, UK", "Soho, London")
  • categories (optional) — Foursquare category IDs to filter by
  • limit (optional) — Max results (default 10)

search_near_point

Search for places near a specific latitude/longitude coordinate.

Parameters:

  • query — What to search for
  • ll — Coordinates as "lat,lng" (e.g. "51.5074,-0.1278")
  • radius (optional) — Search radius in metres
  • limit (optional) — Max results

place_snap

Get the most likely place at a given location — useful for geotagging.

Parameters:

  • ll — Coordinates as "lat,lng"
  • accuracy (optional) — GPS accuracy in metres

place_details

Get comprehensive details about a specific place by its Foursquare ID.

Returns: description, phone, website, hours, rating, price level, menu link, photos, tips.

Parameters:

  • fsq_id — Foursquare place ID (from a search result)

get_location

Get an approximate location based on the user's IP address (via ip-api.com). Useful as a starting point when no explicit location is provided.

No parameters required.


MCP Client Configuration

Add to your settings.json (or claude_desktop_config.json):

{
  "mcpServers": {
    "foursquare": {
      "command": "bun",
      "args": ["run", "/path/to/mcp-foursquare/src/index.ts"],
      "env": {
        "FOURSQUARE_SERVICE_TOKEN": "your-token-here"
      }
    }
  }
}

Replace /path/to/mcp-foursquare with the absolute path to your clone.


Development

# Run directly
bun run src/index.ts

# Build (outputs to dist/)
bun build src/index.ts --outdir dist --target node

Licence

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured