meps_drugs_for_condition
Pack: meps · Endpoint: https://gateway.pipeworx.io/meps/mcp
Which prescription drugs Americans actually take for a given medical condition, with a national estimate of how many people take each one. Covers the whole US population — every payer, every age, commercial and uninsured included, not just Medicare or Medicaid. Ask with a plain condition name like “depression”, “high cholesterol”, “type 2 diabetes” or “asthma”. Returns drugs ranked by estimated people treated, each with the survey sample behind it.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
condition | string | yes | Condition in plain words (“depression”, “high blood pressure”), or a CCSR category code like MBD002. |
year | number | no | Survey year. Defaults to the most recent loaded. |
min_sample | number | no | Minimum survey respondents behind a row, default ${DEFAULT_MIN_PERSONS}. Lower it to see the long tail, knowing those estimates are weak. |
limit | number | no | Max drugs, default 20, max 100. |
Example call
Arguments
{
"condition": "depression"
}
curl
curl -X POST https://gateway.pipeworx.io/meps/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"meps_drugs_for_condition","arguments":{"condition":"depression"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('meps_drugs_for_condition', {
"condition": "depression"
});
More examples
{
"condition": "high cholesterol",
"limit": 10
}
{
"condition": "type 2 diabetes"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"meps": {
"url": "https://gateway.pipeworx.io/meps/mcp"
}
}
}
See Getting Started for client-specific install steps.