C
ChowAPI
AI Nutrition Assistant

Build an AI nutrition coach that actually knows food

MCP server for Claude. Function calling for GPT. AI-friendly errors. The only food API designed for AI agents.

AI assistants hallucinate nutrition data

LLMs guess calorie counts and make up macro splits. Your AI nutrition coach needs a reliable, real-time data source, not training data from 2023.

  • LLMs hallucinate calorie counts and macro breakdowns
  • No standard way to connect AI to live food databases
  • API errors don't tell AI assistants how to fix the issue
  • Integrating food lookup requires custom prompt engineering
  • Most food APIs weren't designed for programmatic AI access

How ChowAPI solves this

MCP server for Claude

One command: npx chowapi-mcp. Claude gets search_foods, barcode_lookup, and get_nutrients tools.

AI-friendly errors

Every error includes a .suggestion field telling AI exactly how to fix the issue.

Structured JSON responses

Clean, predictable JSON that AI can parse, reason about, and present to users.

Prompt packages

Pre-built system prompts for nutrition coaching, meal planning, and food logging.

Give Claude access to food data via MCP

Set up the MCP server so Claude can search foods autonomously.

claude_desktop_config.json
// 1. Install the MCP server
// npx chowapi-mcp

// 2. Add to claude_desktop_config.json
{
  "mcpServers": {
    "chowapi": {
      "command": "npx",
      "args": ["chowapi-mcp"],
      "env": {
        "CHOWAPI_KEY": "chow_live_YOUR_KEY"
      }
    }
  }
}

// 3. Claude now has these tools:
// - search_foods("chicken breast") → nutrition data
// - barcode_lookup("0030000575512") → product data
// - get_nutrients("food-uuid") → detailed breakdown

Relevant endpoints

MethodEndpointDescription
GET/v1/search?q={query}AI searches for foods by name
GET/v1/barcode/{code}AI scans barcodes from user input
GET/v1/foods/{id}/nutrientsAI gets detailed nutrient breakdown

Start building your ai nutrition assistant today

Credit packs from $5. Pay only for what you use.