Skip to main content
Glama
juanlarreapm

Strava MCP Server

by juanlarreapm

Strava MCP Server

A Model Context Protocol (MCP) server that integrates with the Strava API, allowing AI assistants to access your Strava fitness data.

Features

  • Fetch athlete profile and statistics

  • List and query activities

  • Access segment data and efforts

  • Explore segments by geographic area

  • View starred segments

Related MCP server: Strava MCP Server

Prerequisites

  • Node.js 18 or higher

  • A Strava account

  • Strava API credentials (Client ID and Client Secret)

Installation

  1. Clone this repository:

git clone https://github.com/juanlarreapm/strava-mcp-server.git
cd strava-mcp-server
  1. Install dependencies:

npm install
  1. Build the project:

npm run build

Strava API Setup

Before using this server, you need to create a Strava API application:

  1. Go to https://www.strava.com/settings/api

  2. Create a new application

  3. Set the Authorization Callback Domain to localhost

  4. Note your Client ID and Client Secret

Getting OAuth Tokens

Run the authentication setup script to obtain your access tokens:

node setup-auth.cjs

This will:

  1. Prompt you for your Client ID and Client Secret

  2. Open a browser for Strava authorization

  3. Display your access token, refresh token, and other credentials

Keep these credentials secure - you'll need them to configure the MCP server.

Configuration

The server requires the following environment variables:

  • STRAVA_ACCESS_TOKEN - Your Strava access token (required)

  • STRAVA_REFRESH_TOKEN - Your refresh token (optional, for token renewal)

  • STRAVA_CLIENT_ID - Your Strava application Client ID (optional)

  • STRAVA_CLIENT_SECRET - Your Strava application Client Secret (optional)

For Claude Desktop

Add this to your Claude Desktop MCP settings file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "strava": {
      "command": "node",
      "args": ["/path/to/strava-mcp-server/dist/index.js"],
      "env": {
        "STRAVA_ACCESS_TOKEN": "your_access_token_here",
        "STRAVA_REFRESH_TOKEN": "your_refresh_token_here",
        "STRAVA_CLIENT_ID": "your_client_id_here",
        "STRAVA_CLIENT_SECRET": "your_client_secret_here"
      }
    }
  }
}

For Other MCP Clients

Create a .env file in the project root (see .env.example):

STRAVA_ACCESS_TOKEN=your_access_token_here
STRAVA_REFRESH_TOKEN=your_refresh_token_here
STRAVA_CLIENT_ID=your_client_id_here
STRAVA_CLIENT_SECRET=your_client_secret_here

Available Tools

The server exposes the following tools:

get_athlete_profile

Get the authenticated athlete's profile information.

get_athlete_stats

Get detailed statistics including totals and recent activity counts.

list_activities

List recent activities with optional pagination and time filtering.

Parameters:

  • before (number): Unix timestamp to get activities before this time

  • after (number): Unix timestamp to get activities after this time

  • page (number): Page number (default: 1)

  • per_page (number): Items per page (default: 30, max: 200)

get_activity

Get detailed information about a specific activity.

Parameters:

  • id (string, required): The activity ID

  • include_all_efforts (boolean): Include all segment efforts

get_segment

Get information about a specific segment.

Parameters:

  • id (string, required): The segment ID

list_starred_segments

List segments starred by the athlete.

Parameters:

  • page (number): Page number

  • per_page (number): Items per page

explore_segments

Explore segments in a geographic area.

Parameters:

  • bounds (string, required): Coordinates as sw_lat,sw_lng,ne_lat,ne_lng

  • activity_type (string): Either running or riding

  • min_cat (number): Minimum climb category (0-5)

  • max_cat (number): Maximum climb category (0-5)

get_segment_efforts

Get efforts on a specific segment.

Parameters:

  • segment_id (string, required): The segment ID

  • start_date_local (string): ISO 8601 formatted start date

  • end_date_local (string): ISO 8601 formatted end date

  • per_page (number): Items per page

Development

Build

npm run build

Watch mode

npm run watch

Run locally

npm start

Token Expiration

Strava access tokens expire after 6 hours. To handle token refresh:

  1. Store your refresh token securely

  2. Implement token refresh logic using the Strava OAuth token endpoint

  3. Or run setup-auth.cjs again to get fresh tokens

Rate Limits

Strava API has rate limits:

  • 100 requests per 15 minutes

  • 1000 requests per day

Plan your usage accordingly.

Troubleshooting

"STRAVA_ACCESS_TOKEN environment variable is required"

Make sure you've set the access token in your MCP configuration or environment variables.

"Strava API error: 401"

Your access token may have expired. Run setup-auth.cjs to get a new token.

"Authorization Callback Domain" error

Ensure you've set the callback domain to localhost in your Strava API settings.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see LICENSE file for details

Resources

Available Tools

8 tools
explore_segmentsC

Explore segments in a given area. Returns the top 10 segments matching the search criteria.

ParametersJSON Schema
NameRequiredDescriptionDefault
boundsYesComma-separated string of coordinates: sw_lat,sw_lng,ne_lat,ne_lng (e.g., '37.7,-122.5,37.8,-122.4')
activity_typeNoActivity type: 'running' or 'riding'
min_catNoMinimum climb category (0-5)
max_catNoMaximum climb category (0-5)

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden but provides minimal behavioral details. It mentions returning 'top 10 segments' (useful context on result limit) but doesn't disclose other traits like rate limits, authentication needs, error handling, or what 'top' means (e.g., by popularity, difficulty). This is inadequate for a search tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with two sentences that efficiently state purpose and result limit. It's front-loaded with the main action. However, it could be slightly more structured by explicitly mentioning the search criteria, but overall it's well-sized with minimal waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description is incomplete. It lacks details on return format (e.g., what data fields segments include), error cases, or behavioral constraints. For a search tool with 4 parameters, this leaves significant gaps in understanding how to effectively use it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents all parameters (bounds, activity_type, min_cat, max_cat). The description adds no additional meaning beyond implying search criteria, which is already covered by the schema. Baseline 3 is appropriate as the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('explore segments') and resource ('in a given area'), specifying it returns top 10 matching segments. It distinguishes from siblings like 'get_segment' (single segment) and 'list_starred_segments' (user-specific), though not explicitly. However, it doesn't fully differentiate from 'get_segment_efforts' which might involve segments, making it a 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives is provided. It doesn't mention when to prefer 'explore_segments' over 'get_segment' for multiple segments or 'list_starred_segments' for user-specific ones. The description implies search functionality but lacks explicit usage context or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_activityC

Get detailed information about a specific activity by ID

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesThe activity ID
include_all_effortsNoInclude all segment efforts (default: false)

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool retrieves 'detailed information,' but doesn't specify what that includes, whether it's read-only, requires authentication, has rate limits, or what the output format might be. For a tool with zero annotation coverage, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose without any wasted words. It directly communicates the tool's function and key constraint, making it easy to parse and understand quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (retrieving detailed activity data) and the lack of annotations and output schema, the description is incomplete. It doesn't explain what 'detailed information' entails, potential error conditions, or behavioral traits like safety or performance. For a tool with no structured output documentation, this leaves critical gaps for an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, clearly documenting both parameters ('id' and 'include_all_efforts'). The description adds no additional semantic context beyond implying the 'id' parameter is required. Since the schema does the heavy lifting, the baseline score of 3 is appropriate, as the description doesn't compensate with extra insights.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Get detailed information about a specific activity by ID.' It specifies the verb ('Get'), resource ('activity'), and key constraint ('by ID'), making it easy to understand what the tool does. However, it doesn't explicitly differentiate from sibling tools like 'list_activities' or 'get_segment_efforts,' which prevents a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'list_activities' for browsing activities or 'get_segment_efforts' for activity-related data, nor does it specify prerequisites or exclusions. This lack of context leaves the agent to infer usage scenarios independently.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_athlete_profileB

Get the authenticated athlete's profile information including name, stats, and preferences

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool retrieves profile information but doesn't mention authentication requirements, rate limits, error conditions, or response format. This is a significant gap for a tool that likely involves user data access.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose. It avoids redundancy and waste, though it could be slightly more structured by separating key points (e.g., authentication context).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description is incomplete for a tool that retrieves user profile data. It lacks details on authentication, response structure, error handling, and how it differs from sibling tools, making it inadequate for safe and effective use by an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters with 100% schema description coverage, so the schema fully documents the lack of inputs. The description doesn't need to add parameter details, and it appropriately avoids unnecessary information, earning a baseline score of 4 for zero-parameter tools.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Get') and resource ('authenticated athlete's profile information'), including what information is retrieved (name, stats, preferences). It distinguishes from siblings like 'get_athlete_stats' by focusing on profile rather than stats alone, though it doesn't explicitly mention this distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'get_athlete_stats' or 'list_activities'. It implies usage for retrieving profile data but lacks explicit context, prerequisites, or exclusions, leaving the agent to infer appropriate scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_athlete_statsB

Get detailed statistics for the authenticated athlete including totals and recent activity counts

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden but offers minimal behavioral insight. It mentions authentication context but doesn't disclose rate limits, error conditions, data freshness, or whether this is a read-only operation. The description doesn't contradict annotations, but fails to provide adequate behavioral context for a tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that communicates the core purpose without unnecessary words. It's appropriately sized for a zero-parameter tool and front-loads the essential information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter tool with no output schema, the description provides basic purpose but lacks important context. It doesn't explain what specific statistics are returned, their format, or how 'recent activity counts' are defined. Without annotations or output schema, more detail about the return data would be helpful for agent understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters with 100% schema description coverage, so the baseline is 4. The description appropriately doesn't discuss parameters since none exist, and the schema already documents this completely.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Get') and resource ('detailed statistics for the authenticated athlete'), including what data is returned ('totals and recent activity counts'). It distinguishes from siblings like 'get_athlete_profile' by focusing on statistics rather than profile information, but doesn't explicitly mention all sibling differences.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context through 'authenticated athlete,' suggesting it's for the current user's data. However, it provides no explicit guidance on when to use this versus alternatives like 'get_activity' or 'list_activities' for activity-specific stats, nor any prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_segmentC

Get detailed information about a specific segment by ID

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesThe segment ID

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. While 'Get detailed information' implies a read-only operation, it doesn't address important behavioral aspects like authentication requirements, rate limits, error conditions, or what format the 'detailed information' will be returned in. The description provides minimal behavioral context beyond the basic operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is perfectly concise - a single sentence that directly states what the tool does without any unnecessary words. It's front-loaded with the core purpose and wastes no space on redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations and no output schema, the description is insufficiently complete. It doesn't explain what 'detailed information' includes, doesn't address authentication or rate limiting concerns, and provides no guidance on error handling. Given the lack of structured metadata, the description should provide more context about the tool's behavior and output.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100% with the single parameter 'id' clearly documented as 'The segment ID'. The description adds no additional parameter semantics beyond what's already in the schema. This meets the baseline expectation when schema coverage is complete.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Get detailed information') and target resource ('about a specific segment by ID'), making the purpose immediately understandable. However, it doesn't differentiate this tool from potential sibling tools like 'get_segment_efforts' or 'explore_segments', which might also retrieve segment-related information.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'get_segment_efforts' or 'explore_segments'. It mentions retrieving 'detailed information' but doesn't specify what type of information or context would make this the appropriate choice over other segment-related tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_segment_effortsC

Get efforts on a specific segment

ParametersJSON Schema
NameRequiredDescriptionDefault
segment_idYesThe segment ID
start_date_localNoISO 8601 formatted date time (e.g., '2024-01-01T00:00:00Z')
end_date_localNoISO 8601 formatted date time (e.g., '2024-12-31T23:59:59Z')
per_pageNoNumber of items per page (default: 30, max: 200)

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. 'Get efforts' suggests a read operation, but the description doesn't specify what 'efforts' are (athlete attempts? performance metrics?), whether this requires authentication, what format the results come in, or if there are rate limits. For a tool with 4 parameters and no annotations, this is inadequate behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise - just 5 words. While this is efficient, it borders on under-specification rather than optimal conciseness. The single sentence is front-loaded with the core purpose, but could benefit from additional context. It earns points for zero waste but loses one point for being too minimal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 4 parameters, no annotations, and no output schema, the description is incomplete. The agent needs to understand what 'efforts' are, what data structure is returned, whether this requires athlete authentication, and how this differs from related tools. The current description provides only the most basic purpose statement without addressing these contextual needs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, so all parameters are documented in the schema itself. The description adds no additional parameter semantics beyond what's already in the schema - it doesn't explain what 'efforts' are or how the date filtering works. With complete schema coverage, the baseline of 3 is appropriate as the description doesn't add value but doesn't need to compensate for gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get efforts on a specific segment' clearly states the verb ('Get') and resource ('efforts on a specific segment'), making the basic purpose understandable. However, it doesn't differentiate from sibling tools like 'get_segment' or 'explore_segments' - it's unclear what 'efforts' means compared to just getting segment data. The purpose is clear but lacks sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. There's no mention of when this is appropriate versus using 'get_segment' for segment metadata, 'list_activities' for broader activity data, or 'explore_segments' for discovering segments. The agent receives no contextual guidance about appropriate use cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_activitiesB

List the authenticated athlete's activities. Returns up to 30 activities by default.

ParametersJSON Schema
NameRequiredDescriptionDefault
beforeNoUnix timestamp to get activities before this time
afterNoUnix timestamp to get activities after this time
pageNoPage number (default: 1)
per_pageNoNumber of items per page (default: 30, max: 200)

TDQS

B3.3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses key behavioral traits: it returns up to 30 activities by default (implying pagination and limits) and specifies it's for the authenticated athlete (implying auth needs). However, it doesn't cover rate limits, error conditions, or what 'activities' entail (e.g., types, fields). The description adds value but lacks comprehensive behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded, consisting of two concise sentences that directly state the purpose and key constraint (default limit). Every sentence earns its place by providing essential information without waste, making it efficient and easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (list operation with 4 optional parameters), no annotations, and no output schema, the description is partially complete. It covers the core action and default behavior but lacks details on output format, error handling, or full usage context. It's adequate as a minimum viable description but has clear gaps for a tool without structured support.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents all 4 parameters. The description adds no parameter-specific semantics beyond implying pagination via 'Returns up to 30 activities by default,' which aligns with 'per_page' default but doesn't provide additional meaning. With high schema coverage, the baseline is 3, and the description doesn't compensate further.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('List') and resource ('the authenticated athlete's activities'), making the purpose specific and understandable. It distinguishes from siblings like 'get_activity' (singular) and 'explore_segments' (different resource), though it doesn't explicitly contrast them. The description is not tautological and provides meaningful context beyond the tool name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., authentication), compare with siblings like 'get_athlete_stats' for aggregated data, or specify scenarios where this tool is preferred. Usage is implied by the action but lacks explicit context or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_starred_segmentsB

List segments starred by the authenticated athlete

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (default: 1)
per_pageNoNumber of items per page (default: 30, max: 200)

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions 'authenticated athlete' which implies authentication is needed, but doesn't specify permission requirements, rate limits, pagination behavior (beyond what's in the schema), or what the output looks like. For a list operation with zero annotation coverage, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that states the core purpose without any wasted words. It's front-loaded with the essential information and appropriately sized for a simple list operation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple list tool with 2 documented parameters and no output schema, the description is minimally adequate. However, it lacks important context about authentication specifics, output format, and how this differs from sibling tools. With no annotations and no output schema, the description should provide more behavioral guidance to be truly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents both parameters (page and per_page). The description adds no additional parameter information beyond what the schema provides, which is acceptable given the high schema coverage. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('List') and resource ('segments starred by the authenticated athlete'), making the purpose immediately understandable. It distinguishes this from general segment tools by specifying 'starred' and 'by the authenticated athlete', though it doesn't explicitly differentiate from all sibling tools like 'explore_segments' or 'get_segment'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'explore_segments' or 'get_segment'. It lacks context about prerequisites (e.g., authentication requirements) or typical use cases, leaving the agent to infer usage from the purpose alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 8 tool updatesv1.0.0
    • First observedexplore_segments
    • First observedget_activity
    • First observedget_athlete_profile
    • First observedget_athlete_stats
    • First observedget_segment
    • First observedget_segment_efforts
    • First observedlist_activities
    • First observedlist_starred_segments

TDQS

B3.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose targeting specific resources and actions in the Strava domain. For example, get_activity retrieves a single activity by ID, while list_activities lists multiple activities; explore_segments searches segments by area, while get_segment gets a specific segment by ID. There is no overlap or ambiguity in functionality.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case, such as get_activity, list_activities, explore_segments, and get_segment_efforts. This uniformity makes the tool set predictable and easy to understand for agents.

Tool Count5/5

With 8 tools, the server is well-scoped for interacting with Strava's API, covering athlete profiles, activities, and segments without being overwhelming. Each tool serves a distinct and necessary function, such as retrieving data or listing resources, making the count appropriate for the domain.

Completeness4/5

The tool set provides strong coverage for reading athlete data, activities, and segments, including CRUD-like operations like get and list. However, there are minor gaps, such as no tools for creating or updating activities or segments, which might limit full lifecycle management but are not critical for common query-focused workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables users to interact with their Strava data through natural language to analyze workouts, track fitness progress, and explore routes. It supports retrieving detailed activity stats, heart rate data, and segment insights directly within AI assistants.
    26
    445
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Connects Claude to the Strava API to provide direct access to fitness data, including athlete statistics, detailed activity logs, and time-series performance metrics. It enables users to analyze training progress, compare workouts, and retrieve specific segment details through natural language queries.
    8
    61
    ISC

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/juanlarreapm/strava-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server