{
  "markdown": "# Medicare Part D MCP Server\n\n**15 actions. $200B+ in drug spending data. One tool call.**\n\nA Model Context Protocol (MCP) server giving AI assistants instant access to CMS Medicare Part D drug spending, prescriber, and pricing trend data — deployed on Cloudflare Workers with sub-50ms global response times.\n\n**Live endpoint:** `https://mcp-partd.medseal.app/mcp`\n\nNo API key required. Public CMS data. Zero configuration.\n\n## What Can It Do?\n\n**Spending Analysis**\nGet current quarterly spending or full multi-year trend analysis for any Part D drug. Covers 2024 Q1-Q4 quarterly data and 2019-2023 annual trends.\n\n**Drug Comparison**\nCompare two drugs side-by-side: total spending, beneficiaries, cost per claim, year-over-year changes, and 4-year CAGR — all in one call.\n\n**Price Outlier Detection**\nSurface drugs with the biggest price increases or decreases. Filter by risers, fallers, or both. Powered by CMS year-over-year change data.\n\n**Generic Alternative Finder**\nGiven any brand-name drug, find all drugs sharing the same generic compound and compare costs per beneficiary. Shows potential savings percentage.\n\n**Prescriber Intelligence**\nLook up who prescribes what — by drug name, by state, or by NPI. Aggregate prescribing data with top drugs per provider.\n\n**Specialty Breakdown**\nSee which medical specialties prescribe a drug the most. Aggregated by provider type with claim counts and cost totals.\n\n**Geographic Patterns**\nPrescribing data broken down by state — see where drugs are prescribed most heavily across the US.\n\n**Manufacturer Portfolio**\nLook up any drug manufacturer to see their full Part D portfolio: all drugs, combined spending, beneficiary counts.\n\n**Dashboard Summary**\nOne-call overview of the entire Part D landscape: top drugs by spending, most prescribed by beneficiaries, biggest price movers.\n\n**Top Rankings**\nRank drugs by spending, beneficiaries, or claims. Sortable. Configurable result count.\n\n## Quick Start\n\nAdd to your Claude Desktop or Claude Code config:\n\n```json\n{\n  \"mcpServers\": {\n    \"partd\": {\n      \"type\": \"url\",\n      \"url\": \"https://mcp-partd.medseal.app/mcp\"\n    }\n  }\n}\n```\n\nThat's it. Start asking about drug spending.\n\n## Actions\n\n| Action | Purpose |\n|--------|---------|\n| `drug` | Get drug spending details (quarterly or annual) |\n| `spending` | Full spending analysis with current + trend data |\n| `compare` | Side-by-side comparison of two drugs |\n| `outliers` | Drugs with biggest price increases/decreases |\n| `generics` | Find generic alternatives, compare costs |\n| `specialty` | Prescribing patterns by provider specialty |\n| `prescribers` | Find prescribers by drug, state, or NPI |\n| `geography` | Prescribing patterns by state/region |\n| `manufacturer` | All drugs by a manufacturer |\n| `top` | Top drugs by spending, beneficiaries, or claims |\n| `search` | Search drugs by name |\n| `summary` | Dashboard overview of Part D landscape |\n| `stats` | Dataset metadata and statistics |\n| `api` | Raw CMS Data API escape valve |\n| `help` | Full documentation |\n\n## Examples\n\n```json\n{\"action\": \"summary\"}\n{\"action\": \"compare\", \"drug\": \"Ozempic\", \"drug2\": \"Mounjaro\"}\n{\"action\": \"outliers\", \"direction\": \"risers\", \"max_results\": 10}\n{\"action\": \"generics\", \"drug\": \"Humira\"}\n{\"action\": \"specialty\", \"drug\": \"Eliquis\"}\n{\"action\": \"spending\", \"drug\": \"Ozempic\"}\n{\"action\": \"prescribers\", \"drug\": \"Ozempic\", \"state\": \"CA\"}\n{\"action\": \"geography\", \"drug\": \"Eliquis\"}\n{\"action\": \"manufacturer\", \"manufacturer\": \"Eli Lilly\"}\n{\"action\": \"top\", \"sort\": \"beneficiaries\", \"max_results\": 20}\n{\"action\": \"search\", \"query\": \"insulin\"}\n{\"action\": \"drug\", \"drug\": \"Eliquis\", \"dataset\": \"annual\"}\n```\n\n## Data Coverage\n\n| Dataset | Period | Records |\n|---------|--------|---------|\n| Quarterly Spending | 2024 Q1-Q4 | All Part D drugs |\n| Annual Spending Trends | 2019-2023 | YoY + 4-year CAGR |\n| Prescriber by Drug | 2022 | Provider-level claims |\n| Prescriber by Provider | 2022 | Full provider profiles |\n| Prescriber by Geography | 2022 | State-level aggregates |\n\nSource: [CMS data.cms.gov](https://data.cms.gov) — updated quarterly, no authentication required.\n\n## Target Users\n\n- **Health policy analysts** — track drug spending trends, identify cost outliers\n- **Healthcare journalists** — investigate pricing patterns, manufacturer portfolios\n- **Pharmacy benefit managers** — compare drug costs, find generic alternatives\n- **Health IT developers** — integrate Medicare spending data into applications\n- **AI/LLM builders** — give your agents Medicare drug intelligence\n- **Researchers** — prescribing patterns by specialty, geography, provider\n\n## Key Advantages\n\n- **No API key** — public CMS data, zero configuration\n- **Token efficient** — single tool with action dispatch, LLMs learn one schema\n- **Sub-50ms latency** — Cloudflare Workers edge network, global deployment\n- **Analytical depth** — not just lookups: comparisons, outlier detection, savings analysis\n- **5 CMS datasets** — spending, trends, prescribers, providers, geography\n- **Always current** — CMS quarterly updates, 1-hour edge caching\n\n## Deploy Your Own\n\n```bash\ngit clone https://github.com/stayce/partd-mcp-cloudflare\ncd partd-mcp-cloudflare\nnpm install\nnpm run deploy\n```\n\nNo secrets needed. No environment variables. Just deploy.\n\n## MedSeal MCP Suite\n\nPart of a growing collection of healthcare MCP servers:\n\n| Server | Data | Actions | Live |\n|--------|------|---------|------|\n| **[partd-mcp](https://github.com/stayce/partd-mcp-cloudflare)** | Medicare Part D spending & prescribers | 15 | [mcp-partd.medseal.app/mcp](https://mcp-partd.medseal.app/mcp) |\n| **[icd-mcp](https://github.com/stayce/icd-mcp-cloudflare)** | WHO ICD-10 & ICD-11 codes | 12 | [mcp-icd.medseal.app/mcp](https://mcp-icd.medseal.app/mcp) |\n| **[icf-mcp](https://github.com/stayce/icf-mcp-cloudflare)** | WHO ICF functioning codes | 6 | [mcp-icf.medseal.app/mcp](https://mcp-icf.medseal.app/mcp) |\n\nTogether: diagnosis codes, functioning classification, drug spending, and prescriber data — all accessible to any MCP-compatible AI assistant.\n\n## License\n\nMIT\n",
  "bytes": 6082,
  "sha": "d23dde8afc13416fa3d053e71fd8ea8a8bf9e372fb13d5db91c1039724194145",
  "repo_slug": "stayce/partd-mcp-cloudflare",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_stayce_partd_mcp_e41d85ce/readme"
}