Skip to content

Ask the hospital data

Live demo

Ask a question about U.S. hospital quality, or about what Medicare covers nationally, in plain English. Number questions are answered by writing SQL against the CMS Care Compare data; definition and coverage questions are answered from CMS documents. Either way, the page shows the SQL or the quoted source it used.

FastAPI Azure Container Apps PostgreSQL + pgvector Text-to-SQL Retrieval

Public demo on public CMS data. Questions are logged; no IP addresses are stored. Answers can be wrong, so check the SQL or the cited source. This is not medical advice, and a coverage answer summarizes national policy; it is not a decision about any person. Each question costs about a tenth of a cent and the demo has a small daily budget, so it may stop answering for the day.

3 to 300 characters. Press Enter to ask.

Try one