MedBill Finder - Agente de Análise de Contas Médicas
RadheyMutha-07/medical-bill-agent
Detecta erros em contas médicas e gera cartas de disputa automaticamente
Ver no GitHubAgente IA que lê contas hospitalares e EOBs, detecta erros de cobrança usando regras CMS e gera cartas de contestação prontas para envio. Processa PDFs e imagens, identifica duplicatas, unbundling, upcoding e erros matemáticos com análise baseada em Claude.
Instalação
npx convez-ai RadheyMutha-07/medical-bill-agent1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Verificar contas hospitalares para erros de cobrança
- Identificar duplicatas e procedimentos incorretamente codificados
- Gerar cartas de disputa formais prontas para envio
- Análise em massa de contas para pacientes ou seguradoras
Veredito

Solução prática e bem-implementada para um problema real (80% das contas médicas têm erros). O agente combina OCR, parsing de PDFs e regras CMS de forma competente. Útil para pacientes individuais ou implementações em larga escala por seguradoras/clínicas.
README
A tradução para o português deste README ainda está na fila.
medical-bill-agent
🧾 MedBill Finder
AI agent that reads your hospital bill, finds the errors, and writes your dispute letter.
The Problem
80% of medical bills contain at least one error.
The average overcharge is $1,300.
Almost nobody disputes it — because the bills are deliberately unreadable.
MedBill Finder fixes that.
What It Does
- Upload your hospital itemized bill and/or EOB (Explanation of Benefits) as a PDF or image
- The AI agent reads and cross-references every line item
- Detects billing errors including:
- Duplicate charges
- Unbundling violations (CPT codes billed separately that must be billed together)
- Upcoded procedures (description doesn't match the code billed)
- Balance billing errors (math doesn't add up)
- Services never received
- Incorrect quantities
- Generates a formal dispute letter PDF — ready to send to the hospital
Demo
Agent input: Hospital bill PDF
Agent output: "Line 14 — CPT 99213 + 99215 billed same day, same provider.
These cannot be billed separately. Estimated overcharge: $340."
How to Run
# Clone the repo
git clone https://github.com/RadheyMutha-07/medical-bill-agent
cd medical-bill-agent
# Install dependencies
pip install -r requirements.txt
# Add your Anthropic API key
echo "ANTHROPIC_API_KEY=your_key_here" > .env
# Run the agent
python main.py
Tech Stack
| Layer | Tool |
|---|---|
| AI Agent Brain | Anthropic Claude API |
| PDF Extraction | PyMuPDF (fitz) |
| OCR for images | pytesseract |
| Dispute Letter | fpdf2 |
| Language | Python 3.10+ |
Why This Matters
6.5 million Americans receive a wrong medical bill every single day.
Less than 0.1% ever dispute it.
MedBill Finder gives everyone the expert they never had.
Built By
Radhey Mutha Nikhil Gajula Mohammed Munneb
MS Student — Agentic AI, UT Dallas
GitHub