Back to Browse

Costrail MCP Server

Developer ToolsLow Risk10.0MCP RegistryRemote
Free

Server data from the Official MCP Registry

Recipe food cost, butcher trim yield, and beverage pour cost calculations via Remote MCP.

About

Recipe food cost, butcher trim yield, and beverage pour cost calculations via Remote MCP.

Remote endpoints: streamable-http: https://www.food-cost-calculator.com/api/mcp

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry. Trust signals: trusted author (4/4 approved).

1 tool verified · Open access · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Applies to the server that hosts this plugin, not to your machine.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

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

Documentation

View on GitHub

From the project's GitHub README.

CostRail Food Cost Calculator MCP Server (com.food-cost-calculator/costrail)

Hosted Streamable HTTP Model Context Protocol (MCP) server for restaurant recipe food costing, butcher trim yield calculations, and bar pour cost math.


Quickstart: Connect in Your MCP Client

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

1. Cursor

Copy .cursor/mcp.json into your project's .cursor/mcp.json (or ~/.cursor/mcp.json globally):

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

2. Claude Code

Add the remote Streamable HTTP server directly from your terminal:

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

3. Claude Desktop

  • Option A (Connectors UI): Open Settings → Connectors → Add custom connector and enter https://www.food-cost-calculator.com/api/mcp.
  • Option B (claude_desktop_config.json): Use claude_desktop_config.json with mcp-remote:
{
  "mcpServers": {
    "costrail": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://www.food-cost-calculator.com/api/mcp"
      ]
    }
  }
}

4. Windsurf

Add CostRail to ~/.codeium/windsurf/mcp_config.json:

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

5. Antigravity

In Antigravity's mcp_config.json, register the remote Streamable HTTP endpoint:

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

Available MCP Tool

cost_dish_or_pour

Calculate plate cost, pour cost, food-cost percentage, and suggested menu price from natural language or structured ingredient descriptions.

  • Input Schema:
    {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Dish or pour description with pack prices and portion sizes"
        }
      },
      "required": ["text"]
    }
    
  • Example tools/call Payload (Dish):
    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "tools/call",
      "params": {
        "name": "cost_dish_or_pour",
        "arguments": {
          "text": "House burger plate cost"
        }
      }
    }
    
  • Example tools/call Payload (Pour):
    {
      "jsonrpc": "2.0",
      "id": 2,
      "method": "tools/call",
      "params": {
        "name": "cost_dish_or_pour",
        "arguments": {
          "text": "1.5 oz vodka pour cost"
        }
      }
    }
    

Discovery & Verification Endpoints

EndpointPurpose
https://www.food-cost-calculator.com/api/mcpStreamable HTTP JSON-RPC 2.0 MCP endpoint (POST for initialize, tools/list, tools/call; GET returns server summary & tools).
https://www.food-cost-calculator.com/.well-known/mcp.jsonMachine-readable MCP server manifest (protocolVersion: "2025-03-26", version 1.0.0, repository link).
https://www.food-cost-calculator.com/.well-known/mcp-registry-authEd25519 domain ownership proof (v=MCPv1; k=ed25519; ...) for the Official MCP Registry.
https://www.food-cost-calculator.com/.well-known/agent-card.jsonAgent-to-Agent (A2A) discovery card describing cost_dish_or_pour.
https://www.food-cost-calculator.com/llms.txtConcise llms.txt directory covering CostRail calculators, /kitchen, pricing, and WebMCP context.
https://www.food-cost-calculator.com/mcpWeb reference page with JSON-RPC 2.0 schemas and example payloads.

Web Calculators & Pricing


Verify Live with curl

Run the included smoke-test script (no token required):

chmod +x ./examples/verify-mcp.sh
./examples/verify-mcp.sh

Direct curl example:

curl -sS -X POST https://www.food-cost-calculator.com/api/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "cost_dish_or_pour",
      "arguments": { "text": "House burger plate cost" }
    }
  }'

Repository Contents


Publisher, Support & Policies

Zero-Install Stdio Bridge (npx)

For stdio-only MCP clients (like Claude Desktop), connect without cloning or managing dependencies:

{
  "mcpServers": {
    "costrail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "github:venkork/costrail-mcp"
      ]
    }
  }
}

Or run directly via terminal: npx -y github:venkork/costrail-mcp (package ID: costrail-mcp@1.0.0).

Reviews

No reviews yet

Be the first to review this server!