Hospital Ledger·Free forever · No signup · No cookies

What does your hospital actually charge?

Compare prices from 5,578 U.S. hospitals. Every price comes straight from that hospital's own published price file — the file federal law requires it to post. Of the 4,625 hospitals the law covers, we have verified a live file for 3,873.

CMS makes hospitals post their prices, but it doesn't collect them in one place — each file sits on its own hospital's website, in its own format, and CMS's list leaves out some facilities that do post one. We track 5,990 facilities — more than the 5,426 on CMS's list — and we put their files into one standard format you can search.

How we count: the headline number counts only hospitals whose file gave us at least one usable price. The full counts are in /data/summary.json and /api/prices-index. Our registry tracks 5,990 facilities. For scale, the American Hospital Association counts 6,100 U.S. hospitals, and CMS says the rule reaches over 7,000 licensed facilities — details in /about-the-numbers. The index holds 87,634,617 prices.

Why isn't every hospital here?

Of the 3,873 hospitals the law covers that have a verified live file, 3,851 have prices you can search here. The other 22 don't yet:

  • 3 are in the index, but their entry has no prices in it yet.
  • 19 aren't in the price index yet.

The headline also counts 1,727 hospitals outside that group — they post files even though they aren't on CMS's required list. The groups are counted differently, so the totals don't add up.

An entry with no prices doesn't mean the hospital's file is empty or that it broke the rule — the file may have failed to download or parse, and those are still being investigated. Full breakdown at /about-the-numbers and /api/coverage.

Disclaimer: prices are reproduced as published in each hospital's machine-readable file and may be incomplete, outdated, or inconsistent. They are not a quote and not a guarantee of cost — what you actually pay depends on your insurance, the specific services, and negotiated rates. Always confirm directly with the hospital and your insurer before relying on any figure here. Hospital Ledger is an independent public-interest project, not affiliated with CMS, HHS, or any hospital.

Free forever, no signup
Cookieless analytics — no ad trackers
Built from each hospital's MRF (45 CFR § 180)
Open source · CC0 public data
Hospitals · with prices
5,578
with searchable prices
Procedures
5,000
comparable across hospitals
Insurance plans
200+
canonical brands · 21,600+ raw plan names
Cost
$0
always free, public benefit
01Find a price

Three ways to start.

Search by what you need, your insurance, or the hospital you're going to. Every price is straight from that hospital's own published file.

A.What you need
Type the name ("colonoscopy") or the CPT/HCPCS code (45378).
B.What you have
See every hospital that has a negotiated rate with your plan.
C.Where you're going
Get its compliance grade plus its top procedure prices.

Every price comes straight from the hospital's own published price file. The "cash price" is the discount for paying yourself that the law makes them publish. What you actually pay depends on your plan, your deductible, and your copay.

02How it works

Three steps. No fees, no signup.

01

Search

Type a procedure name ("MRI knee"), a CPT code (73721), an insurer, or a hospital. We match it against 5,578 U.S. hospitals' published price files.

02

Compare

See the gross price, the cash discount, and the rate every insurance plan negotiated — side by side across hundreds of hospitals.

03

Decide

Pick the hospital that costs less for the procedure you need. Bring the price to your appointment if there's a dispute. (Always confirm directly — we publish what they published.)

03Why this exists

The law's been on the books since 2021. The database wasn't.

  • ▸Under 45 CFR § 180, every hospital the rule covers must publish a price file — gross charges, cash prices, negotiated rates, and min/max — free, public, no signup.
  • ▸Hospitals publish files in many different formats. We have verified a live file for 3,873 of the 4,625 hospitals the law covers. Separately, prices are live here for 5,578 hospitals.
  • ▸A working file link and a searchable price are two different things. We measure the gap hospital by hospital, not by subtracting totals that count different groups. See /about-the-numbers for the live breakdown.
  • ▸Mark Cuban built Cost Plus Drugs for the same reason — pricing transparency in healthcare. We're doing it for hospitals.
04How we built this

Three days to launch. Rebuilt deeper. ~4 person-years of human work — updated daily.

Hospital Ledger launched in May 2026 from a three-day build by two AI coding agents — Claude Code and OpenAI Codex — working in parallel under one operator. In September 2026 the dataset was rebuilt from scratch at greater depth — a 5,000-code CPT index, payer files, CMS enforcement records — and put on an autonomous pipeline that keeps it current: pricing waves re-ingest changed hospital files every day, and compliance is re-verified every week. The headline number isn't a vibe — it's a sum of real per-step rates a competent analyst with Excel, Power Query, and Python would actually hit. Every hospital labels "gross charge", "cash price", "negotiated rate", and "CPT code" differently; the CMS rule mandates the data points, not the column names. So every file is a new schema-mapping problem.

Show the math (per step, defensible rates)
StepVolumePer-unit rate (human)Hours
Parse each MRF (download · open · map columns · normalize · QA)5,581 parsed outputs; 5,578 with rows~77 min avg (90% × 66 min clean + 10% × 180 min hard)7,162
Find candidate MRF URLs from CMS + transparency pages4,625 hospitals~5 min / hospital385
Probe URLs for liveness (curl / browser open)7,191 URLs~1 min / URL120
Rediscover dead links by hunting each hospital's site~1,000 dead/missing~15 min each250
Canonicalize payer names (Aetna vs AETNA vs Aetna Health Inc.)68,528 raw rows~250 wpm reading + ~500 unique merges50
Validate CPT / HCPCS codes against AMA reference5,000 codes~3 codes / min spot-check + cleanup30
Ingest + link CMS enforcement actions to CCNs8,642 recordsstructured CSV, mostly automated10
Build the cross-hospital price index (joins, dedup, pivots)19,648,946 CPT / HCPCS rowsExcel/Power Query at solo-analyst pace40
Design + build the SSR site, API, search, charts7 page types, 10 API endpointssolo full-stack dev300
Total≈ 2,080 hr / person-year (full-time)~8,347

≈ 4.01 person-years at 40 hr/week fully-utilized, or roughly 8–9 calendar years for one analyst working a sustainable 20 hr/week on the side. And that is just the build — keeping it current never ends: the pipeline re-checks dozens of hospitals every night and re-verifies compliance weekly, work a human team would have to staff forever. The 99 GB of raw MRF data is too large to retype — nobody types it; they normalize. The cost is mapping, not keystrokes. Reading speed (~250 wpm) and typing speed (~40 wpm) only show up inside the per-MRF column-mapping pass and the payer-name canonicalization row.

What this would cost if I charged for it
If a contracting firm built it
~$835,000
8,347 hr × $100/hr — the midpoint of published US healthcare data-analyst freelance rates ($93–$160/hr per ZipRecruiter + goLance 2026). Senior healthcare specialists quote ~$200/hr — that's a $1.67M build.
Commercial alternative
"Contact sales"
Every aggregator selling this data (Turquoise Health, Serif Health, PayerPrice, Trilliant) hides pricing behind a sales call. None publishes a number on its public site. The absence is the answer.
What we charge
$0
Free forever. CC0 public-domain data. AGPLv3 code. No signup, no API key, no rate-limited tier. The full dataset and the full source — including the search, the API, and the cross-hospital price index — are and will stay free.

The hospitals were already legally required to publish this data under 45 CFR § 180. Aggregating it into one queryable place doesn't make it ours to sell — it just makes it actually usable.

Raw data processed
99 GB
MRF data processed for the September 2026 rebuild
MRFs parsed
5,581
5,578 of them have prices live here
URLs probed
7,191
TPAFS seed + email-domain + Wayback
Enforcement records
8,642
CMS warning · CAP · CMP · closure
The 11-stage pipeline
  1. Seed the CMS hospital universe (5,426 facilities)
  2. Load TPAFS MRF URL seeds, probe each for liveness
  3. Rediscover dead URLs from each hospital's transparency page
  4. Exa web search fallback for the still-missing
  5. Claude / Codex agent loop on the hardest holdouts
  6. CMS-HPT marker files + email-domain expansion
  7. Wayback Machine fallback for vanished URLs
  8. Fetch + parse CSV / JSON / XLSX / ZIP into one unified schema
  9. Ingest CMS enforcement (warning / CAP / CMP / closure)
  10. Build cross-hospital CPT / HCPCS price index
  11. SSR site on a Cloudflare Worker + R2 data + JSON API
Why this didn't exist before
  • ▸Commercial aggregators (Turquoise, PayerPrice, Serif) lock the data behind NDAs.
  • ▸CMS publishes the rule but doesn't aggregate or verify anything.
  • ▸Every hospital uses a different format, vendor, and URL convention.
  • ▸At the September 2026 rebuild, 13.8% of files sat behind bot defenses; "compliance" ≠ "reachable".
  • ▸Until LLM agents got good at parsing arbitrary CSV / JSON shapes, this scale of normalization wasn't cost-effective for one person.

Built in the open at github.com/barkleesanders/hospital-ledger — ~80 pipeline scripts, ~27,800 lines of Python, ~12,900 lines of TypeScript. AGPLv3 code, CC0 data. No cookies. No signup. Free forever.

05For hospitals

Run a hospital? Send us your file directly.

Most files reach this database when our harvester finds them on a hospital's own website. If yours is hard to find, in a format patients can't use, or not posted yet, submit it here instead: free processing, a plain-language validation report against the CMS template requirements, and a clean CMS-template file built from your own data, ready to post.

One thing we won't claim: submitting here does not by itself meet the CMS requirement — the file has to live on your hospital's own website. The file we hand back is built for exactly that. And if you want to be listed from your submission, you can verify your website and opt in; the same identity and completeness gates every harvested file passes still apply.

Submit your price file →

Top 25 worst offenders

CMS-required hospitals with the most enforcement actions and no findable MRF.

CCNHospitalCity, StateCMS actions

Worst states

By share of CMS-required hospitals with a live MRF.

StateTotalLive% live

By facility type

Rural Emergency Hospitals (the newest category) lag furthest.

Sources / methodology

The inputs, checks, and limits are listed here on the site, not just in the repo.

Open the current summary JSON
Primary sources
How this was built
  1. Start with all CMS-required hospitals.
  2. Join known MRF links from the seed datasets.
  3. Probe URLs live and follow redirects to verify which files actually respond.
  4. Rediscover missing files from hospital transparency pages when the seed is dead.
  5. Parse live CSV, JSON, XLSX, ZIP, and wrapper-page formats into one schema.
  6. Generate the on-site standardized price previews from those parsed files.

Prices are live on this site for 5,578 hospitals; we have verified a live price file for 3,873 of the hospitals the law covers.

What the numbers mean
  • Verified live file (the API's legacy compliant field) means a file URL was found and verified, not that CMS has determined legal compliance.
  • Missing means no live public MRF was found after automated discovery and probing.
  • Under CMS enforcement means the hospital appears in CMS's public enforcement record.
  • Standardized price preview appears when parsed rows were actually generated for that hospital. Hospitals with zero generated rows are not counted in the headline.

Current limits: missing rows can reflect retrieval problems, discovery mistakes, unsupported formats, filtering, or source-file problems. A missing price alone does not identify the cause.

🩺 Live prices — standardized, on-site

Parsed directly from each hospital's MRF into a unified schema. No external links — search prices by CPT or HCPCS code below.

Hospital previews
5,578
Standardized rows
87,634,617
CPT / HCPCS codes
Load on search

Use it

Everything here is CC0 / public domain. No attribution required. Build whatever you want on top.