# chomptron [Health: Active]

**Category:** 🛠️ Other Tools and Integrations  
**Repository:** https://github.com/swantron/chomptron  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/chomptron

## Description
Generate a recipe from ingredients on hand, with optional dietary restrictions. Free.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/swantron/chomptron), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
npm install
```

2. Start the server:

```sh
npm start
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/chomptron/readme_

