Fitbit MCP logo

Fitbit MCP

by partymola

Queries Fitbit health data through MCP with OAuth, SQLite caching, incremental sync, and trend analysis.

Install Fitbit MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "partymola-fitbit-mcp": {
      "command": "uvx",
      "args": [
        "fitbit-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 18 tools correctly ().

Overview

Fitbit health data is exposed through the partymola/fitbit-mcp MCP server as sync, query, device, goal, lifetime-statistics, and trend tools. It authenticates with Fitbit using OAuth 2.0 PKCE, stores synchronized records in a local SQLite database, and supports cached or live API queries. Reach for it when an existing Fitbit app registration is available and an MCP client needs historical health metrics or aggregations. The project is retired because Fitbit API access is scheduled to end on September 30, 2026, and new Fitbit app registrations are no longer accepted.

Use cases

  • Sync Fitbit history into a local SQLite cache
  • Query daily activity and sleep metrics through MCP
  • Compare monthly health and fitness trends
  • Inspect Fitbit device battery and synchronization status

Key features

  • OAuth 2.0 PKCE authentication
  • Local SQLite caching
  • Incremental and date-range synchronization
  • Live Fitbit API query mode
  • Health metric trend analysis
  • CLI authentication and import commands

Tools18

What Fitbit MCP lets your agent do. Expand a tool for its parameters.

Verified live~4.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

Not checked yetLast checked

We have not completed a health check for this listing yet.

15/27 checks healthy over the last 112d

What it can do

From the 18 tools this server returned when we ran it.

Makes network requests · 14Read-only tools · 18
Network at startup2 connections
Files written at startupNone

Observed 2026-11-18 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · fitbit-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit3mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed18Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Fitbit MCP works

What partymola/fitbit-mcp MCP server does

The partymola/fitbit-mcp MCP server connects an MCP client to the Fitbit Web API and presents Fitbit health records as agent-callable tools. It covers daily activity, heart rate and zones, exercise sessions, sleep, weight, SpO2, HRV, Active Zone Minutes, breathing rate, skin-temperature variation, manually logged core temperature, cardio fitness, food and water logs, paired devices, activity goals, and lifetime statistics.

Most historical measurements can be synchronized into a local SQLite cache. Query tools then read from that cache by default, while a live option bypasses cached data and requests the Fitbit API directly. Trend analysis aggregates cached records weekly, monthly, or quarterly and can compare two periods.

The project is retired. Fitbit has stopped accepting new app registrations, and its Web API is scheduled to shut down on September 30, 2026. Existing installations may continue working until that date, but a new setup cannot be completed without an already registered personal Fitbit app.

How it works

Authentication uses OAuth 2.0 with PKCE, so the setup uses a Fitbit client ID rather than a client secret. Running the authentication command opens a browser, completes Fitbit authorization, and stores tokens locally. Access tokens last eight hours and refresh automatically; refresh tokens expire after 90 days of inactivity.

fitbit_sync performs the initial download and subsequent incremental updates. The first sync can cover a selected number of days, while later syncs resume from the newest cached record for each data type. A since date supports older backfills, and since combined with until can refresh a specific date window. Query tools can automatically sync when needed, or callers can run an explicit sync first.

Live requests are useful for current device state and uncached data, but some endpoints make one API request per day. The documented Fitbit rate limit is 150 requests per hour, so large live date ranges should be avoided.

Setup and configuration

The partymola/fitbit-mcp MCP server requires Python 3.13 or newer and a registered personal Fitbit developer app. The app must use http://localhost:8080 as its redirect URL. The client ID is needed for PKCE; the setup does not require the client secret.

Install the package with pip install fitbit-mcp or run it without installation using uvx fitbit-mcp. Run fitbit-mcp auth to authorize Fitbit, then start the stdio server with fitbit-mcp. Tokens are saved under ~/.config/fitbit-mcp/fitbit_tokens.json with restrictive file permissions. The command-line interface also provides doctor, sync, and JSON import commands.

A first sync is optional because query tools can populate the cache automatically. Use an explicit sync when you need more than the default initial history or want to select particular data types.

Tools and capabilities

Available capabilities include:

  • Synchronize selected Fitbit data types into SQLite with incremental updates and date-range backfills.
  • Query activity, exercise, sleep, weight, heart rate, HRV, SpO2, AZM, breathing rate, temperature, cardio fitness, and food-log records.
  • Analyze cached metrics with period averages, totals, and comparisons.
  • Inspect paired devices, battery information, and last sync times through a live-only tool.
  • Retrieve live-only activity goals, lifetime totals, and personal-best records.
  • Filter exercise results by a case-insensitive activity-name substring.

Sleep, HRV, SpO2, and other device-derived records can be sparse because they depend on tracking coverage. HRV and SpO2 endpoints require Fitbit Premium access. Food and water results only contain days logged in the Fitbit app.

Limitations and notes

This package cannot be newly configured from scratch after Fitbit stopped accepting app registrations. Its usefulness therefore depends on an existing registered personal app and continued Fitbit API availability. The API shutdown date is September 30, 2026.

The local database is specific to this project. The project documentation recommends copying fitbit.db before shutdown if retained Fitbit-only fields are needed. The suggested replacement, google-health-mcp, reads history from Google rather than importing this cache, and some fields do not have equivalent coverage there. This server is also not a medical diagnostic system: Fitbit measurements such as SpO2, breathing rate, temperature variation, and recovery metrics should be interpreted as recorded device or user-entered data.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Fitbit MCP

Install it with `pip install fitbit-mcp`, or run it without installation using `uvx fitbit-mcp`.

It uses Fitbit OAuth 2.0 PKCE. You need a registered personal Fitbit app and its client ID; a client secret is not required.

No. Fitbit no longer accepts new app registrations, so a new setup requires an already registered personal app.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFitbit MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/partymola-fitbit-mcp?style=directory)](https://allmcps.com/mcp/partymola-fitbit-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/partymola-fitbit-mcp"><img src="https://allmcps.com/api/badge/partymola-fitbit-mcp?style=directory" alt="Fitbit MCP on AllMCPs" /></a>