- Home
- MCP servers
- Medicare Part D
Medicare Part D
- javascript
0
GitHub Stars
javascript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You will use this Medicare Part D MCP Server to query public CMS data about drug spending and prescribers. It provides fast access to quarterly and annual spending, prescriber lookups, and top-drug spending insights through a single, public API endpoint. This server helps you build integrations and analyses without needing an API key.
How to use
To use the MCP server, point your MCP client to the live endpoint and select one of the available actions. You can retrieve drug spending details, analyze overall spending trends, look up prescribers by drug or NPI, identify the top-spending drugs, or search for drugs by name. If you need raw CMS data, you can query the API action directly, and a help action is available for quick guidance.
How to install
Prerequisites: you need Node.js and npm installed on your machine. You should also have a tool or client capable of consuming MCP endpoints.
# Clone the repository that contains the MCP server code
git clone https://github.com/stayce/partd-mcp-cloudflare
cd partd-mcp-cloudflare
# Install dependencies
npm install
# Deploy the MCP server to your Cloudflare Workers environment
npm run deploy
Additional notes
Data on the MCP server comes from CMS data.cms.gov, including the Medicare Part D Spending Dashboard and Part D Prescribers. The endpoint is publicly accessible and does not require an API key.
Live URL you can use in MCP clients: https://mcp-partd.medseal.app/mcp
Available actions and what they do
Available tools
drug
Retrieve drug spending details for a specific drug.
spending
Analyze spending across drugs with trends and summaries.
prescribers
Find prescribers by drug or NPI, with optional filters like state.
top
List top drugs by total Medicare Part D spending.
search
Search drugs by name or partial matches.
api
Access the raw CMS data API for programmatic queries.
help
Get guidance and available actions for the MCP server.