Calorie and meal apps charge a subscription for work a general-purpose AI already does well. It understands "two eggs on toast and a latte", estimates the macros and suggests what to cook. So I built OpenPlate, an open-source app for meals, pantry, groceries, calories, workouts and supplements. It has no AI inside it. Your own AI runs it through an MCP connector.
The full write-up is in the OpenPlate case study. This is the build story and my opinion on it.
The problem
A chat assistant is good at the thinking but bad at remembering. It doesn't know what is in your pantry or what you ate last week. Nutrition apps can store your food history, but each app keeps that history to itself.
The approach: split the job in two
The split is simple:
- A small app you own stores the facts. Recipes, pantry, grocery list, food log, goals, workouts and weight live in your own free Supabase database.
- The AI you already use does the thinking. Claude, ChatGPT, Gemini or any client that supports remote MCP connects with one URL.
You talk to it like a person. "Two eggs on toast and a latte for breakfast" gets logged with calories and macros. "What can I cook tonight?" ranks your saved meals by what is actually in stock. If you switch AI apps, you paste the same URL and your history comes with you.
What I built
The app is a React 19, Vite and PWA front end on Supabase and Vercel. The agent side is the part I spent the most care on:
- An MCP server with 37 tools over stateless Streamable HTTP on Vercel. Read tools cover the kitchen, nutrition, fitness and supplements. Write tools cover the pantry, grocery list, meals, food log, goals, workouts and the agent guide.
- One call for the whole picture.
get_kitchen_snapshotreturns the profile, meals with readiness, pantry, groceries, today's nutrition and this week's training as a single JSON document. Most questions take one round trip. - An agent guide that lives in your database. A markdown guide explains every field and how to coach. You or your agent can edit it from the app, and any model that connects reads the same guide and the same history.
- Scoped keys and an audit trail. Keys are hashed and revocable. They are read-only unless you allow changes. Every change an agent makes shows up in the app under recent agent changes.
- Security in the database. Row Level Security and an email allowlist sit on every Supabase table, so the stateless API layer holds no secrets.
Design choices that mattered
Every screen has matching tools. I treated the agent as a first-class user, not an add-on. That keeps the two interfaces honest with each other.
The snapshot tool exists for the model's sake. The snapshot gives the model the saved meals and pantry data in one call. Handing it one well-shaped document is a tool-design decision, and I think it matters more than adding more tools.
Context belongs to the user. Putting the coaching guide in your own database means no single model owns the instructions. Swapping Claude for Gemini doesn't reset anything.
Permissions default to the cautious setting. Read-only keys are the default, and writes are visible afterwards. I want an agent's changes to be easy to spot and easy to question.
Installing it
Install is one prompt. A coding agent such as Claude Code, Codex or Cursor follows INSTALL.md to fork the repo, create the Supabase project, run the migrations and deploy to Vercel. It takes about ten minutes on free tiers. There is no subscription and no one else's server, and you can export your data at any time.
You can also try it without installing anything. The live demo runs entirely in the browser on sample data, and nothing is saved. The code is MIT licensed at github.com/farhan1301/openplate. For chats without MCP there is a copy-paste fallback.
My take
I think MCP servers should be designed like products. That means a deliberate tool surface, a snapshot tool so agents don't have to assemble context, scoped keys, and a visible audit trail. Most of the work in a tool like this is deciding what the model should be allowed to see and do, and how a person can check afterwards.
I also think small apps get more useful when they stop trying to host the intelligence. The app's job is to hold your data safely and describe itself clearly. The model's job is to reason over it. That boundary also makes the permission story easier to explain.
I built OpenPlate for myself, as an independent project, and it is a personal app, not an enterprise one. The pattern still carries over: put facts in a store the user controls, expose them through well-described tools, and keep agent writes scoped and visible.
Try it
Open the demo, look at the Nutrition and Fitness screens, then read the case study if you want the architecture. If you try the one-prompt install, I'd like to hear how it goes.
