Skip to main content
Glama
KerkhofMe
by KerkhofMe

get_athlete

Retrieve your Strava athlete profile to access personal statistics, training metrics, and performance data for fitness analysis.

Instructions

Get the profile of the authenticated Strava athlete

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'get_athlete' tool. It calls the Strava API at the '/athlete' endpoint using the `stravaFetch` helper.
    async () => {
      const athlete = await stravaFetch("/athlete");
      return {
        content: [{ type: "text", text: JSON.stringify(athlete, null, 2) }],
      };
    }
  • src/index.ts:67-77 (registration)
    The registration of the 'get_athlete' tool on the MCP server.
    server.tool(
      "get_athlete",
      "Get the profile of the authenticated Strava athlete",
      {},
      async () => {
        const athlete = await stravaFetch("/athlete");
        return {
          content: [{ type: "text", text: JSON.stringify(athlete, 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