naftiko: 1.0.0-alpha2 info: label: Fitbit Nutrition API — Nutrition description: Fitbit Nutrition API. Read daily food logs, log food, log water, and search the Fitbit foods database. tags: - Fitbit - Nutrition - Food - Water created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: FITBIT_ACCESS_TOKEN: FITBIT_ACCESS_TOKEN capability: consumes: - type: http namespace: nutrition-nutrition baseUri: https://api.fitbit.com description: Fitbit Nutrition API. resources: - name: food-logs-by-date path: /1/user/-/foods/log/date/{date}.json operations: - name: getFoodLogsByDate method: GET description: Get food logs and macronutrient summary for a date. outputRawFormat: json inputParameters: - name: date in: path type: string required: true outputParameters: - name: result type: object value: $. - name: search-foods path: /1/foods/search.json operations: - name: searchFoods method: GET description: Search the Fitbit foods database. outputRawFormat: json inputParameters: - name: query in: query type: string required: true outputParameters: - name: result type: object value: $. authentication: type: bearer value: '{{env.FITBIT_ACCESS_TOKEN}}' placement: header exposes: - type: mcp namespace: nutrition-mcp port: 9090 transport: http description: MCP adapter for Fitbit Nutrition API. tools: - name: fitbit-get-food-logs description: Fetch the food log summary for a date. hints: readOnly: true destructive: false idempotent: true call: nutrition-nutrition.getFoodLogsByDate with: date: tools.date outputParameters: - type: object mapping: $. - name: fitbit-search-foods description: Search the Fitbit foods database by name. hints: readOnly: true destructive: false idempotent: true call: nutrition-nutrition.searchFoods with: query: tools.query outputParameters: - type: object mapping: $.