Skip to main content
Glama
KerkhofMe
by KerkhofMe

get_starred_segments

Retrieve your starred Strava segments to access favorite routes and performance benchmarks for training analysis.

Instructions

Get the authenticated athlete's starred segments

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the get_starred_segments tool, which uses the stravaFetch helper to retrieve the athlete's starred segments from the Strava API.
    server.tool(
      "get_starred_segments",
      "Get the authenticated athlete's starred segments",
      {},
      async () => {
        const segments = await stravaFetch("/segments/starred");
        return {
          content: [{ type: "text", text: JSON.stringify(segments, null, 2) }],
        };
      }
    );

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/KerkhofMe/StravaMCP'

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