JYME

MCP Server for AI Agents

Let Claude — or any MCP client — log your meals and read your nutrition data

What this is

JYME is an AI nutrition tracker. This page documents its Model Context Protocol server, which lets an AI agent work with your own JYME account: log food, water, workouts and weight, and read back macros, statistics and streaks.

POST https://jyme.app/api/mcp
TransportStreamable HTTP (stateless, JSON-RPC over POST)
AuthAuthorization: Bearer <api_token>
Tools18 (10 read-only, 8 write)
Rate limit60 requests / minute per token
AccountFree JYME account at jyme.app
Note: the server authenticates with a static API token, not OAuth. Use a client that lets you set custom HTTP headers (Claude Code, Cursor, VS Code, your own agent). The one-click custom-connector flow in the Claude web/desktop app requires OAuth and is not supported yet.

Get connected

  1. Create an API token

    Sign in at jyme.app and go to Settings → API Tokens for AI Agents → Create Token. Give it a name (e.g. Claude Code) and copy the token immediately — it is shown only once.

  2. Add the server to your client

    Claude Code (CLI):

    claude mcp add --transport http jyme https://jyme.app/api/mcp \
      --header "Authorization: Bearer YOUR_TOKEN"

    Any client with an mcp.json-style config (Cursor, VS Code, Windsurf, …):

    {
      "mcpServers": {
        "jyme": {
          "type": "http",
          "url": "https://jyme.app/api/mcp",
          "headers": {
            "Authorization": "Bearer YOUR_TOKEN"
          }
        }
      }
    }
  3. Check it works

    A plain JSON-RPC call should list the available tools:

    curl -s https://jyme.app/api/mcp \
      -H "Authorization: Bearer YOUR_TOKEN" \
      -H "Content-Type: application/json" \
      -H "Accept: application/json, text/event-stream" \
      -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

    Then just ask your agent: “What did I eat today and how much protein do I still need?”

Tools

Read — always free

ToolWhat it returns
get_food_entriesAll entries in a date range, with full nutrition data
get_daily_macrosTotals for one day plus that day’s limits
get_weekly_statsDaily totals for the last 7 days or a given week
get_monthly_statsDaily totals for a month (YYYY-MM) or last 30 days
get_stats_rangeDaily totals for an arbitrary date range
search_foodsEntries matching a name or description
get_favoritesTop favorite foods by usage count
get_user_profileProfile, nutrient limits and credit balance
get_weight_historyWeight log, newest first
get_streakCurrent streak, longest streak, today’s status

Write

ToolWhat it doesCredits
add_food_entryCreates a food, water or exercise entry with nutrition values2
use_favoriteLogs an entry from an existing favorite0
update_food_entryUpdates an entry (only the fields you pass)0
delete_food_entryDeletes an entry by ID0
add_to_favoritesSaves a food as a favorite0
update_favoriteUpdates a favorite0
delete_favoriteDeletes a favorite and un-stars matching entries0
log_weightLogs a weight measurement and updates the profile0

Credits are JYME’s usage currency — new accounts start with 100 and packages can be bought in the app. Only add_food_entry consumes credits over MCP; everything else is free. If the balance is too low the tool returns an explanatory error instead of writing anything.

Behaviour & errors

Data & privacy

A token grants full read and write access to that account’s nutrition data — treat it like a password, store it in your client’s secret store, and delete it in Settings → API Tokens when you no longer need it. Tokens are stored only as a SHA-256 hash and each one records its last use, so unexpected activity is visible.

Data handling follows JYME’s terms and privacy policy, available in the app under Account → About. Questions: ludvik.wiejowski@gmail.com.