other
Strava MCP, CLI, and Lua Integration for AI Agents
Strava integration docs for AI agents: MCP gateway setup, Strava CLI commands, Lua API reference, credentials, and function schemas.
6 functions 5 read 1 write Bearer token auth
Strava for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
strava- route_slug
strava- package
strava- auth_strategy
bearer_tokenBearer token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Strava CLIHeadless setup and direct function calls. Strava MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Strava MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Strava.
Claude Code Strava MCP setup for Claude Code. Cursor Strava MCP setup for Cursor. Codex Strava MCP setup for Codex. OpenAI Agents Strava MCP setup for OpenAI Agents SDK. Claude Agent SDK Strava MCP setup for Claude Agent SDK. Vercel AI SDK Strava MCP setup for Vercel AI SDK. LangChain Strava MCP setup for LangChain. LangGraph Strava MCP setup for LangGraph. CrewAI Strava MCP setup for CrewAI. MCP clients Strava MCP setup for Generic MCP Clients.
Strava CLI Matrix
Use these pages for direct Strava CLI workflows in scripts, CI, cron, and agent wrappers.
CI Strava CLI for CI. Cron Jobs Strava CLI for cron jobs. Shell Scripts Strava CLI for shell scripts. Headless Automation Strava CLI for headless automation. Coding Agents Strava CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
strava.strava_create_activity | Write write | 8 | Create a manual activity on Strava. Requires a name, activity type, start date, and elapsed time in seconds. |
strava.strava_get_activity | Read read | 1 | Get detailed information about a specific Strava activity, including distance, pace, elevation, and splits. |
strava.strava_get_athlete | Read read | 0 | Get the authenticated athlete's Strava profile — name, location, follower/following counts, and stats. |
strava.strava_get_current_user | Read read | 0 | Get the current authenticated user's Strava profile. This is an alias for strava_get_athlete — returns name, location, follower/following counts, and stats. |
strava.strava_list_activities | Read read | 4 | List recent activities for the authenticated Strava athlete. Supports pagination and date filtering with before/after Unix timestamps. |
strava.strava_list_clubs | Read read | 2 | List clubs the authenticated Strava athlete belongs to. Returns club names, member counts, and sport types. |