
nissand/whoop-mcp-server-claude
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
모형 WHOOP API 통합을 위한 Context 의정서 서버. 전체 OAuth 인증 및 18 + API 엔드포인트와 Claude 데스크톱에 대한 WHOOP 피트니스 데이터를 연결합니다.
개요
모든 WHOOP API 엔드포인트에 대한 액세스를 제공하는 모델 Context Protocol (MCP) 서버. 이 서버는 WHOOP 피트니스 및 건강 데이터를 MCP 표준을 통해 응용 프로그램에 통합 할 수 있습니다. - : 모든 WHOOP v2 API 엔드 포인트에 대한 액세스 - : 보안 인증 흐름 - : 프로필 정보 및 신체 측정 - : 변형 및 심박수 미터가있는 생리주기 데이터 - : 복구 점수, HRV 및 휴식 심박수 데이터 - : 단계 및 성능 미터를 포함한 상세한 수면 분석 - : 변형, 심박수 영역 및 활동 미터와 함께 운동 데이터 - : pagination과 큰 데이터 세트를 처리 - : 전체 유형 안전 및 IntelliSense 지원 - Node.js 18+ - WHOOP 개발자 계정 - WHOOP API 자격 증명 1. WHOOP Developer Platform 2. 새로운 응용 프로그램을 만들기 3. 클라이언트 ID 및 클라이언트 비밀 4. 리디렉션 URI 설정 (예 : [T0]] 예를 들어 환경 파일을 복사하고 WHOOP 자격 구성 : 편집 .
개요(AI 번역)
모든 WHOOP API 엔드포인트에 대한 액세스를 제공하는 모델 Context Protocol (MCP) 서버. 이 서버는 WHOOP 피트니스 및 건강 데이터를 MCP 표준을 통해 응용 프로그램에 통합 할 수 있습니다.
특징
- 완전 WHOOP API 적용: 모든 WHOOP v2 API 엔드포인트에 액세스
- OAuth 2.0 인증: 보안 인증 흐름
- User Data: 프로필 정보 및 신체 측정
- Cycles: 변형 및 심박수 측정을 가진 생리 주기 자료
- Recovery: 복구 점수, HRV 및 휴식 심박수 데이터
- Sleep: 단계 및 성능 지표를 포함한 상세한 수면 분석
- ** 운동 **: 스트레인, 심박수 영역, 활동 메트릭과 함께 운동 데이터
- Pagination Support: 큰 datasets를 pagination로 처리
- TypeScript: 전체 유형 안전 및 IntelliSense 지원
필수품
- 노드.js 18+
- WHOOP 개발자 계정
- WHOOP API 자격
설치
##1. 종속 설치
##2. WHOOP API 설정
- WHOOP 개발자 플랫폼으로 이동
- 새 신청서 작성
Client ID및Client Secret를 참고하십시오.- 리디렉션 URI (예,
http://localhost:3000/callback)
##3. 환경 구성
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
WHOOP MCP Server
A Model Context Protocol (MCP) server that provides access to all WHOOP API endpoints. This server allows you to integrate WHOOP fitness and health data into your applications through the MCP standard.
Features
- Complete WHOOP API Coverage: Access to all WHOOP v2 API endpoints
- OAuth 2.0 Authentication: Secure authentication flow
- User Data: Profile information and body measurements
- Cycles: Physiological cycle data with strain and heart rate metrics
- Recovery: Recovery scores, HRV, and resting heart rate data
- Sleep: Detailed sleep analysis including stages and performance metrics
- Workouts: Exercise data with strain, heart rate zones, and activity metrics
- Pagination Support: Handle large datasets with pagination
- TypeScript: Full type safety and IntelliSense support
Prerequisites
- Node.js 18+
- WHOOP Developer Account
- WHOOP API credentials
Setup
1. Install Dependencies
npm install
2. WHOOP API Setup
- Go to the WHOOP Developer Platform
- Create a new application
- Note your
Client IDandClient Secret - Set your redirect URI (e.g.,
http://localhost:3000/callback)
3. Environment Configuration
Copy the example environment file and configure your WHOOP credentials:
cp env.example .env
Edit .env with your WHOOP API credentials:
# WHOOP API Configuration
WHOOP_CLIENT_ID=your_client_id_here
WHOOP_CLIENT_SECRET=your_client_secret_here
WHOOP_REDIRECT_URI=http://localhost:3000/callback
# MCP Server Configuration
MCP_SERVER_PORT=3001
4. Build and Run
# Build the project
npm run build
# Run the MCP server
npm start
# Or run in development mode
npm run dev
Authentication Flow
The MCP server supports OAuth 2.0 authentication with WHOOP. Here’s how to authenticate:
- Get Authorization URL: Use the
whoop-get-authorization-urltool to get the OAuth URL - User Authorization: Direct users to the authorization URL
- Copy Authorization Code: When WHOOP redirects you back, copy the authorization code from the URL
- Share Code with Claude: IMPORTANT - You must copy and paste the authorization code directly to Claude in the chat
- Exchange Code: Claude will use the
whoop-exchange-code-for-tokentool with the authorization code - Set Access Token: Claude will use the
whoop-set-access-tokentool to set the access token for API calls
⚠️ Important Note About Authorization Codes
When you complete the WHOOP authorization in your browser, you’ll be redirected to a URL that contains an authorization code. You must copy this code and paste it directly into your chat with Claude. The code will look something like this in the URL:
http://localhost:3000/callback?code=ABC123XYZ789&scope=read:recovery%20read:cycles...
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →