# @pipeworx/mcp-cms-drug-price-negotiation [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/pipeworx-io/mcp-cms-drug-price-negotiation  
**GitHub Stars:** 0  
**npm Downloads (last month):** 848  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pipeworx-mcp-cms-drug-price-negotiation

## Description
CMS Medicare drug price negotiation: the Maximum Fair Price (MFP) for every drug CMS has selected under the Inflation Reduction Act.

## Tools
Capabilities this server exposes over MCP:

- **mfp_lookup** — Look up the Medicare negotiated Maximum Fair Price (MFP) for a drug selected under the Inflation Reduction Act drug price negotiation program, by brand name (Enbrel, Farxiga, Ofev), generic or active ingredient (etanercept, dapagliflozin) or NDC. Returns the price per 30-day equivalent supply for each year 2026-2028 (in effect, ended by deselection, not yet effective, or selected with the price not yet published), with the CMS source and data_as_of. A drug that is not on any selected list returns selected:false with an explicit statement, never a zero price.
- **mfp_selected_drugs** — List the drugs CMS has selected for Medicare drug price negotiation, with their Maximum Fair Prices. Filter by initial price applicability year (2026 = first cycle, announced 2024-08; 2027 = second cycle, 15 drugs; 2028 = third cycle, selected, prices not yet published as of the CMS file).

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

```json
"mcpServers": {
  "mcp-cms-drug-price-negotiation": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-cms-drug-price-negotiation"]
  }
}
```

## Documentation

## What @pipeworx/mcp-cms-drug-price-negotiation does

@pipeworx/mcp-cms-drug-price-negotiation makes CMS Medicare Drug Price Negotiation data available through the Model Context Protocol. It covers drugs selected under the Inflation Reduction Act program and provides their Maximum Fair Price (MFP) by year. The source data comes from CMS's Selected Drug List and Maximum Fair Price data and is public-domain US federal data.

The service distinguishes between several states rather than treating every lookup as a price query. A result can indicate that a drug was not selected, that a negotiated price is currently in effect, that a previous selection ended through deselection, that a price is not yet effective, or that a selected drug does not yet have a published price.

## How it works

The hosted MCP endpoint is available at `https://gateway.pipeworx.io/cms-drug-price-negotiation/mcp`. A client can connect to that URL and discover the pack's tools. The same gateway also offers a full-gateway endpoint at `https://gateway.pipeworx.io/mcp`; either route can use the shared `ask_pipeworx` capability to route questions across the wider Pipeworx catalog.

The package also provides a local stdio adapter. When started with `npx`, it forwards MCP calls to the hosted endpoint, so it requires network access and has no offline mode. Anonymous calls are supported with a daily limit, while a Pipeworx account and API key provide a higher limit. The hosted and local approaches use the same underlying gateway data.

## Setup and configuration

For a hosted connection, add the MCP URL to a compatible client:

```json
{
  "mcpServers": {
    "cms-drug-price-negotiation": {
      "url": "https://gateway.pipeworx.io/cms-drug-price-negotiation/mcp"
    }
  }
}
```

For a local stdio connection, configure the package as an npm command:

```json
{
  "mcpServers": {
    "cms-drug-price-negotiation": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-cms-drug-price-negotiation"]
    }
  }
}
```

Set `PIPEWORX_API_KEY` in the client environment when using an account key. The local bridge lists the pack's own tools by default. Setting `PIPEWORX_META_TOOLS=1` also exposes the gateway-wide tools, including discovery and routing functions. The hosted connection is keyless for initial calls.

The server can also be called over HTTP. For example, POST a JSON body containing a `drug` value to `/v1/tools/mfp_lookup` on the gateway. Tool inspection and pack search are available through the corresponding gateway HTTP endpoints.

## Tools and capabilities

- `mfp_lookup(drug, year?)` accepts a brand name, generic or active ingredient, or National Drug Code. It returns the MFP per 30-day equivalent supply and the drug's selection status for the available years, 2026 through 2028.
- `mfp_selected_drugs(ipay?)` lists selected drugs for an initial price applicability year and includes their MFP by year. The selected sets contain 10 drugs for 2026, 15 for 2027, and 15 for 2028; 2028 prices are not yet published.
- Responses include `data_as_of`, identifying the latest date stamped by CMS on the source file.
- Brand names are grouped according to CMS conventions, so multiple brands can share one negotiated MFP.

## Limitations and notes

Prices represent a 30-day equivalent supply, not an individual unit or package. Annual inflation adjustments mean that a drug selected for one cycle can have a different figure in a later year. CMS can also revise the data when it adjusts prices, deselects drugs, or announces another cycle.

Stelara, Entresto, Xarelto, and NovoLog/Fiasp were deselected, so their negotiated prices end on December 31, 2026. The npm bridge depends on the remote gateway and therefore cannot answer while it lacks network access. A scoped pack endpoint also lists shared Pipeworx meta-tools alongside the pack tools when that option is enabled; the exact tool scope is reported during MCP initialization.

The package is released under the MIT license.

_Full upstream README: https://allmcps.com/mcp/pipeworx-mcp-cms-drug-price-negotiation/readme_

