# Connect Foursquare to Your AI Agent (Universal MCP)

> Use your AI to analyze data, query data, and create reports in Foursquare — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http foursquare https://api.universalmcp.app/mcp/foursquare`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/foursquare` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "foursquare", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Foursquare | Category: Other B2B Software (Foursquare) | Auth: Encrypted API key or guided local/on-prem setup | Deployment: hybrid
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across POI and visit data, Audience segment drafts, Campaign activation; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=foursquare | Guide: https://universalmcp.app/mcp/foursquare
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (35 actions: 20 Read, 15 Write)
Perform over 30 actions across spatial analysis & maps, place search & discovery, place matching & data quality, check-ins & device location, developer platform & data, foot traffic & visits, and audiences & proximity. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Spatial Analysis & Maps (8):** Query H3 Indexed Datasets (read), View Large Point Datasets (read), Build Kepler Map Visualization (write), Create Spatial SQL Workbook (write), Embed Studio Map (write), Publish Spatial Story (write), Start Bulk Pipeline Task (write), Upload Geospatial Dataset (write)
- **Place Search & Discovery (5):** Autocomplete Places And Addresses (read), Find Nearby Places (read), Get Place Details (read), Recommend Places By Query (read), Search Places (read)
- **Place Matching & Data Quality (5):** Audit Place Data Quality (read), Export Open Source Places Data (read), Review Place Match Results (read), Match Transaction Strings (write), Submit Place Match Batch (write)
- **Check-ins & Device Location (4):** Check Store Visit (read), Track Device Location Events (read), Deliver Contextual Content (write), Log Place Check In (write)
- **Developer Platform & Data (4):** Browse Geospatial Data Catalog (read), Check API Status (read), Create Developer API Key (write), Submit Test API Request (write)
- **Foot Traffic & Visits (3):** Analyze Foot Traffic Trends (read), Compare Locations For Site Selection (read), Pull Location Visit Counts (read)
- **Audiences & Proximity (3):** Activate Audience Across Channels (write), Build Audience Segment (write), Create Custom Geofence (write)
- **Attribution & Measurement (3):** Compare Campaign Store Lift (read), Measure Ad Foot Traffic Lift (read), Pull Media Plan Attribution (read)

## Example Prompts for Foursquare
- **Trade area scan:** "In Foursquare, list all POIs within 1 mile of the Maple Yard site grouped by category with visit counts."
- **Competitor visits:** "Using Foursquare, compare weekday versus weekend foot traffic for the top 5 grocery rivals near Cedar Ridge."
- **Audience segment size:** "In Foursquare, estimate how many unique visitors went to coffee shops in the Northwind trade area last month."
- **Draft campaign audience:** "In Foursquare, draft a geofence audience for the April promo and hold it for my sign-off before activating."
