FitBit MCP Server

FitBit MCP Server

An MCP server that connects to FitBit API using a token obtained from OAuth flow.

6
Stars
3
Forks
0
Releases

Overview

Fitbit MCP is an unofficial Model Context Protocol implementation that lets AI assistants query and analyze a user's Fitbit health and fitness data through Fitbit's public API. It exposes a suite of MCP tools such as getUserProfile, getActivities, getSleepLogs, getHeartRate, getSteps, getBodyMeasurements, getFoodLogs, getWaterLogs, getLifetimeStats, getUserSettings, getFloorsClimbed, getDistance, getCalories, getActiveZoneMinutes, getDevices, and getBadges. Access is token-based, using a Fitbit access token obtained via the OAuth 2.0 flow, provided either via the FITBIT_ACCESS_TOKEN environment variable or as a command-line argument. Most tools accept optional parameters like date (default today) and period (1d, 7d, 30d, 1w, 1m). The README describes configuring and running the MCP with JSON configuration for AI frameworks, and includes setup and release steps for npm. A disclaimer notes that this is an unofficial integration not affiliated with Fitbit. The repository provides development commands (build, dev) and GitHub Actions workflows for automated validation.

Details

Owner
NitayRabi
Language
TypeScript
License
MIT License
Updated
2025-12-07

Features

Get User Profile

Retrieve Fitbit profile information for the authenticated user.

Get Activities

Retrieve activity data for a specified date.

Get Sleep Logs

Retrieve sleep data for a specified date.

Get Heart Rate

Retrieve heart rate data for a specified date and period.

Get Steps

Retrieve step counts for a specified date and period.

Get Body Measurements

Retrieve weight and body fat data.

Get Lifetime Stats

Retrieve lifetime activity statistics.

Get Badges

Retrieve earned badges and achievements.

Tags

FitbitMCPModel Context ProtocolHealth dataActivity dataOAuth 2.0AI assistantsWearable data