Calorie and Macro Counter

Health & Fitness Intermediate Database Auth

Log food intake, track calories and macros, and see daily and weekly nutritional summaries.

The prompt

Copy this prompt and paste it into Claude, Cursor, ChatGPT, Codex, or any AI tool connected to Hatchable via MCP.

Build a calorie counting app. Users sign up and set daily targets: calories, protein (g), carbs (g), and fat (g). Log food entries with: name, meal (Breakfast, Lunch, Dinner, Snack), calories, protein, carbs, fat, and serving size. The daily view shows a circular progress ring for calories and bar progress for each macro, with a food log below. Include a food search from a saved personal food database (users add items once and reuse). Show a weekly overview chart with daily calorie intake as a bar chart and a target line. Include a "frequently logged" quick-add section. Macro progress should update in real-time as foods are added. Health-app design with macro color coding. Deploy it on Hatchable when done.

How to use this template

  1. Connect Hatchable to your AI tool

    Add Hatchable as an MCP server in your AI tool of choice. You'll need your API key from Console → Settings. See our setup guides for Claude Code, Cursor, or Codex.

  2. Copy the prompt and paste it

    Hit the Copy button above, switch to your AI tool, and paste. The prompt is written to produce a complete, deployable app using Hatchable's platform features.

  3. Your AI builds and deploys it

    Your AI writes the code, creates a project on Hatchable, and deploys it. You'll get a live URL you can share immediately — no server setup, no billing.

Customize it

After the initial build, try asking your AI to add any of these:

Build this app for free

Sign up, grab your API key, and paste this prompt into your AI tool.

Get started free