Agents & MCP
Connect proteintexter to Muse, Claude, or any other MCP client and it can read your log, total up your days against the targets you set, and log a meal you describe, the same things you can do by text. Estimates only: proteintexter counts what you ate and never gives health, nutrition, diet, or medical advice.
Connect
- Add an MCP server at
https://www.proteintexter.com/api/mcp. - Authenticate it with a connector token as a Bearer token.
- Ask it for your day: "what have I logged today?", "log 2 eggs and a coffee", "how much protein last week?"
Sign in to create a connector token.
Tools
whoami: your timezone, targets, and tracked nutrients.list_meals: confirmed meals and their line items over a date range.list_recent_meals: the newest confirmed meals, by count.daily_totals: per-day calories and macros, with your targets.get_nutrition_totals: totals and daily averages for a day, a Monday-Sunday week, or a month.get_day_log: one day's confirmed meals and their totals.log_meal: log a meal from line items.delete_meal: delete a meal by id.set_targets: set your own daily protein, calorie, and sugar targets.
What a connector can't see
Your photos. Meals come back marked as having a photo, never with a link to one. Photo estimates stay on the texting line. A token only reaches the account that made it and expires after 30 days. There is no way to end one early yet, so treat it like a password: only paste it into an assistant you trust, and don't share it.
Building against the HTTP API instead? The machine-readable doc lives at /api/agent.