CMS Healthcare Data MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP health endpoint port (default: 3000). | 3000 |
| API_KEY | No | Optional API key for authentication. | |
| DEMO_MODE | No | Set to 'true' to run with embedded sample data (no database required). Default is 'true'. | true |
| DATABASE_URL | No | PostgreSQL connection string. Required only when DEMO_MODE=false. | |
| RATE_LIMIT_PER_MINUTE | No | Rate limit per minute (default: 100). | 100 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_datasetsA | List all available CMS healthcare datasets with metadata including source, update frequency, row count, key fields, and available filters. Always call this first to understand what data is available. |
| get_schemaA | Return the full field schema (names, types, descriptions, examples) for a specific CMS dataset. Use this before get_data to understand available fields and filter parameters. |
| get_dataA | Retrieve filtered records from a CMS dataset. Supports filtering by date range, geography, diagnosis codes, provider identifiers, and more. Results are cached (24h for reference data, 5min for transactional). Returns JSON with data lineage metadata. |
| run_queryA | Execute a pre-approved named query template with parameters. Templates cover common RWE analyses: HCC grouping, readmission benchmarks, MIPS performance summaries, drug cost trends. Use get_sample_queries to see available templates. |
| cache_statusB | Return current cache statistics: key count, hit/miss ratio, memory usage. Useful for understanding whether responses are served from cache vs live data. |
| get_sample_queriesA | Return example queries and query templates for a given dataset. Includes realistic RWE use cases with parameter examples. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SaeMind/mcp-server-for-cms-healthcare-data-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server