Skip to main content
Glama
innajain

meal-tracker-mcp

by innajain

Meal Tracker MCP Server

MCP server to track meals for Shreyansh, Pankaj, and Aviral. Deploy on Render and connect to ChatGPT.

Setup

pip install -r requirements.txt
python seed_data.py

Related MCP server: Calorie Tracker MCP Server

Run locally (stdio)

python server.py

Run locally (HTTP)

python server.py --http

Server runs at http://localhost:8000/mcp

Deploy to Render

  1. Push to GitHub

  2. Connect repo on Render (it auto-detects render.yaml)

  3. Render generates MCP_API_TOKEN automatically

  4. Copy the service URL (e.g. https://meal-tracker-mcp.onrender.com/mcp)

Connect to ChatGPT

  1. Go to ChatGPT > Settings > Connectors (or Apps)

  2. Add a custom connector:

    • URL: https://meal-tracker-mcp.onrender.com/mcp

    • Auth: Bearer token (use the MCP_API_TOKEN from Render dashboard)

Tools

Tool

Description

add_meal

Add meals for a person (date, person, lunch/dinner, count)

delete_meal

Remove a meal entry

get_meals

Fetch meals for a date or range

get_day_totals

Totals for a specific day

get_summary

Per-person summary with costs

Cost

₹80 per meal. Totals auto-calculated.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables users to track daily calorie consumption by logging meals through natural language and searching a comprehensive food database. It provides daily summaries, weekly reports, and persistent SQLite storage to monitor dietary trends and goals.
    6 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables automated weekly meal planning and grocery price comparison across Swedish supermarkets through a Claude/GPT interface.
    3
    MIT