
mariyafilippova/mcp-strava
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP Strava Server は、 Strava API と Claude for Desktop のシームレスな統合を実現します.
概要
Stravaとデスクトップ用のClaudeを統合したモデルコンテキストプロトコル(MCP)サーバーで、フィットネスアクティビティのAI搭載解析を可能にします。 - ◀ - Googleマップのリンク(APIキーは必要ありません)で往復ルートを提案 - ◀ - 近くの人気のあるStravaセグメントを発見し、それらを介してGoogleマップのループを取得する - 自動トークンリフレッシュと持続 - IDによる任意のアクティビティの詳細を取得するか、最近のアクティビティをブラウズ - 心拍数、ペース、高度、力、任意の活動のためのGPS - 毎周回距離、時間、速度、上昇、および心拍数 - 毎回 - 毎回、すべてのアクティビティを追跡する - 週ごとに、合計5キロ - 毎回、合計5キロ - 週、合計5キロ - 週、すべてのアクティビティを追跡 - 週 - 平均 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - 平均値 - Strava API の設定から資格情報を取得します。 JAR は、ビルド/libs/strava-mcp-server-2.1.0-all となります.
概要(AI 翻訳)
Stravaとデスクトップ用のClaudeを統合したモデルコンテキストプロトコル(MCP)サーバーで、フィットネスアクティビティのAI搭載解析を可能にします。
##特徴
- ◀ルート生成 - Googleマップのリンク(APIキーは必要ありません)で往復ルートを提案
- ◀Popular Routes - 近くの人気のあるStravaセグメントを発見し、それらを介してGoogleマップのループを取得する
- OAuth Authentication 自動トークンリフレッシュと永続 -Activity Analysis - IDによる任意のアクティビティの詳細を取得するか、最近のアクティビティを参照する
- データ ストリーム - 心拍数、ペース、高度、cadence、力、任意の活動のためのGPS
- ラップスプリット - ラップ距離、時間、速度、上昇、心拍数 -パーソナルベストの努力 - ペースとPRランキングで、ランニングのための最速400m、1k、1マイル、5k、10kなど -Paginated Search - 完全なペジネーションで日付範囲でアクティビティを見つける
- 歴史的比較 - 年を上回る比較
- 統計 - 全時間統計、週単位/月単位 -Filtering - アクティビティタイプ(Run, Ride, Swimなど)
利用可能なツール
| ツール | 概要 |
お問い合わせ
| [auth_strava | ストラヴァ(オープンブラウザ)で承認 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCP Strava Server
A Model Context Protocol (MCP) server that integrates Strava with Claude for Desktop, enabling AI-powered analysis of your fitness activities.
Features
- ⭐ Route Generation - suggest round-trip routes with a Google Maps link (no API key needed)
- ⭐ Popular Routes - discover popular Strava segments nearby and get a Google Maps loop through them
- OAuth Authentication with automatic token refresh and persistence
- Activity Analysis - get details on any activity by ID, or browse recent ones
- Data Streams - heart rate, pace, altitude, cadence, power, GPS for any activity
- Lap Splits - per-lap distance, time, speed, elevation, and heart rate
- Personal Best Efforts - fastest 400m, 1k, 1 mile, 5k, 10k, etc. for a run, with pace and PR ranking
- Paginated Search - find activities by date range with full pagination
- Historical Comparisons - compare months year-over-year
- Statistics - all-time stats, weekly/monthly summaries
- Filtering - by activity type (Run, Ride, Swim, etc.)
Available Tools
| Tool | Description |
|---|---|
auth_strava |
Authorize with Strava (opens browser) |
logout |
Clear stored tokens to switch accounts |
last_activity |
Get details of your most recent activity |
get_activity |
Fetch any activity by its ID |
recent_activities |
List last 10 activities |
search_activities |
Paginated search with optional date range (before/after epoch, page, per_page) |
athlete_stats |
All-time statistics (rides, runs, swims) |
activities_by_type |
Filter activities by sport type |
weekly_summary |
Summary of the past 7 days |
monthly_summary |
Summary of the past 30 days |
month_summary |
Summary for a specific month/year |
compare_months |
Compare two months (e.g., Jan 2025 vs Jan 2026) |
get_streams |
Heart rate data for last activity |
get_activity_streams |
Full data streams (HR, pace, altitude, cadence, power, GPS, etc.) for any activity |
get_laps |
Lap splits for any activity (distance, time, speed, elevation, HR) |
get_best_efforts |
Personal best efforts (400m, 1k, 1 mile, 5k, 10k, …) for a run, with pace and PR ranking |
suggest_route |
Generate a round-trip route and get a Google Maps link for navigation |
popular_routes |
Find popular Strava segments nearby and build a Google Maps route through them |
Setup
1. Clone the Repository
git clone https://github.com/MariyaFilippova/mcp-strava.git
cd mcp-strava
2. Configure Strava API Credentials
Get your credentials from Strava API settings.
Create/edit src/main/resources/.env:
CLIENT_ID="your-client-id"
CLIENT_SECRET="your-client-secret"
3. Build the Project
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"strava": {
"command": "java",
"args": [
"-jar",
"/absolute/path/to/mcp-strava/build/libs/strava-mcp-server-2.1.0-all.jar"
]
}
}
}