Drug Prices logo

Drug Prices

Compares CMS pharmacy acquisition costs, Medicare Part B payment limits, and HRSA 340B participation data.

Install Drug Prices

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "drug-prices": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-drug-prices"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Drug Prices separates weekly pharmacy acquisition costs from quarterly Medicare Part B payment limits, then adds HRSA 340B entity and contract-pharmacy lookups. Its tools query NADAC by drug or NDC, ASP limits by drug or HCPCS J-code, and compare both benchmarks without combining incompatible units. Reach for it when analyzing retail drug costs, provider reimbursement, oncology and infusion pricing, or 340B participation. All pricing tools are keyless.

Use cases

  • Compare pharmacy acquisition costs with Medicare Part B payment limits
  • Track weekly NADAC changes for a drug NDC
  • Check the applicable unit and vintage for an ASP payment limit
  • Find 340B-covered providers in a state
  • Map hospitals or health centers to their contract pharmacies

Key features

  • Weekly NADAC price lookup and history
  • Quarterly Medicare Part B ASP limits
  • Side-by-side NADAC and ASP comparison
  • 340B covered-entity search
  • 340B contract-pharmacy relationship lookup
  • NDC normalization and pricing-unit details

Tools6

What Drug Prices lets your agent do. Expand a tool for its parameters.

Verified live~1.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 63d

What it can do

From the 6 tools this server returned when we ran it.

Read-only tools · 6
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age29 days
Maintainers1

Observed 2026-10-23 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · @pipeworx/mcp-drug-prices (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.2kPackage downloads in the last 30 days.
Last commit21d agoMost recent push to the default branch.
Tools exposed6Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Drug Prices works

What Drug Prices does

Drug Prices provides US drug pricing benchmarks and 340B program lookups through MCP. Its pricing tools cover two distinct measures:

  • NADAC, the National Average Drug Acquisition Cost, represents what a retail pharmacy pays to acquire a product. It is published weekly and is generally keyed by NDC.
  • The Medicare Part B ASP payment limit represents what Medicare pays a provider for an administered drug. It is issued quarterly, commonly for oncology drugs, biologics, injectables, and vaccines, and is keyed by HCPCS J-code or drug name.

The server also searches HRSA 340B covered-entity registrations and the contract pharmacies associated with them. Results can identify participating provider sites, registration details, parent relationships, and pharmacy links.

How it works

NADAC data is queried live from the CMS dataset exposed through data.medicaid.gov. The server matches the requested drug or NDC before selecting the newest matching weekly record, which avoids mistaking a small correction file for the complete latest release. NDC inputs are normalized across dashed, 10-digit, and 11-digit formats. Results include both the week the price applies to and the date CMS published it.

CMS distributes ASP payment limits as quarterly ZIP files rather than through an API. Those files are ingested into an asp_payment_limits store and queried locally. Each ASP result includes both the quarter when the limit is in force and the earlier ASP-data quarter used to calculate it.

The comparison tool returns whichever of the two benchmarks exists and identifies their respective vintages. It intentionally does not calculate a margin or ratio because NADAC and ASP use different units and may represent data from different months.

340B searches use a mirror of HRSA OPAIS data. Covered-entity data is refreshed through a human-triggered export and load process, with the source date carried in each response.

Tools and capabilities

  • nadac_price: Find the latest NADAC record by drug name or NDC, including price, pricing unit, brand or generic status, and applicable week.
  • nadac_history: Retrieve weekly NADAC records for an NDC, ordered from oldest to newest, with percentage movement across the requested period.
  • asp_payment_limit: Look up a Medicare Part B limit by HCPCS J-code or drug name, including its dosage unit and source-data quarter.
  • drug_price_compare: Place NADAC and ASP results together while retaining each benchmark’s cadence, unit, and vintage.
  • b340_covered_entities: Search 340B entities by state, type, or name and return identifiers, registration dates, parent hospital information, Medicare CCN, NPIs, and contract-pharmacy counts.
  • b340_contract_pharmacies: Find pharmacies linked to a covered entity or identify covered entities served by a pharmacy, with location and relationship dates.

Limitations and notes

Drug-name matching for NADAC is literal. Brand products appear under their brand names while generics use ingredient names, so a failed search may require trying the alternative naming convention. NADAC is an acquisition cost, not a retail price or insurance copay. ASP is a provider payment limit per dosage unit, so the dosage unit must be preserved when interpreting the amount.

A drug may have only one benchmark: retail generics commonly have NADAC without ASP, while administered products may have ASP without a retail NADAC. The two values should not be treated as directly comparable financial margins.

340B identifiers apply to registered sites rather than entire health systems. Terminated registrations are excluded unless requested, and the dataset does not include contact-person records. The 340B source is refreshed periodically through a manual export workflow rather than an automated fetch.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Drug Prices

Drug Prices is an MCP server that connects AI agents to CMS drug pricing data and an HRSA 340B covered-entity mirror, exposing NADAC, ASP, comparison, and 340B lookup tools. It distinguishes pharmacy acquisition costs from Medicare Part B payment limits and returns timing, units, and source-vintage details needed for interpretation.

Use `nadac_price` with a drug name or NDC. It returns the latest NADAC per NDC, including the pricing unit, brand or generic classification, and week the price applies to. Drug names are matched literally, so try both a brand name and its ingredient name when necessary.

Use `asp_payment_limit` with a HCPCS J-code or drug name. The result includes the payment limit per dosage unit, the quarter it applies to, and the earlier ASP-data quarter used to derive it.

Yes. Call `drug_price_compare` with a drug name and optionally an NDC. It returns the available NADAC and ASP benchmarks with their separate units and vintages, but does not calculate a margin because the measures use different denominators and cadences.

Use `b340_contract_pharmacies` to search from a covered entity to its contract pharmacies or from a pharmacy to the covered entities it serves. Results include pharmacy location and contract start and termination dates.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDrug Prices AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/drug-prices?style=directory)](https://allmcps.com/mcp/drug-prices)
HTML Embed
<a href="https://allmcps.com/mcp/drug-prices"><img src="https://allmcps.com/api/badge/drug-prices?style=directory" alt="Drug Prices on AllMCPs" /></a>