Fitbit MCP server for AI health data access

Fitbit MCP server for AI health data access

mcp-fitbit•bythedigitalninja

An MCP-compatible server that connects AI assistants to Fitbit exercise, sleep, weight, heart rate, nutrition, and profile data.

License: MIT•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Provides tools to retrieve exercise and activity logs, including workouts after a given date and daily activity summaries.
  • •Provides tools to retrieve sleep logs for a date range and heart rate data over periods or date ranges.
  • •Provides tools to access weight trends and nutrition data, including food logs and individual nutrient tracking.
  • •Provides a tool to access basic Fitbit profile details.

BEST FOR

  • •Asking an AI assistant to summarize sleep patterns over a week.
  • •Analyzing average heart rate during workouts.
  • •Reviewing food intake, calories, and macros from Fitbit nutrition logs.

ABOUT MCP-FITBIT

Fitbit MCP server for AI health data access is cataloged as an MCP server attributed to thedigitalninja. An MCP-compatible server that connects AI assistants to Fitbit exercise, sleep, weight, heart rate, nutrition, and profile data. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Fitbit MCP server for AI health data access are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server need Fitbit API credentials?

Yes, you need a Fitbit Client ID and Client Secret from the Fitbit developer API, configured for a Personal OAuth 2.0 application.

Which AI tools is it compatible with?

It is described as working with Claude Desktop and other MCP-compatible AI tools, with Claude Desktop configuration shown.

How does authorization happen on first use?

On first use the server opens a browser to a local auth page where you log in to Fitbit and grant permissions.

Upstream README

View this exact version on GitHub

README.md · cfe605569717 · Fetched 2026-11-13 09:45:40 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Fitbit MCP Connector for AI

Fitbit API CI Coverage Status License: MIT npm version npm downloads

Connect AI assistants to your Fitbit health data

Give your AI assistant access to your Fitbit data for personalized health insights, trend analysis, and automated tracking. Works with Claude Desktop and other MCP-compatible AI tools.

What it does

🏃 Exercise & Activities - Get detailed workout logs and activity data
😴 Sleep Analysis - Retrieve sleep patterns and quality metrics
⚖️ Weight Tracking - Access weight trends over time
❤️ Heart Rate Data - Monitor heart rate patterns and zones
🍎 Nutrition Logs - Review food intake, calories, and macros
👤 Profile Info - Access basic Fitbit profile details

Ask your AI things like: "Show me my sleep patterns this week" or "What's my average heart rate during workouts?"

Quick Start

🚀 Want to test the tools right away?

  1. Get Fitbit API credentials

    • Create an app with OAuth 2.0 Application Type: Personal
    • Set Callback URL: http://localhost:3000/callback
    • Note your Client ID and Client Secret
  2. Install the package globally:

npm install -g mcp-fitbit
  1. Add to your Claude Desktop config file:
{
  "mcpServers": {
    "fitbit": {
      "command": "mcp-fitbit",
      "args": [],
      "env": {
        "FITBIT_CLIENT_ID": "your_client_id_here",
        "FITBIT_CLIENT_SECRET": "your_client_secret_here"
      }
    }
  }
}
  • Config file location:
    • Windows: %AppData%\Claude\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  1. Restart Claude Desktop and ask about your Fitbit data!

Option 2: Development Setup

  1. Get Fitbit API credentials (see Installation below)
  2. Then run:
git clone https://github.com/TheDigitalNinja/mcp-fitbit
cd mcp-fitbit
npm install
# Create .env with your Fitbit credentials
npm run dev

Both options open the MCP Inspector at http://localhost:5173 where you can test all tools interactively and handle the OAuth flow.

Installation

For End Users (npm package)

  1. Get Fitbit API credentials at dev.fitbit.com

    • Set OAuth 2.0 Application Type to Personal
    • Set Callback URL to http://localhost:3000/callback
  2. Install the package:

    npm install -g mcp-fitbit
    
  3. Create .env file in the package directory:

    When you run mcp-fitbit for the first time, it will tell you exactly where to create the .env file. It will look something like:

    C:\Users\YourName\AppData\Roaming\npm\node_modules\mcp-fitbit\.env
    
  4. Add your credentials to the .env file:

    FITBIT_CLIENT_ID=your_client_id_here
    FITBIT_CLIENT_SECRET=your_client_secret_here
    
  5. Run the server:

    mcp-fitbit
    

For Developers (from source)

  1. Get Fitbit API credentials at dev.fitbit.com

    • Set OAuth 2.0 Application Type to Personal
    • Set Callback URL to http://localhost:3000/callback
  2. Clone and setup:

    git clone https://github.com/TheDigitalNinja/mcp-fitbit
    cd mcp-fitbit
    npm install
    
  3. Create .env file:

    FITBIT_CLIENT_ID=your_client_id_here
    FITBIT_CLIENT_SECRET=your_client_secret_here
    
  4. Build the server:

    npm run build
    

Available Tools

ToolDescriptionParameters
get_weightWeight data over time periodsperiod: 1d, 7d, 30d, 3m, 6m, 1y
get_sleep_by_date_rangeSleep logs for date range (max 100 days)startDate, endDate (YYYY-MM-DD)
get_exercisesActivity/exercise logs after dateafterDate (YYYY-MM-DD), limit (1-100)
get_daily_activity_summaryDaily activity summary with goalsdate (YYYY-MM-DD)
get_activity_goalsUser's activity goals (daily/weekly)period: daily, weekly
get_activity_timeseriesActivity time series data (max 30 days)resourcePath, startDate, endDate (YYYY-MM-DD)
get_azm_timeseriesActive Zone Minutes time series (max 1095 days)startDate, endDate (YYYY-MM-DD)
get_heart_rateHeart rate for time periodperiod: 1d, 7d, 30d, 1w, 1m, optional date
get_heart_rate_by_date_rangeHeart rate for date range (max 1 year)startDate, endDate (YYYY-MM-DD)
get_food_logComplete nutrition data for a daydate (YYYY-MM-DD or "today")
get_nutritionIndividual nutrient over timeresource, period, optional date
get_nutrition_by_date_rangeIndividual nutrient for date rangeresource, startDate, endDate
get_profileUser profile informationNone

Nutrition resources: caloriesIn, water, protein, carbs, fat, fiber, sodium

Activity time series resources: steps, distance, calories, activityCalories, caloriesBMR, tracker/activityCalories, tracker/calories, tracker/distance

Claude Desktop

Using npm package (recommended):

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "fitbit": {
      "command": "mcp-fitbit",
      "args": []
    }
  }
}

Using local development version:

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "fitbit": {
      "command": "node",
      "args": ["C:\\path\\to\\mcp-fitbit\\build\\index.js"]
    }
  }
}

Config file locations:

  • Windows: %AppData%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

First Run Authorization

When you first ask your AI assistant to use Fitbit data:

  1. The server opens your browser to http://localhost:3000/auth
  2. Log in to Fitbit and grant permissions
  3. You'll be redirected to a success page
  4. Your AI can now access your Fitbit data!

Development

npm run lint          # Check code quality
npm run format        # Fix formatting
npm run build         # Compile TypeScript
npm run dev           # Run with MCP inspector

Architecture: See TASKS.md for improvement opportunities and technical details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Fitbit MCP server for AI health data access from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-fitbit)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops