Local restaurant math: food cost, menu price with VAT, recipe scaling and the EU allergen matrix.
MCPpedia last refreshed this data
io.github.CloudCorpRecords/dishmath is an MCP server that local restaurant math: food cost, menu price with VAT, recipe scaling and the EU allergen matrix. Its tool list has not been published yet over stdio and sse, requires no API key, and scores 61/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"dishmath": {
"args": [
"-y",
"@reneturcios/dishmath",
"mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Local restaurant math: food cost, menu price with VAT, recipe scaling and the EU allergen matrix.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y '@reneturcios/dishmath' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @reneturcios/dishmath against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in entertainment
The official MCP Server for the Mux API
Give Claude the ability to watch and understand videos — Claude Code plugin with frame extraction and multimodal audio analysis
MCP server for WoW addons: Lua API, UI source, CVars, art, linting, plus model export to glTF/OBJ.
Make games with AI: one MCP server that connects your agent to Unity, Unreal and Godot editors.
MCP Security Weekly
Get CVE alerts and security updates for io.github.CloudCorpRecords/dishmath and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Restaurant arithmetic that runs entirely on your own machine: what a plate costs to make, what to charge for it, how a recipe changes between portion counts, and which dishes a guest with an allergy must avoid. There is no account, no key and no network call — every answer is computed locally from the numbers you pass in.
Money is rounded half-up to two decimals and percentages to one
decimal. An optional ISO currency code (default EUR) changes only
how amounts are printed.
Worked example, plate cost €3.20 at a 30% target with 10% VAT and a 0.50 rounding step:
Net price (before tax): €10.67
Price incl. 10% tax: €11.74
Menu price (rounded up to 0.5): €12.00
Gross profit per plate (net of tax): €7.71
Real food cost after rounding: 29.3%
npx @reneturcios/dishmath menu_price_calculator '{"plate_cost":3.20,"target_food_cost_percent":30,"vat_percent":10,"rounding_step":0.50}'
npx @reneturcios/dishmath food_cost_calculator '{"ingredients":[{"name":"flour","quantity":0.5,"unit":"kg","unit_cost":1.20}],"target_food_cost_percent":30}'
npx @reneturcios/dishmath recipe_scaler '{"ingredients":[{"name":"flour","quantity":500,"unit":"g"}],"original_portions":4,"target_portions":6}'
npx @reneturcios/dishmath allergen_matrix '{"dishes":[{"name":"Shrimp pasta","allergens":["shrimp","gluten"]}]}'
npx @reneturcios/dishmath --version
Each tool subcommand takes a single JSON argument string and prints the result as plain text. Exit codes: 0 on success, 1 on a calculation or validation error, 2 on a usage error.
npx -y @reneturcios/dishmath mcp
MCP client configuration:
{
"mcpServers": {
"dishmath": {
"command": "npx",
"args": ["-y", "@reneturcios/dishmath", "mcp"]
}
}
}
Tools exposed over MCP: food_cost_calculator,
menu_price_calculator, recipe_scaler, allergen_matrix.
docker run -i ghcr.io/cloudcorprecords/dishmath
docker run --rm ghcr.io/cloudcorprecords/dishmath menu_price_calculator '{"plate_cost":3.20,"target_food_cost_percent":30,"vat_percent":10,"rounding_step":0.50}'
The container's default command is mcp, so the first form starts
the stdio MCP server; any other arguments reach the CLI.
npm install
npm run build
npm test
npm run dev
MIT — see LICENSE.