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

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

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

---

To give your team Strava in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Strava integration in a Metorial portal, and each person signs in to Strava with their own account. Agents can track, create, and manage athletic activities including running, cycling, and swimming. The integration has 21 tools, 17 read-only and 4 write, plus 2 triggers.

**What you will learn**

- How an admin shares Strava in a portal and how each person connects
- The 7 OAuth scopes Strava can request, and what each one allows
- 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 Strava 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 method

| Method | Type | What a person provides |
| --- | --- | --- |
| **OAuth** | OAuth | Signs in to Strava |

### OAuth

People sign in to Strava and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `read` | Read Public Data | Read public segments, public routes, public profile data, public posts, public events, club feeds, and leaderboards |
| `read_all` | Read All Private Data | Read private routes, private segments, and private events for the user |
| `profile:read_all` | Read Full Profile | Read all profile information even if the user has set their profile visibility to Followers or Only You |
| `profile:write` | Write Profile | Update the user's weight and FTP, and star/unstar segments on their behalf |
| `activity:read` | Read Activities | Read activity data for activities visible to Everyone and Followers, excluding privacy zone data |
| `activity:read_all` | Read All Activities | Read all activity data including privacy zone data and Only You activities |
| `activity:write` | Write Activities | Create manual activities and uploads, edit activities visible to the app |

## Use your own Strava OAuth app

With your own OAuth app, people see your company's name on the Strava 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 Strava and copy the **Redirect URI**.

2. **Register the app with Strava**

   Create an OAuth app or client in Strava 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 Strava integration.

## Admin: share Strava 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 Strava. For how members connect, choose **Each person connects**, so everyone signs in to Strava as themselves.

3. **Limit the tools**

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

4. **Choose who gets it**

   Add the access groups that should see Strava. 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 Strava integration. Once it exists, check which groups have it:

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

## Employee: connect Strava

### In the portal

1. **Open Strava in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A Strava 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 strava
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Strava 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 strava
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 `get_club` and `get_gear`, and lose the 4 write tools, such as `star_segment` or `update_athlete`.

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 strava
metorial tools <integration-id>
metorial call <integration-id> list_clubs -d '{}'
```

`metorial tools` lists the 21 tools, minus any you rejected. `list_clubs` takes no input. It lists clubs the authenticated athlete is a member of.

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

## Tools

### Read-only tools (17)

- `get_segment_efforts`: List the authenticated athlete's efforts on a given segment, optionally filtered by date range. Needs `segmentId`.
- `list_routes`: List the authenticated athlete's routes with pagination.
- `list_activities`: List the authenticated athlete's activities.
- `list_clubs`: List clubs the authenticated athlete is a member of.
- `explore_segments`: Search for popular segments within a geographic bounding box. Needs `bounds`.
- `get_athlete_profile`: Retrieve the authenticated athlete's full profile, including the profile data visible to the connection, training zones (heart rate and power), and aggregate statistics across sport types (ride, run, swim).
- `get_activity`: Retrieve detailed information about a specific activity, including metrics, segment efforts, laps, comments, and kudos. Needs `activityId`.
- `get_gear`: Retrieve details about a piece of gear (shoes, bike, etc.) by its identifier. Needs `gearId`.
- `get_club`: Retrieve details about a specific club, optionally including its members, recent activities, and administrators. Needs `clubId`.
- `get_segment`: Retrieve detailed information about a specific segment including its location, distance, elevation, climb category, and athlete-specific data such as personal records and star status. Needs `segmentId`.
- `get_route`: DEPRECATED — use `get_route_details` instead. Needs `routeId`.
- `get_activity_streams`: Retrieve raw data streams for an activity. Needs `activityId` and `streamTypes`.
- `get_route_details`: Retrieve a route and optionally its streams or prepare a downloadable GPX or TCX export.
- `list_activity_comments`: Read one page of activity comments.
- `get_segment_streams`: Retrieve a segment’s coordinate, distance, and altitude streams.
- `get_segment_effort`: Retrieve an authenticated athlete’s segment effort and optionally its raw streams.
- `list_starred_segments`: Discover the authenticated athlete’s starred segments.

### Write tools (4)

- `update_athlete`: Update the authenticated athlete's weight. Needs `weight`.
- `update_activity`: Update an existing activity's metadata such as name, description, sport type, gear assignment, and flags. Needs `activityId`.
- `create_activity`: Create a new manual activity on Strava. Needs `name`, `sportType`, `startDateLocal` and `elapsedTime`.
- `star_segment`: Star or unstar a segment for the authenticated athlete. Needs `segmentId` and `starred`.

## Triggers

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

- `inbound_webhook`
- `activity_events`: Triggers when activities are created, updated, or deleted.

## 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 Strava 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
- [Strava on metorial.com](https://metorial.com/integrations/strava): the integration overview