fda_food_substance_search
Pack: fda-food-substances · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/fda_food_substance_search for the schema, then POST the same URL with its arguments for the data.
Search the US FDA Substances Added to Food inventory (formerly EAFUS) by substance name, CAS number or technical effect (for example “aspartame”, “22839-47-0”, “sweetener”). Returns matching substances with CAS number, what each is used for, the 21 CFR sections that cite it, and the substance_id to pass to fda_food_substance_get. Returns found false when nothing matches. The inventory is a partial list of food ingredients, and inclusion is not an FDA approval.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Substance name, partial name, CAS number or technical effect, e.g. “aspartame”. |
limit | number | no | Maximum substances to return, 1 to 50 (default 20). |
offset | number | no | Number of matches to skip, for paging (default 0). |
Example call
Arguments
{
"query": "aspartame"
}
curl
curl -X POST https://gateway.pipeworx.io/fda-food-substances/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fda_food_substance_search","arguments":{"query":"aspartame"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('fda_food_substance_search', {
"query": "aspartame"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
query | string | |
total_matches | number | |
offset | number | |
returned | number | |
has_more | boolean | |
substances | array | |
source | string | |
note | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"query": {
"type": "string"
},
"total_matches": {
"type": "number"
},
"offset": {
"type": "number"
},
"returned": {
"type": "number"
},
"has_more": {
"type": "boolean"
},
"substances": {
"type": "array",
"items": {
"type": "object",
"properties": {
"substance_id": {
"type": "string"
},
"substance": {
"type": "string"
},
"cas_number": {
"type": "string"
},
"used_for": {
"type": "array",
"items": {
"type": "string"
}
},
"cfr_sections": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
},
"source": {
"type": "string"
},
"note": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the fda-food-substances pack
{
"mcpServers": {
"fda-food-substances": {
"url": "https://gateway.pipeworx.io/fda-food-substances/mcp"
}
}
}
See Getting Started for client-specific install steps.