> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Foursquare in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/foursquare
Last updated: 2026-11-24

Share Foursquare with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key sign-in, 21 tools (17 read-only).

---

To give your team Foursquare in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Foursquare integration in a Metorial portal, and each person signs in to Foursquare with their own account. Agents can search and match Foursquare places, retrieve details, photos and tips, find geotagging candidates, confirm selections, and suggest place data changes. The integration has 21 tools, 17 read-only and 4 write, plus 2 triggers.

**What you will learn**

- How an admin shares Foursquare in a portal and how each person connects
- What Foursquare asks for when you connect, and where to find it
- How to keep the 17 read-only tools and reject the other 4

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Foursquare for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key** | API token | `apiKey` |
| **OAuth 2.0** (default) | OAuth | Signs in to Foursquare |

Also available: **Places Service API Key**.

The portal and `metorial setup` use **OAuth 2.0** unless someone picks another method.

### API Key

To connect, a person enters:

- `apiKey`: Foursquare API Key from the Developer Console

### OAuth 2.0

People sign in to Foursquare and approve the permissions it lists.

## Use your own Foursquare OAuth app

With your own OAuth app, people see your company's name on the Foursquare consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose Foursquare and copy the **Redirect URI**.

2. **Register the app with Foursquare**

   Create an OAuth app or client in Foursquare and add the redirect URI from Metorial as its redirect or callback URL.

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the Foursquare integration.

## Admin: share Foursquare in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Foursquare. Under **Auth Method**, keep **OAuth 2.0** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to Foursquare as themselves.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Foursquare.

4. **Choose who gets it**

   Add the access groups that should see Foursquare. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Foursquare integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search foursquare
```

## Employee: connect Foursquare

### In the portal

1. **Open Foursquare in the catalog**

   Sign in to your portal and open Foursquare. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A Foursquare sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search foursquare
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **OAuth 2.0**. To connect with **API Key** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your Foursquare connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list foursquare
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 17 read-only tools, such as `match_place` and `search_places`, and lose the 4 write tools, such as `suggest_new_place` or `submit_place_feedback`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list foursquare
metorial tools <integration-id>
metorial call <integration-id> search_places -d '{}'
```

`metorial tools` lists the 21 tools, minus any you rejected. `search_places` takes no input. 

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (17)

- `get_place_details`: DEPRECATED — use `get_place_details_current` instead. Needs `fsqId`.
- `find_nearby_places`: DEPRECATED — use `get_geotagging_candidates` instead. Needs `latitude` and `longitude`.
- `get_place_photos`: DEPRECATED — use `get_place_photos_current` instead. Needs `fsqId`.
- `search_places`: DEPRECATED — use `search_places_current` instead.
- `match_place`: DEPRECATED — use `match_place_current` instead. Needs `name`.
- `get_feedback_status`: DEPRECATED — use `get_suggestion_status` instead. Needs `feedbackId`.
- `autocomplete_places`: DEPRECATED — use `autocomplete_places_current` instead. Needs `query`.
- `get_place_tips`: DEPRECATED — use `get_place_tips_current` instead. Needs `fsqId`.
- `match_place_current`: Match a place name and address to a current Foursquare place.
- `get_geotagging_candidates`: Find candidates for tagging a device location.
- `get_place_details_current`: Retrieve the selected fields of a current Foursquare place, preserving all returned metadata.
- `get_suggestion_status`: Monitor current place edit suggestions by their IDs, or list suggestions made by the calling service key.
- `get_current_user`: Retrieve the signed-in Foursquare user profile through the V2 user API.
- `search_places_current`: Search current Foursquare Places by query, geographic area, category, chain, hours, and price.
- `autocomplete_places_current`: Get current place, search, and geographic suggestions as text is entered.
- `get_place_tips_current`: Retrieve current place tips with full provider metadata.
- `get_place_photos_current`: Retrieve current place photos with complete metadata, original image URLs, and downloadable images.

### Write tools (4)

- `submit_place_feedback`: DEPRECATED — use `suggest_place_changes` instead. Needs `fsqId` and `feedbackType`.
- `suggest_new_place`: Suggest a place missing from the current database.
- `confirm_geotagging_selection`: Report which candidate the user selected from a previous geotagging request.
- `suggest_place_changes`: Suggest edits, removal, merging duplicates, or incorrect fields for a current Foursquare place.

## Triggers

Foursquare has 2 triggers, which fire on events in Foursquare:

- `user_checkin`: Triggers when an authorized user checks in to a venue via Foursquare.
- `venue_event`: Triggers when content is added to a managed venue: check-ins, likes, tips, or photos.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Foursquare there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Foursquare on metorial.com](https://metorial.com/integrations/foursquare): the integration overview