meps_top_drugs

Pack: meps · 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/meps_top_drugs for the schema, then POST the same URL with its arguments for the data.

The most-used prescription drugs in the United States, ranked by estimated number of people who filled them, with total and out-of-pocket spending. Answers what the most commonly taken medications in America are for a given year.

Parameters

NameTypeRequiredDescription
yearnumbernoSurvey year. Defaults to the most recent loaded.
order_bystringnoRanking measure, default people.
limitnumbernoMax drugs, default 25, max 100.

Example call

Arguments

{
  "limit": 20
}

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_top_drugs","arguments":{"limit":20}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('meps_top_drugs', {
  "limit": 20
});

More examples

{
  "order_by": "spending",
  "limit": 15
}

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 meps pack
{
  "mcpServers": {
    "meps": {
      "url": "https://gateway.pipeworx.io/meps/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 24, 2026