Nutrition MCP server
LiveEvery 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.
{
"mcpServers": {
"nutrientgraph": {
"type": "http",
"url": "https://api.nutrientgraph.com/mcp",
"headers": { "X-API-Key": "YOUR_KEY" }
}
}
}Tools
| Tool | What it does |
|---|---|
| food_search | Search foods by name |
| food_autocomplete | Suggest food names as you type |
| food_get | Get a food by id |
| food_get_many | Get several foods by id |
| food_groups | Food groups and preparation states |
| food_barcode | Look up a packaged product by barcode |
| food_barcode_batch | Look up many barcodes |
| food_nutrients_for_portion | Nutrients for a portion |
| food_analyze_ingredients | Analyse ingredient lines |
| food_meal_match | Match a meal to sourced foods |
| food_recipe_calculate | Calculate a recipe |
| food_cooking_yields | Find 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.