# Meps [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/pipeworx-io/mcp-meps  
**GitHub Stars:** 0  
**npm Downloads (last month):** 789  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/meps

## Description
MEPS — what Americans actually take, and what for.

## Tools
Capabilities this server exposes over MCP:

- **meps_drugs_for_condition** — 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.
- **meps_conditions_for_drug** — What a drug is actually being prescribed for in the US population, ranked by estimated people. Answers off-label and multi-use questions that a label or an approval database cannot: what gabapentin, metformin or amitriptyline are really used to treat in practice. Give a generic drug name.
- **meps_drug_use** — National prescription volume and spending for one drug: how many Americans filled it, how many fills, total spend across all payers and how much patients paid out of pocket. Population-wide rather than a single programme, so it answers how widely used a medicine is in the US and what share of its cost falls on patients.
- **meps_top_drugs** — 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.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "meps": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-meps"],
    "env": {
      "PIPEWORX_API_KEY": "",
      "PIPEWORX_META_TOOLS": "",
      "NODE_USE_ENV_PROXY": ""
    }
  }
}
```

**Requires environment variables:** `PIPEWORX_API_KEY`, `PIPEWORX_META_TOOLS`, `NODE_USE_ENV_PROXY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Meps does

Meps provides MCP access to US prescription drug utilization data derived from AHRQ's Medical Expenditure Panel Survey. The data covers the civilian, non-institutionalized population across payers, ages, insured status, and uninsured status. Its distinctive use is connecting prescriptions with the medical conditions recorded for them, supporting questions such as which drugs are associated with depression or which conditions are linked to a generic drug.

The available data starts in 2019. Conditions can be supplied as ordinary terms such as `depression`, `high cholesterol`, or `type 2 diabetes`, or as HCUP CCSR codes such as `MBD002`. Drug names use cleaned generic names, such as `atorvastatin` rather than a brand name.

## How it works

The hosted MCP endpoint is `https://gateway.pipeworx.io/meps/mcp`. A local package, `@pipeworx/mcp-meps`, provides a stdio bridge started with `npx`; it forwards calls to the same gateway and therefore requires network access. The full Pipeworx endpoint at `https://gateway.pipeworx.io/mcp` can also be used when all catalog packs should be available directly.

The pack endpoint includes shared Pipeworx gateway tools in addition to the Meps tools when connected through the hosted service. The local bridge lists the Meps tools by default and can expose the shared meta-tools with `PIPEWORX_META_TOOLS=1`. Requests can also be made without an MCP client through the gateway's HTTP tool API.

Underlying estimates are calculated from AHRQ public-use files for Prescribed Medicines, the Appendix to Event Files, and Medical Conditions. Condition labels come from the HCUP CCSR reference data. The refresh process checks AHRQ's file index monthly and loads years when the required files are available.

## Setup and configuration

Add the hosted endpoint to an MCP client:

```json
{
  "mcpServers": {
    "meps": {
      "url": "https://gateway.pipeworx.io/meps/mcp"
    }
  }
}
```

For a local stdio connection, use:

```json
{
  "mcpServers": {
    "meps": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-meps"]
    }
  }
}
```

Anonymous calls are supported with a daily limit. A Pipeworx account and `PIPEWORX_API_KEY` provide a higher daily allowance. The key is sent as a Bearer token. Set `PIPEWORX_META_TOOLS=1` to list gateway-wide tools through the local bridge. When using an HTTPS proxy, Node's environment proxy support may require `NODE_USE_ENV_PROXY=1`, depending on the Node version.

## Tools and capabilities

- `meps_drugs_for_condition` ranks drugs associated with a condition by the number of people treated.
- `meps_conditions_for_drug` lists conditions associated with a drug, including potential off-label-use questions.
- `meps_drug_use` reports one drug's national volume, total spending, and out-of-pocket share.
- `meps_top_drugs` ranks the most-used prescription drugs in a selected year.

Responses include `sample_persons`, the number of survey respondents supporting a row, and a `reliable` flag. Results default to at least 60 respondents; `min_sample` can expose smaller cells, which are marked unreliable.

## Limitations and notes

These are weighted survey estimates, not exact counts. They are better for broad rankings and approximate scale than for precise totals, small subgroups, or small year-over-year changes. Fewer than half of prescriptions may have an associated condition, so condition results represent captured links rather than all prescribing. A single fill can connect to multiple conditions; consequently, condition tables do not include expenditure totals.

Some entries represent therapeutic classes instead of individual products when more specific naming could identify a respondent. Cost rankings can therefore be dominated by class-level entries. Data from years before 2019 is not comparable because it uses older CCS condition coding rather than CCSR.

_Full upstream README: https://allmcps.com/mcp/meps/readme_

