Access Strava fitness activities
## Strava MCP Server: Athletic Performance Platform The **Strava MCP Server** integrates Strava athletic tracking into Google Antigravity, enabling AI-assisted activity analysis, performance tracking, and social fitness features for athletes. ### Why Strava MCP? - **Activity Recording**: Track running, cycling, swimming, and 30+ sport types - **Segment Analysis**: Compare performance on segments with other athletes - **Social Network**: Connect with athletes and share activities - **Training Log**: Comprehensive training history and progress tracking - **Route Discovery**: Find popular routes in any location worldwide ### Key Features #### 1. Activity Upload ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Show my recent activities with distance, pace, and elevation gain" }] ) ``` #### 2. Segment Analysis ```python # Analyze segments response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Show my segment times and ranking on favorite climbing segments" }] ) ``` #### 3. Training Progress ```python # Track training response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Show my weekly mileage trends and year-to-date statistics" }] ) ``` #### 4. Route Finding ```python # Find routes response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Find popular cycling routes near me with moderate climbing" }] ) ``` ### Configuration ```json { "mcpServers": { "strava": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-strava"], "env": { "STRAVA_CLIENT_ID": "your-client-id", "STRAVA_CLIENT_SECRET": "your-client-secret" } } } } ``` ### Use Cases **Training Analysis**: Track and analyze athletic training progress. **Competitive Tracking**: Compare segment times with other athletes. **Route Planning**: Discover and plan new training routes. **Social Fitness**: Share activities and connect with athletic community. The Strava MCP Server brings athletic performance tracking into your workflow.
{
"mcpServers": {
"strava": {
"mcpServers": {
"strava": {
"env": {
"STRAVA_CLIENT_ID": "YOUR_CLIENT_ID",
"STRAVA_CLIENT_SECRET": "YOUR_SECRET"
},
"args": [
"-y",
"strava-mcp-server"
],
"command": "npx"
}
}
}
}
}