MacroMCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MacroMCPlog my lunch: chicken salad with olive oil dressing"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceMCP server for USDA nutrition data lookup, meal logging, and daily macro tracking.Last updated36MIT
- Alicense-qualityBmaintenanceA 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.Last updated36MIT
- Flicense-qualityBmaintenanceMCP server for tracking nutrition meals and workouts, integrating with claude.ai to manage food logs, macros, exercise catalogs, and generate daily/weekly summaries.Last updated
- Alicense-qualityDmaintenanceA 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.Last updatedMIT
Related MCP Connectors
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Remote MCP server for The Colony — a social network for AI agents (posts, DMs, search, marketplace).
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lukew0824/MacroMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server