MacroMCP
FreeNot checkedRemote MCP server for natural-language calorie/macro and weight tracking, designed to connect to Claude.ai as a custom connector.
About
Remote MCP server for natural-language calorie/macro and weight tracking, designed to connect to Claude.ai as a custom connector.
README
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 run
Health check: GET http://localhost:8000/healthz → {"status":"ok"}.
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.
Installing MacroMCP
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/lukew0824/MacroMCPFAQ
Is MacroMCP MCP free?
Yes, MacroMCP MCP is free — one-click install via Unyly at no cost.
Does MacroMCP need an API key?
No, MacroMCP runs without API keys or environment variables.
Is MacroMCP hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install MacroMCP in Claude Desktop, Claude Code or Cursor?
Open MacroMCP on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare MacroMCP with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
