sfda_drug_search
Pack: sfda-drugs · Endpoint: https://gateway.pipeworx.io/sfda-drugs/mcp
Search Saudi Arabia registered human drugs with official SFDA prices in SAR. Scans the SFDA registered-drugs price list (sourced from www.sfda.gov.sa/en/drugs-list, ~14,000+ drugs across ~1,400 pages of 15-20 rows) and filters rows locally by scientific (generic) or trade name, because the SFDA site currently ignores its own search parameters. A single call scans a bounded window of pages, so to search the whole list keep calling with the returned next_page until done:true or you have enough matches. Omit query to simply browse pages in order. Each row carries a details ref for sfda_drug_details.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Case-insensitive substring matched against scientific name AND trade name (e.g. “metformin”, “panadol”). Omit to list rows unfiltered. |
start_page | number | no | Zero-indexed page of the SFDA list to start scanning from. Default 0. |
pages_to_scan | number | no | How many consecutive pages to scan in this call (1-30). Default 10. |
Example call
Arguments
{
"query": "zantac",
"pages_to_scan": 3
}
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_search","arguments":{"query":"zantac","pages_to_scan":3}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('sfda_drug_search', {
"query": "zantac",
"pages_to_scan": 3
});
More examples
{
"start_page": 0,
"pages_to_scan": 5
}
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.