Calorie Tracker MCP Server

Calorie Tracker MCP Server

calorie-tracker-mcp-server•bythitiph0n

An MCP server that tracks daily calorie intake, manages food entries and profiles, and calculates BMR/TDEE using the Mifflin-St Jeor equation.

License: Not specified•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Add, update, list and delete food entries with macros via MCP tools.
  • •Read and update profile data and retrieve historical tracking data, with BMR/TDEE calculations.
  • •Calculates BMR using the Mifflin-St Jeor equation and TDEE via an activity multiplier.
  • •Secures access with OAuth 2.1 authentication including PKCE support.

BEST FOR

  • •Users who want to log and manage daily food intake through an MCP-capable assistant.
  • •Tracking weight and body composition history alongside calorie goals.
  • •Estimating daily energy needs from a personal profile and activity level.

ABOUT CALORIE-TRACKER-MCP-SERVER

Calorie Tracker MCP Server is cataloged as an MCP server attributed to thitiph0n. An MCP server that tracks daily calorie intake, manages food entries and profiles, and calculates BMR/TDEE using the Mifflin-St Jeor equation. 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: Not specified. 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 Calorie Tracker MCP Server 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

What equation is used for BMR and how is TDEE computed?

It uses the Mifflin-St Jeor equation for BMR, and TDEE is BMR multiplied by an activity multiplier ranging from 1.2 to 1.9.

Which admin tools are available?

The server provides register_user to register new users and revoke_user to revoke user access.

Upstream README

View this exact version on GitHub

README.md · e5f7c3b753f2 · Fetched 2026-11-13 11:30:11 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.

Calorie Tracker MCP Server

Calorie Tracker MCP Server

MCP server for tracking daily calorie intake with accurate BMR/TDEE calculations. Built on Cloudflare Workers with D1 database.

Features

  • Food Tracking: Add, update, delete food entries with macros
  • Profile Management: BMR/TDEE calculations using Mifflin-St Jeor equation
  • Historical Data: Track weight, body composition over time
  • Secure: OAuth 2.1 authentication with PKCE support

Quick Setup

pnpm install

# Create resources and update wrangler.jsonc with IDs
npx wrangler d1 create calorie-tracker
npx wrangler kv:namespace create OAUTH_KV

# Run migrations and start dev server
npx wrangler d1 migrations apply calorie-tracker --local
pnpm run dev

OAuth Client Registration

Set an admin API key:

# Development: Update wrangler.jsonc vars.ADMIN_API_KEY
# Production: Use secrets
npx wrangler secret put ADMIN_API_KEY

Register an OAuth client to obtain credentials:

curl -X POST http://localhost:8787/oauth/register \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_ADMIN_API_KEY" \
  -d '{
    "client_name": "Claude Desktop",
    "redirect_uris": ["http://127.0.0.1/callback", "http://localhost/callback"],
    "user_id": "admin"
  }'

Note: Claude Desktop will specify its callback URL during the OAuth flow. If you get a redirect URI mismatch error, check Claude Desktop's OAuth logs for the actual callback URL it expects.

Response:

{
  "client_id": "uuid-client-id",
  "client_secret": "generated-secret",
  "client_name": "Claude Desktop"
}

Claude Configuration

Option 1: Bearer Token (Personal/Pro/Max)

Simple authentication using client secret as bearer token:

  1. Register OAuth client:

    curl -X POST http://localhost:8787/oauth/register \
      -H "Content-Type: application/json" \
      -H "X-API-Key: YOUR_ADMIN_API_KEY" \
      -d '{
        "client_name": "Claude Desktop",
        "redirect_uris": ["https://claude.ai/api/mcp/auth_callback"],
        "user_id": "admin"
      }'
    

    Save the client_secret from response.

  2. Claude Desktop config (claude_desktop_config.json):

    {
      "mcpServers": {
        "calorie-tracker": {
          "command": "npx",
          "args": ["mcp-remote", "http://localhost:8787/sse"],
          "env": {
            "BEARER_TOKEN": "<client_secret from registration>"
          }
        }
      }
    }
    

Option 2: OAuth with Client Credentials (Team/Enterprise Only)

Private connector with Client ID/Secret:

  1. Register OAuth client with callback URL https://claude.ai/api/mcp/auth_callback

  2. Add custom connector in Claude:

    • Name: Calorie Tracker
    • Remote MCP server URL: https://YOUR-WORKER.workers.dev/sse
    • OAuth Client ID: <client_id from registration>
    • OAuth Client Secret: <client_secret from registration>

Production Deployment

Deploy to Cloudflare Workers for mobile/web access:

pnpm run deploy
pnpm run migrate
npx wrangler secret put ADMIN_API_KEY

Tools

Food Tracking:

  • list_entries - List food entries with pagination
  • add_entry - Add food entry with macros
  • update_entry - Update existing entry
  • delete_entry - Delete entry

Profile Management:

  • get_profile - Get profile with BMR/TDEE calculations
  • update_profile - Update profile data (height, weight, activity level)
  • get_profile_history - Historical tracking data

Admin:

  • register_user - Register new user
  • revoke_user - Revoke user access

BMR/TDEE Calculations

Uses Mifflin-St Jeor equation (gold standard):

Male: BMR = (10 × weight) + (6.25 × height) - (5 × age) + 5
Female: BMR = (10 × weight) + (6.25 × height) - (5 × age) - 161

TDEE: BMR × Activity Multiplier (1.2 - 1.9)

Development

pnpm test           # Run tests
pnpm run type-check # TypeScript validation
pnpm run deploy     # Deploy to production
pnpm run migrate    # Run migrations on remote

Tech Stack

  • Runtime: Cloudflare Workers
  • Database: D1 (SQLite)
  • Language: TypeScript
  • Validation: Zod
  • Testing: Vitest

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 Calorie Tracker MCP Server 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/calorie-tracker-mcp-server)

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