# CostRail Food Cost Calculator

> CostRail Food Cost Calculator is an open-source MCP server for hospitality operations. Remote MCP server that costs recipes, butcher trim yield and bar pours for AI clients. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, Web, vscode, self-hosted
- **Website:** https://www.food-cost-calculator.com
- **Repository:** https://github.com/venkork/costrail-mcp
- **MCP Registry name:** com.food-cost-calculator/costrail
- **Categories:** [hospitality operations](https://ai-powered.com/categories/hospitality-operations)
- **Listing updated:** 2026-11-18

## About

The README describes CostRail as a hosted Streamable HTTP endpoint that AI assistants can call to work out plate cost, food-cost percentage and a suggested menu price. Input is plain text, so a request can name a dish or a pour with pack prices and portion sizes, and the single exposed tool returns the costing figures.

The server is aimed at kitchen and bar operators who want to ask an assistant for costings inside tools like Cursor, Claude Code or Claude Desktop. Trim and yield handling is a specific focus: the site's examples show how a purchase price per pound is adjusted by usable yield to get an edible-portion cost.

Access to the public tool needs no API key or account, according to the README. The same company sells a web calculator and paid plans, but the MCP endpoint itself is documented as the free, guest-accessible route.

## Features

- **Single costing tool:** One tool, cost_dish_or_pour, takes a text description and returns plate or pour cost, food-cost percentage and suggested price.
- **Butcher trim yield:** Accounts for usable yield after trimming, peeling or cooking when turning invoice prices into edible-portion costs.
- **Bar pour costing:** Accepts pour descriptions such as a measured spirit serve and returns its cost.
- **Streamable HTTP transport:** Connects over HTTPS with no local install, and the README lists configs for several MCP clients.
- **Zero-install stdio bridge:** An npx option is provided for stdio-only clients such as Claude Desktop.

## Good for

- Asking an AI assistant for the plate cost and target price of a dish
- Estimating how a raw cut's yield changes its portion cost
- Costing a cocktail or spirit pour from a natural-language description
- Checking food-cost percentage while drafting a menu in an MCP-enabled editor

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http costrail https://www.food-cost-calculator.com/api/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://www.food-cost-calculator.com/api/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "costrail": {
      "url": "https://www.food-cost-calculator.com/api/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "costrail": {
      "type": "http",
      "url": "https://www.food-cost-calculator.com/api/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "costrail": {
      "serverUrl": "https://www.food-cost-calculator.com/api/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "costrail": {
      "type": "http",
      "url": "https://www.food-cost-calculator.com/api/mcp"
    }
  }
}
```

## Tools

- `cost_dish_or_pour`: Calculates plate cost, pour cost, food-cost percentage and suggested menu price from a text description.

## FAQ

### Does the MCP server require an account or API key?

The README says the public cost_dish_or_pour tool works over HTTPS with no API key or account required.

### What transport does it use?

It uses Streamable HTTP with JSON-RPC 2.0 at https://www.food-cost-calculator.com/api/mcp.

### What license is the code under?

The repository lists the MIT License.

### Is CostRail Food Cost Calculator free?

Yes. CostRail Food Cost Calculator is open source, so you can use and self-host it for free.

### How do I add CostRail Food Cost Calculator to Claude Code?

Run this command in your terminal: claude mcp add --transport http costrail https://www.food-cost-calculator.com/api/mcp

### What are the best alternatives to CostRail Food Cost Calculator?

The closest alternatives to CostRail Food Cost Calculator are Wai, Bookare, HostelMate and SOVIQ AI.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Wai](https://ai-powered.com/mcp/wai-3): Wai is an MCP server for hospitality operations.
- [Bookare](https://ai-powered.com/mcp/bookare): Bookare is a freemium MCP server for hospitality operations.
- [HostelMate](https://ai-powered.com/mcp/hostelmate-2): HostelMate is a paid MCP server for hospitality operations.
- [SOVIQ AI](https://ai-powered.com/mcp/soviq-ai): SOVIQ AI is a paid MCP server for hospitality operations.

---
Source: https://ai-powered.com/mcp/costrail-food-cost-calculator
