4,000+ servers built on vurb.ts
Vinkius
Vercel AI SDKSDK
CMS.gov Data MCP Server

Bring Public Health
to Vercel AI SDK

Learn how to connect CMS.gov Data to Vercel AI SDK and start using 8 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.

MCP Inspector GDPR Free for Subscribers
Get Dataset MetadataGet Doctor By NpiGet Hospital RatingsList DatasetsSearch DoctorsSearch HospitalsSearch Nursing HomesSearch Providers By Specialty

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
CMS.gov Data

What is the CMS.gov Data MCP Server?

Connect to the Centers for Medicare & Medicaid Services (CMS) open data platform and query the US government's most comprehensive healthcare database.

What you can do

  • Provider Search — Search 2.4 million+ Medicare-enrolled doctors and clinicians by name, specialty, or location, with NPI numbers and practice addresses
  • Hospital Intelligence — Query hospital quality star ratings (1-5), types (Acute Care, Critical Access), and emergency services availability across all 50 states
  • Nursing Home Lookup — Search skilled nursing facilities and long-term care homes with quality ratings and provider details
  • Open Data Catalog — Browse and retrieve metadata from hundreds of CMS open datasets covering Medicare utilization, prescription drugs, and healthcare spending

How it works

  1. Subscribe to this server
  2. No API key required — CMS.gov is a public open data service
  3. Start querying healthcare data from Claude, Cursor, or any MCP-compatible client

Your AI agent gains direct access to the same data used by researchers, journalists, and policymakers to analyze the US healthcare system.

Who is this for?

  • Healthcare Researchers — query provider enrollment data and hospital quality metrics without navigating government portals
  • Journalists & Analysts — instantly retrieve Medicare provider statistics for data-driven reporting
  • Patients & Caregivers — find doctors by specialty and location, compare hospital ratings
  • Policy Professionals — access open datasets on healthcare spending, utilization, and outcomes

Built-in capabilities (8)

get_dataset_metadata

Returns the dataset title, full description, publication date, last modification date, and publisher information. Use the dataset ID obtained from list_datasets. Get detailed metadata for a specific CMS dataset

get_doctor_by_npi

Returns the provider's full name, primary and secondary specialties, practice address, city, state, ZIP code, and Medicare enrollment status. NPI is a unique 10-digit number (e.g. "1234567890"). Get detailed provider information by NPI number

get_hospital_ratings

Filter by US state code (e.g. "CA", "NY", "TX") to see hospitals in that state. Returns overall ratings (1-5 stars), hospital type, and emergency services. Without a state filter, returns top-rated hospitals nationwide. Get hospital quality ratings, optionally by state

list_datasets

gov. Returns dataset identifiers, titles, descriptions, publication dates, and last-modified timestamps. The CMS data catalog includes datasets on Medicare utilization, hospital quality measures, provider enrollment, prescription drugs, and more. List available CMS open data datasets

search_doctors

Accepts names, specialties, cities, or states. Returns NPI numbers, full names, primary specialty, practice addresses, and Medicare enrollment IDs. The database covers 2.4 million+ active providers across the United States. Search for doctors and clinicians enrolled in Medicare

search_hospitals

Accepts hospital names, cities, or states. Returns provider IDs, hospital names, types (Acute Care, Critical Access, etc.), overall quality ratings (1-5 stars), locations, and emergency services availability. Search for hospitals by name or location

search_nursing_homes

Returns facility names, provider IDs, locations, and overall quality ratings. Useful for finding elder care facilities in a specific area. Search nursing homes and long-term care facilities

search_providers_by_specialty

Examples: "Cardiology", "Internal Medicine", "Orthopedic Surgery", "Family Practice", "Dermatology", "Psychiatry". Returns matching providers with their NPI, name, practice location, and enrollment details. Search for healthcare providers by medical specialty

Why Vercel AI SDK?

The Vercel AI SDK gives every CMS.gov Data tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 8 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.

  • TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box

  • Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same CMS.gov Data integration everywhere

  • Built-in streaming UI primitives let you display CMS.gov Data tool results progressively in React, Svelte, or Vue components

  • Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency

See it in action

CMS.gov Data in Vercel AI SDK

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Why Vinkius

CMS.gov Data and 4,000+ other MCP servers. One platform. One governance layer.

Teams that connect CMS.gov Data to Vercel AI SDK through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.

4,000+MCP Servers ready
<40msCold start
60%Token savings
Raw MCP
Vinkius
Server catalogFind and host yourself4,000+ managed
InfrastructureSelf-hostedSandboxed V8 isolates
Credential handlingPlaintext in configVault + runtime injection
Data loss preventionNoneConfigurable DLP policies
Kill switchNoneGlobal instant shutdown
Financial circuit breakersNonePer-server limits + alerts
Audit trailNoneEd25519 signed logs
SIEM log streamingNoneSplunk, Datadog, Webhook
HoneytokensNoneCanary alerts on leak
Custom domainsNot applicableDNS challenge verified
GDPR complianceManual effortAutomated purge + export
Enterprise Security

Why teams choose Vinkius for CMS.gov Data in Vercel AI SDK

The CMS.gov Data MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 8 tools execute in hardened sandboxes optimized for native MCP execution.

Your AI agents in Vercel AI SDK only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

CMS.gov Data
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

The Vinkius Advantage

How Vinkius secures CMS.gov Data for Vercel AI SDK

Every tool call from Vercel AI SDK to the CMS.gov Data MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

Do I need an API key to use this server?

No. The CMS.gov Provider Data API is completely public and requires no authentication. Simply subscribe to this server to start querying Medicare provider data, hospital ratings, and open datasets immediately.

02

How current is the data?

CMS updates the Provider Data Catalog periodically, typically on a quarterly or monthly basis depending on the dataset. Hospital quality ratings are updated annually through the Hospital Compare program. All data is sourced directly from the official CMS.gov open data APIs.

03

What is an NPI number?

The National Provider Identifier (NPI) is a unique 10-digit identification number issued by CMS to every US healthcare provider. It's the universal standard for identifying doctors, hospitals, and healthcare organizations in Medicare and Medicaid transactions. You can search for any provider by their NPI using this server.

04

How does the Vercel AI SDK connect to MCP servers?

Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.

05

Can I use MCP tools in Edge Functions?

Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.

06

Does it support streaming tool results?

Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.

07

createMCPClient is not a function

Install: npm install @ai-sdk/mcp

Explore More MCP Servers

View all →