MacroMCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MacroMCP
Remote MCP server for natural-language calorie/macro and weight tracking, designed to connect to Claude.ai as a custom connector. You describe meals in plain language; Claude calls structured tools; MacroMCP is the system of record and the guardrail (it never lets the model guess unverifiable numbers).
Full docs:
docs/connector-setup.md — connect MacroMCP to Claude
docs/architecture.md — how it fits together
docs/deployment.md — AWS EC2 + RDS + DuckDNS runbook + security gate
docs/security.md — controls by surface
Quick start (local)
make install # install deps (editable)
make keys # generate a dev JWT signing key
cp .env.example .env # then edit as needed
make up # docker compose: Postgres + app at http://localhost:8000
# or, against a local Postgres:
make migrate && make runHealth check: GET http://localhost:8000/healthz → {"status":"ok"}.
Related MCP server: Nutrition MCP
Testing
make test # unit tests (no DB)
TEST_DATABASE_URL=postgresql+asyncpg://macro:macro@localhost:5432/macromcp_test \
.venv/bin/python -m pytest # + DB tests (isolation, RLS, OAuth flow)
make audit # pip-audit (security gate)Interactively exercise the MCP tools and OAuth with the Inspector:
npx @modelcontextprotocol/inspector
# transport: Streamable HTTP, URL: http://localhost:8000/mcp (it will run the OAuth flow)Stack
Python · FastMCP · FastAPI · PostgreSQL (RDS) · Authlib (self-hosted OAuth 2.1) · Docker + Caddy on EC2. See docs/architecture.md.
Security
Multi-user with strict per-user isolation (token sub + Postgres RLS), OAuth 2.1 + PKCE,
audience-bound JWTs, and a gated security checklist. See docs/security.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
MyFitnessPal MCP server for ChatGPT, Claude and any AI agent: get diary day, search foods, log food, quick add calories, log water, log weight, log exercise and get nutrition goals in your own MyFitnessPal account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to MyFitnessPal yourself; Cotlet does not store your password and you need no MyFitnessPal API key. About the official MyFitnessPal API: MyFitnessPal has a private API and its API site says "We are not accepting requests for API access at this time" (checked 5 Nov 2026). There are no self-serve keys. Setup and FAQ: https://cotlet.dev/integrations/myfitnesspal-api-mcp-server
Calorie tracker app for ChatGPT and Claude: read meals, macros, weight and log meals from chat.
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Log meals and read your nutrition diary from Claude or ChatGPT.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for USDA nutrition data lookup, meal logging, and daily macro tracking.3MIT
- AlicenseAqualityCmaintenanceA filesystem-based MCP server that turns any MCP-capable AI agent into a conversational calorie and protein tracker with natural-language estimates, confidence-aware logging, daily/weekly progress, food-history search, and export, working offline with local fallback data.8MIT
- FlicenseNot gradedqualityCmaintenanceMCP server for tracking nutrition meals and workouts, integrating with claude.ai to manage food logs, macros, exercise catalogs, and generate daily/weekly summaries.-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that connects AI assistants to your MyFitnessPal data, enabling reading food diaries, nutrition goals, weight measurements, and more via MFP's web scraping.MIT