SDKs
Official client libraries and an MCP server for AI assistants.
TypeScript / JavaScript
npmComing soonnpm install chowapiPackage not yet published. Use the REST API directly in the meantime.
import { ChowAPI } from 'chowapi'
const chow = new ChowAPI('chow_live_YOUR_KEY')
// Search
const { results } = await chow.search('chicken breast')
// Barcode lookup
const food = await chow.barcode('0030000575512')
// Detailed nutrients
const detailed = await chow.nutrients(food.id)
// Get detailed nutrients for a food
const nutrients = await chow.nutrients(food.id)Python
PyPIComing soonpip install chowapiPackage not yet published. Use the REST API directly in the meantime.
from chowapi import ChowAPI
chow = ChowAPI("chow_live_YOUR_KEY")
# Search
results = chow.search("chicken breast")
# Barcode lookup
food = chow.barcode("0030000575512")
# Detailed nutrients
detailed = chow.nutrients(food.id)MCP Server
npmComing soonGive Claude Desktop or Claude Code access to food search, barcode lookup, and nutrient data as native tools.
npx chowapi-mcpPackage not yet published. Use the REST API directly in the meantime.
See the full setup guide at AI → Claude.