Chomptron logo

Chomptron

Generate recipes from available ingredients with Gemini, dietary filters, structured instructions, and serving details.

Install Chomptron

Run the project’s own setup commands, in order.

Setup steps from the project

chomptron installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install
    
  2. 2. Start the server
    npm start
    

Overview

The chomptron MCP server exposes Google Gemini recipe generation through an unauthenticated Streamable HTTP endpoint. Its `generate_recipe` tool accepts ingredients and optional dietary flags, then returns a generated recipe with practical cooking details. Reach for it when an MCP client needs meal ideas based on ingredients on hand, with a configurable daily request cap. The underlying Node.js service can run locally or on Google Cloud Run.

Use cases

  • Generate recipes from ingredients on hand
  • Apply dietary and allergy restrictions to meal ideas
  • Integrate recipe generation into an MCP-compatible assistant
  • Check Gemini-backed recipe service health and usage

Key features

  • Streamable HTTP MCP endpoint
  • Gemini-powered recipe generation
  • Dietary preference and allergy flags
  • Configurable daily MCP request limit
  • Per-instance recipe caching
  • Health, readiness, and usage endpoints

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 62d

How Chomptron works

What chomptron does

The chomptron MCP server turns a list of available ingredients into a recipe by sending the request to Google Gemini. The generated result can include a recipe name, measurements, serving information, preparation and cooking times, step-by-step instructions, and cooking tips. Dietary constraints can be supplied alongside the ingredients.

The MCP interface is available at /mcp using Streamable HTTP. It exposes one tool, generate_recipe, and does not require authentication. The same application also provides an HTTP recipe-generation endpoint at /api/generate-recipe, plus health and usage endpoints for service monitoring.

How it works

A client sends ingredients and optional dietary flags to the MCP endpoint. Supported preference fields include vegan, vegetarian, gluten-free, dairy-free, nut-free, shellfish-free, egg-free, and soy-free. The application uses the configured Gemini model to produce the recipe response.

The service keeps an in-memory cache per running instance. Cached entries can remain available for up to 24 hours, with a maximum of 100 recipes per instance. Requests through MCP are limited by a daily cap controlled by MCP_DAILY_RECIPE_LIMIT; the default is 20. Usage is persisted in the file specified by MCP_BUDGET_FILE, so restarting the process on the same instance does not reset the count.

Setup and configuration

Install dependencies with npm install, set a Google Gemini API key, and start the Node.js application with npm start. The local service listens on port 8080 unless PORT changes that value. GEMINI_MODEL selects the Gemini model and defaults to gemini-3.1-flash-lite.

The chomptron MCP server can also be deployed on Google Cloud Run. The repository describes a Node.js 24 and Express application with Cloud Build used for CI/CD. A Gemini API key is required, and model availability, quota, billing, and regional restrictions can affect requests. The project recommends checking Google’s usage information when quota errors occur.

Tools and capabilities

The chomptron MCP server provides:

  • generate_recipe over Streamable HTTP
  • Ingredient-based recipe generation
  • Optional dietary and allergy restrictions
  • Configurable Gemini model selection
  • Daily MCP request budgeting
  • Per-instance recipe caching
  • Health and readiness checks through /health and /ready
  • Usage statistics through /api/usage

The web application additionally stores recipe history in browser local storage and supports favorites, notes, ratings, search, export, serving scaling, printing, sharing, and dark mode. Those browser features are separate from the MCP tool interface.

Limitations and notes

Only one MCP tool is documented: generate_recipe. The endpoint is unauthenticated, so deployments should account for access control and request exposure outside the application’s built-in daily cap. The budget file preserves usage across restarts on the same instance, but the documented behavior is instance-local rather than a shared multi-instance quota.

Gemini free-tier quotas vary by model and account. Recipe output depends on the selected Gemini model and its available quota.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Chomptron

chomptron is an MCP server that connects MCP clients to Google Gemini for recipe generation. Its main tool, `generate_recipe`, accepts ingredients and optional dietary or allergy flags, then returns a generated recipe. It is exposed through an unauthenticated Streamable HTTP `/mcp` endpoint and supports a configurable daily request cap.

Install it with `npm install`, set `GEMINI_API_KEY`, and run `npm start`. The local application uses port 8080 by default, or the value of `PORT` if configured. The repository also documents deployment on Google Cloud Run.

Connect the client to the Streamable HTTP endpoint at `/mcp`. The endpoint is unauthenticated and exposes the `generate_recipe` tool, which accepts ingredients plus optional dietary flags. The hosted deployment is available at the project’s documented domain.

It supports vegan, vegetarian, gluten-free, dairy-free, nut-free, shellfish-free, egg-free, and soy-free flags. Pass the applicable preferences with the ingredients when calling `generate_recipe`.

Change the configured Gemini model, review Google AI usage and quota, or enable billing if required by the account.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChomptron AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/chomptron?style=directory)](https://allmcps.com/mcp/chomptron)
HTML Embed
<a href="https://allmcps.com/mcp/chomptron"><img src="https://allmcps.com/api/badge/chomptron?style=directory" alt="Chomptron on AllMCPs" /></a>