How to connect Strava to Claude Cowork

Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Strava logo
Claude Cowork logo
divider

Introduction

Cowork is Anthropic's AI agent for knowledge work. Think of it as Claude Code for everything else. It works autonomously with your computer, local files, and applications to accomplish complex tasks.

This guide walks you through the easiest and most secure way to connect your Strava account to Cowork via Composio Connect, enabling it to get your latest cycling activity stats, list all runs I logged this week, show your longest ride from last month, and more such actions on your behalf without compromising your account security.

Also integrate Strava with

Connecting Strava to Claude Cowork

1. Open Customize

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

2. Add the Composio MCP server

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

3. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Cowork

4. Connect your Strava account

Back in Cowork, ask the agent to connect to Strava or give it any Strava-related task.

For example, ask Cowork to:

  • "Get your latest cycling activity stats"
  • "List all runs I logged this week"
  • "Show your longest ride from last month"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Cowork, and your Strava account is ready to use.

What is Claude Cowork?

Claude Cowork is Anthropic's agent for general knowledge work. It can use your computer, files, and connected applications to complete longer-running tasks across your work tools.

With Composio Connect, Cowork can securely access apps like Strava through MCP without you sharing account credentials directly with the agent.

What is the Strava MCP server, and what's possible with it?

The Strava MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Strava account. It provides structured and secure access to your fitness data, so your agent can perform actions like fetching activities, analyzing stats, logging workouts, managing routes, and exploring your social fitness feed on your behalf.

  • Workout tracking and retrieval: Let your agent pull detailed records of your recent runs, rides, and other logged activities, complete with stats, maps, and performance data.
  • Fitness analytics and progress insights: Have your agent analyze your weekly or monthly trends, highlight PRs, and summarize progress toward your training goals.
  • Route exploration and management: Ask your agent to list, suggest, or organize your favorite routes and segments for upcoming workouts or challenges.
  • Social engagement automation: Enable your agent to fetch kudos, summarize comments, or surface activity highlights from friends and clubs in your Strava network.
  • Activity creation and editing: Allow your agent to log new activities, edit workout details, or update activity metadata for accurate record keeping.

Supported Tools & Triggers

Tools
Create an ActivityCreates a manual activity for an athlete.
Explore segmentsExplore segments within a geographic bounding box.
Export Route as GPXExports a Strava route as a GPX (GPS Exchange Format) file.
Export Route as TCXExports a Strava route as a TCX (Training Center XML) file.
Get ActivityRetrieves detailed information about a specific activity by its ID.
Get activity streamsRetrieves time-series stream data for a specific activity.
Get Activity ZonesReturns the heart rate and power zones of a given activity.
Get athlete statsReturns the activity stats of an athlete, including ride, run, and swim totals for recent (last 4 weeks), year-to-date, and all-time periods.
Get authenticated athleteRetrieves the profile of the currently authenticated Strava athlete.
Get ClubRetrieves detailed information about a specific Strava club by its ID.
Get equipmentRetrieves detailed information about a specific piece of gear/equipment.
Get routeRetrieve detailed information about a specific Strava route.
Get route streamsGet detailed stream data for a route.
Get segmentRetrieve detailed information about a specific Strava segment.
Get segment effortRetrieves detailed information about a specific segment effort by its unique ID.
Get segment effort streamsReturns stream data for a segment effort completed by the authenticated athlete.
Get segment streamsGet detailed stream data for a segment.
Get Upload StatusRetrieves the status of an upload by its ID.
Get zonesRetrieves the authenticated athlete's heart rate and power zones.
List activity commentsRetrieves comments on a specific Strava activity, sorted oldest first.
List activity kudoersReturns the athletes who kudoed an activity identified by an identifier.
List activity lapsRetrieves lap data for a specific Strava activity.
List athlete activitiesRetrieves a paginated list of activities for the authenticated athlete.
List athlete clubsRetrieves a paginated list of Strava clubs the authenticated athlete is a member of.
List athlete routesLists routes created by a specific athlete.
List club activitiesRetrieve recent activities from members of a specific club.
List club administratorsReturns a list of the administrators of a given Strava club.
List club membersReturns a list of the athletes who are members of a given club.
List segment effortsList the authenticated athlete's efforts on a given segment.
List starred segmentsReturns a list of the authenticated athlete's starred segments with summary details including segment name, distance, elevation, grade, and location.
Star segmentStars/Unstars the given segment for the authenticated athlete.
Update AthleteUpdate the currently authenticated athlete's profile.
Upload ActivityUploads a new activity file (FIT, TCX, or GPX) to create an activity on Strava.

How to build Strava MCP Agent with another framework

FAQ

What are the differences in Tool Router MCP and Strava MCP?

With a standalone Strava MCP server, the agents and LLMs can only access a fixed set of Strava tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Strava and many other apps based on the task at hand, all through a single MCP endpoint.

Can I use Tool Router MCP with Claude Cowork?

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Strava tools.

Can I manage the permissions and scopes for Strava while using Tool Router?

Yes, absolutely. You can configure which Strava scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Strava data and credentials are handled as safely as possible.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.