Graph Beta Get a free key

Nutrition MCP server

Live

Every food product as tools for Claude, ChatGPT, Cursor and agent frameworks.

A Model Context Protocol server with the same tools as the REST API: search, foods, barcodes, portions, ingredient lines, meals, recipes and yields. Results carry the same provenance and dataset version, so an assistant can cite them.

At a glance

Status
Live
Endpoint
POST /mcp
Cost
same units as REST
MCP tools
12 tools
Data
Food dataset 1.0.0, built 2026-10-10.

Connect a client

POST JSON-RPC 2.0 to /mcp with your key in X-API-Key; each tool has the input schema of its REST endpoint and the same units.

MCP client config
{
  "mcpServers": {
    "nutrientgraph": {
      "type": "http",
      "url": "https://api.nutrientgraph.com/mcp",
      "headers": { "X-API-Key": "YOUR_KEY" }
    }
  }
}

Tools

12 tools, the same as the REST endpoints
ToolWhat it does
food_searchSearch foods by name
food_autocompleteSuggest food names as you type
food_getGet a food by id
food_get_manyGet several foods by id
food_groupsFood groups and preparation states
food_barcodeLook up a packaged product by barcode
food_barcode_batchLook up many barcodes
food_nutrients_for_portionNutrients for a portion
food_analyze_ingredientsAnalyse ingredient lines
food_meal_matchMatch a meal to sourced foods
food_recipe_calculateCalculate a recipe
food_cooking_yieldsFind cooking-yield references

What is included

  • Streamable HTTP, JSON responses, one key for REST and MCP
  • Same input schemas and metering as the REST endpoints
  • Agent use allowed by the terms

How it differs

  • The full tool set, not a demo subset.
  • Results quote the source record and dataset version.
  • No requirement that a human makes each request.

Plans

One key and one plan cover every NutrientGraph product, this one included. Free: 2,500 units a month. Developer $19 and Pro $99 a month. Caching inside your product is allowed, and so is use by AI agents. Plans and units.

Status: Live. All products.