Ask Claude for Medicare Part B pricing in plain language, instead of calling the API yourself.
https://www.medpharmdata.com/mcphttps://www.medpharmdata.com/mcpNo API key to paste. Access is tied to your own account, is read-only, and you can revoke it at any time. Team and Enterprise workspaces have an owner add the connector first, then members connect individually.
Claude Code uses an API key rather than signing in:
claude mcp add --transport http medpharmdata https://www.medpharmdata.com/mcp \
--header "X-API-Key: $MPD_API_KEY"
Get a key from the API documentation — the same key works for both.
| Tool | What it does | Ask it like… |
|---|---|---|
search_hcpcs_codes |
Drug name to HCPCS code | "what's the code for infliximab?" |
get_payment_limit |
Payment limit and ASP, current or historical | "what does Medicare pay for J1745?" |
get_ndcs_for_hcpcs |
NDCs, labelers, package sizes and billing units | "which NDCs bill under Q5102?" |
list_quarters |
Which CMS quarters are loaded | "how current is this data?" |
All four are read-only. Nothing Claude does here can change your account or the data.
CMS publishes the payment limit, not the ASP. Every ASP figure is MedPharmData's estimate, and the tools say so with each number. If Claude summarises a figure without the caveat, ask it what basis was used.
| Protocol | Model Context Protocol, Streamable HTTP transport |
|---|---|
| Endpoint | https://www.medpharmdata.com/mcp (POST) |
| Authentication | OAuth 2.1 for claude.ai; API key as a bearer token for other clients |
| Capabilities | Tools only — no resources or prompts |
| Access | Read-only |
More on the protocol itself at modelcontextprotocol.io.
| Symptom | Likely cause |
|---|---|
| Asked to sign in repeatedly | Approval did not complete — reconnect and finish the consent screen. |
| Connector added but no tools appear | Remove and re-add it; the tool list is fetched once at connect time. |
| Claude Code returns 401 | Key missing, revoked, or the header name is wrong. It is X-API-Key. |
| "Rate limit exceeded" | 1000 requests per hour per key. Ask if you need more. |
Source data is published by CMS. MedPharmData loads it and derives ASP as described above; we do not alter published payment limits. Questions or a key request: get in touch.