sfda_drug_details
Pack: sfda-drugs · Endpoint: https://gateway.pipeworx.io/sfda-drugs/mcp
Full SFDA record for one entry from a list returned by sfda_drug_search or sfda_drug_shortages — registration number, trade/scientific name, price, and every other field the SFDA details page shows. Sourced from www.sfda.gov.sa details_data pages. Pass the nid and id from a row’s details ref.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
nid | string | yes | List node id from the details ref (e.g. “17582” for the drugs list). |
id | string | yes | Row id from the details ref (numeric for drugs, a generic-name string for shortages). |
Example call
Arguments
{
"nid": "17582",
"id": "1639"
}
curl
curl -X POST https://gateway.pipeworx.io/sfda-drugs/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sfda_drug_details","arguments":{"nid":"17582","id":"1639"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('sfda_drug_details', {
"nid": "17582",
"id": "1639"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"sfda-drugs": {
"url": "https://gateway.pipeworx.io/sfda-drugs/mcp"
}
}
}
See Getting Started for client-specific install steps.