by NitayRabi
Provides AI assistants with direct access to a user's Fitbit health and fitness data through a Model Context Protocol implementation, enabling real‑time queries and analysis.
Fitbit Mcp enables AI assistants to retrieve and work with a user's Fitbit profile, activity, sleep, heart‑rate, steps, body measurements, nutrition, and device information via a set of predefined tools. The integration uses Fitbit's public API and runs as an MCP server that communicates over standard I/O.
Add the MCP server to your AI assistant configuration using the JSON snippet below. Supply a valid Fitbit access token either as an environment variable (FITBIT_ACCESS_TOKEN
) or via the --fitbit-token
CLI argument.
{
"command": "npx",
"args": ["-y", "fitbit-mcp", "--stdio"],
"env": { "FITBIT_ACCESS_TOKEN": "YOUR_FITBIT_ACCESS_TOKEN" }
}
The server will start, listen on STDIN/STDOUT, and expose the tools listed in the README.
date
(YYYY‑MM‑DD) and period
(1d, 7d, 30d, 1w, 1m) for most queries.npx
without manual installation.Q: How do I obtain a Fitbit access token?
A: Create a personal app in the Fitbit Developer Portal, set the callback URL to http://localhost:3000
, and follow the OAuth 2.0 flow to receive an access token.
Q: Is my data stored on the server? A: No. The server only forwards API responses; it does not persist user data.
Q: Can I use multiple Fitbit accounts simultaneously?
A: Each server instance handles a single token. Run separate instances with different FITBIT_ACCESS_TOKEN
values for multiple accounts.
Q: What permissions are required? A: The token must include scopes for activity, sleep, heart rate, nutrition, and profile data.
Q: Does this violate Fitbit’s terms of service? A: The integration uses only the public API and follows Fitbit’s developer guidelines. Ensure you comply with rate limits and user consent requirements.
Disclaimer: This is an unofficial integration built using Fitbit's public API and is not affiliated with or endorsed by Fitbit Inc.
A Model Context Protocol (MCP) implementation for Fitbit, enabling AI assistants to access and analyze your Fitbit health and fitness data.
For JSON configuration (for use with AI assistant frameworks):
{
"command": "npx",
"args": ["-y", "fitbit-mcp", "--stdio"],
"env": {
"FITBIT_ACCESS_TOKEN": "YOUR_FITBIT_ACCESS_TOKEN"
}
}
Or with arguments instead of environment variables:
{
"command": "npx",
"args": ["-y", "fitbit-mcp", "--stdio", "--fitbit-token=YOUR_FITBIT_ACCESS_TOKEN"]
}
This MCP provides the following tools for AI assistants to access your Fitbit data:
Most tools accept optional parameters:
date
: Date in YYYY-MM-DD format (defaults to today)period
: Time period for data (1d, 7d, 30d, 1w, 1m)To get a Fitbit access token:
For detailed instructions on OAuth authentication, see the Fitbit API Documentation.
Contributions are welcome! Here's how you can contribute:
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)Every pull request triggers a GitHub Actions workflow that verifies the build process.
# Clone the repository
git clone https://github.com/your-username/fitbit-mcp.git
cd fitbit-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Run in development mode
npm run dev
To publish a new version to NPM:
package.json
v1.0.1
Make sure you have the NPM_TOKEN
secret configured in your GitHub repository settings.
This project is licensed under the MIT License - see the LICENSE file for details.
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "fitbit-mcp": { "command": "npx", "args": [ "-y", "fitbit-mcp", "--stdio" ], "env": { "FITBIT_ACCESS_TOKEN": "<YOUR_FITBIT_ACCESS_TOKEN>" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by mattt
Enables AI assistants to retrieve and manage personal macOS data such as calendar events, contacts, messages, reminders, location, maps, and weather through a local MCP server, allowing personalized AI interactions without sending data off‑device.
by nspady
Provides Google Calendar integration for AI assistants, enabling event listing, creation, updating, deletion, free/busy queries, recurring event handling, and smart scheduling via natural language.
by baidu-maps
Offers a comprehensive suite of geospatial APIs and tools for developers and AI agents, enabling geocoding, reverse geocoding, POI search, route planning, weather, traffic, IP location, and real‑time traffic queries via standardized MCP interfaces.
by Omar-V2
Interact with the macOS Calendar through natural‑language commands, enabling creation, querying, and updating of events in a conversational way.
by GongRzhe
Enables LLMs to perform travel-related tasks such as location search, place details lookup, route calculation, and timezone retrieval using Google Maps services.
by zcaceres
Integrates with Google Tasks to list, read, search, create, update, and delete tasks via MCP tools.
by v-3
Interact with Google Calendar to list, create, update, delete events and find free time slots via Claude.
by r-huijts
Provides real-time Dutch railway travel information—including departures, arrivals, journey planning, pricing, and station facilities—through an MCP server that Claude can query.
by TimLukaHorstmann
Provides hourly and daily weather forecasts via the AccuWeather API for Model Context Protocol (MCP) integration with language models.