MCP Hub
Back to servers

partd-mcp

A specialized MCP server providing access to CMS Medicare Part D data, including drug spending trends from 2019-2024 and prescriber lookups by drug or NPI.

Tools
7
Updated
Jan 21, 2026

Medicare Part D MCP Server (Cloudflare Workers)

A Model Context Protocol (MCP) server for CMS Medicare Part D drug spending and prescriber data, deployed on Cloudflare Workers.

Live URL: https://partd-mcp-server.staycek.workers.dev/mcp

Features

  • Drug spending data (2024 quarterly, 2019-2023 annual)
  • Prescriber lookup by drug or NPI
  • Top drugs by Medicare spending
  • No API key required (public CMS data)
  • Single tool with 7 actions (token efficient)

Data Coverage

DatasetPeriodUpdated
Quarterly Spending2024 Q1-Q4Dec 2025
Annual Spending2019-2023May 2025
Prescriber Data2022Sep 2025

Actions

ActionPurpose
drugGet drug spending details
spendingFull spending analysis with trends
prescribersFind prescribers by drug or NPI
topTop drugs by total spending
searchSearch drugs by name
apiRaw CMS Data API
helpDocumentation

Usage with Claude

Add to your Claude Desktop config:

{
  "mcpServers": {
    "partd": {
      "type": "http",
      "url": "https://partd-mcp-server.staycek.workers.dev/mcp"
    }
  }
}

Examples

{"action": "drug", "drug": "Ozempic"}
{"action": "drug", "drug": "Eliquis", "dataset": "annual"}
{"action": "spending", "drug": "Humira"}
{"action": "prescribers", "drug": "Ozempic", "state": "CA"}
{"action": "prescribers", "npi": "1234567890"}
{"action": "top", "max_results": 20}
{"action": "search", "query": "insulin"}
{"action": "api", "dataset": "quarterly", "query": "metformin"}
{"action": "help"}

Deploy Your Own

  1. Clone and install:

    git clone https://github.com/stayce/partd-mcp-cloudflare
    cd partd-mcp-cloudflare
    npm install
    
  2. Deploy:

    npm run deploy
    

No secrets needed - CMS data is public.

Related

Data Source

All data from CMS data.cms.gov:

License

MIT

Reviews

No reviews yet

Sign in to write a review