Healthcare price, payment, and quality transparency in one searchable platform.
MediCosts aggregates a dozen federally-mandated public datasets into one place: hospital costs and quality, 30M+ industry payments to physicians, Medicare Part D drug spend, the clinician registry, post-acute care, insurance networks, and community health. An AI assistant, “Abby,” answers natural-language questions across every dataset — turning scattered, opaque disclosures into answers anyone can use.
The Problem
US healthcare pricing remains deliberately opaque. A procedure can cost three times as much across town, yet patients have no way to compare. CMS, HRSA, and the CDC have published a mountain of hospital quality, cost, clinician, payment, and community-health data — but it's scattered across incompatible portals with no unified interface. Researchers spend months normalizing it; patients can't find a qualified, in-network clinician without conflicts of interest.
MediCosts unifies these datasets into one searchable platform, with natural-language AI on top — making transparency that's mandated by law actually usable.
Capabilities
Search 4,000+ hospitals by name, location, or condition. View star ratings, HCAHPS, infection rates, readmission penalties, mortality, cost, and value-based purchasing scores — and compare hospitals side by side.
Identify the most expensive diagnosis-related groups nationally, then search hospitals by state or ZIP proximity to see median costs, quality, volume, and markup — sortable by price, distance, or value.
Look up any physician by NPI to see pharmaceutical and device-company payments — by category, payer, and amount — across 30M+ Sunshine Act records, with national and state leaderboards.
Explore the most expensive drugs on Medicare, cost-per-prescription, brand-vs-generic deltas, and prescriber-level patterns — with multi-year trends revealing drug-cost inflation.
HCRIS cost-report data exposes operating margins, cost-to-charge ratios, uncompensated care, and staffing — surfacing hospitals claiming hardship while running healthy margins.
Search 2.7M providers by name, specialty, and state — with credentials, facility, telehealth availability, and linked industry payments in one profile.
Check whether a hospital or clinician is in-network for major insurers, using machine-readable Transparency-in-Coverage files.
Map HRSA professional-shortage designations by ZIP, and overlay CDC PLACES community health (diabetes, obesity, uninsured rate) for context behind the outcomes.
Ask in plain language — "the safest, cheapest hospital in Texas for heart surgery," or "doctors in San Francisco with no pharma payments." Abby orchestrates 60+ tools over live data and streams a cited answer.
Data Sources
Every source is a federally-mandated public disclosure. The value is in the aggregation and the access — not proprietary collection.
Product Tour
Real public CMS data, live in the application — click any view to enlarge.
Architecture
A single-page app with domain-organized pages, Zustand state, TanStack Query fetching, Recharts visualizations, and a dark clinical theme.
A REST API of 50+ endpoints grouped by domain — quality, DRGs, payments, drugs, financials, community health — over parameterized PostgreSQL queries.
A medicosts schema of 20+ tables (millions of rows) with 14 materialized views for pre-computed aggregations refreshed nightly.
Claude Haiku orchestrates 60+ tools (each mapped to an API endpoint); Sonnet synthesizes — streamed token-by-token over server-sent events.
JWT auth with bcrypt, CORS allowlisting, Helmet headers, and per-IP rate limits (tighter on the AI endpoint).
Served behind an Apache reverse proxy with Let's Encrypt TLS, run as a systemd service — one server hosting both the API and the static SPA.
Who It's For
Estimate a procedure in a metro area, filter by star rating and patient experience, verify network status, and ask Abby for the cheapest high-quality option nearby.
Find hospitals with the highest charge-to-payment ratios, cross-reference operating margins, and surface conflicts via Open Payments — a data-backed exposé in an afternoon.
Pull multi-year cost trends, overlay CDC community health and HRSA shortage data, and have Abby run a multi-tool correlation between readmissions and community diabetes prevalence.
Compare in-network hospital quality and cost across plans, and flag high-cost or high-readmission outliers ahead of plan negotiations.
Under the Hood
FAQ
Explore the live platform and ask Abby anything about US hospital cost, quality, and payments.