Calorie Tracker MCP Server
@thitiph0n
About Calorie Tracker MCP Server
MCP server for tracking daily calorie intake with accurate BMR/TDEE calculations. Built on Cloudflare Workers with D1 database.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"calorie-tracker-mcp-server": {
"command": "npx",
"args": [
"wrangler",
"d1",
"create",
"calorie-tracker"
]
}
}
}Tools
9List food entries with pagination
Add food entry with macros
Update existing entry
Delete entry
Get profile with BMR/TDEE calculations
Update profile data (height, weight, activity level)
Historical tracking data
Register new user
Revoke user access
Overview
What is Calorie Tracker MCP Server?
MCP server for tracking daily calorie intake with accurate BMR/TDEE calculations. Built on Cloudflare Workers with D1 database, it provides food tracking, profile management, and historical data via API key authentication with role-based access.
How to use Calorie Tracker MCP Server?
Install dependencies with pnpm install, create and migrate the D1 database using Wrangler, then run the development server with pnpm run dev. Configure Claude Desktop by adding the server to mcpServers with a bearer token, and use tools like add_entry, list_entries, and get_profile to interact.
Key features of Calorie Tracker MCP Server
- Food tracking with add, update, delete and macros
- Profile management with BMR/TDEE calculations
- Historical data for weight and body composition
- Secure API key authentication with role-based access
- Admin tools for user registration and revocation
Use cases of Calorie Tracker MCP Server
- Track daily calorie and macronutrient intake
- Calculate personalized BMR and TDEE using Harris-Benedict equation
- Monitor weight and body composition changes over time
- Manage multiple users with admin-level access control
- Deploy as a scalable serverless application on Cloudflare Workers
FAQ from Calorie Tracker MCP Server
How are BMR and TDEE calculated?
BMR uses the Harris-Benedict equation (1984 revision) with separate formulas for males and females. TDEE is BMR multiplied by an activity multiplier ranging from 1.2 to 1.9.
What authentication does the server use?
The server uses API key authentication with role-based access. You must provide a BEARER_TOKEN environment variable matching an admin API key in Claude Desktop config.
What is the tech stack?
The server is built with TypeScript on Cloudflare Workers, uses D1 (SQLite) as the database, Zod for validation, and Vitest for testing.
How do I deploy to production?
Run pnpm run deploy to deploy the server to Cloudflare Workers. Ensure your wrangler.jsonc contains the correct D1 database ID.
What tools are available for food tracking?
Tools include list_entries with pagination, add_entry with macros, update_entry, and delete_entry.
Frequently asked questions
How are BMR and TDEE calculated?
BMR uses the Harris-Benedict equation (1984 revision) with separate formulas for males and females. TDEE is BMR multiplied by an activity multiplier ranging from 1.2 to 1.9.
What authentication does the server use?
The server uses API key authentication with role-based access. You must provide a `BEARER_TOKEN` environment variable matching an admin API key in Claude Desktop config.
What is the tech stack?
The server is built with TypeScript on Cloudflare Workers, uses D1 (SQLite) as the database, Zod for validation, and Vitest for testing.
How do I deploy to production?
Run `pnpm run deploy` to deploy the server to Cloudflare Workers. Ensure your `wrangler.jsonc` contains the correct D1 database ID.
What tools are available for food tracking?
Tools include `list_entries` with pagination, `add_entry` with macros, `update_entry`, and `delete_entry`.
Basic information
More Other MCP servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser

Figs, Relationship Expert
Figs O'Sullivan, LMFTCouples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.

Lemon.io
lemon-ioRequest dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
Comments