How armit26/dietcode-claimback-mcp works
ClaimBack MCP is a claims-auditing prototype with a web/API entry point and an MCP tool server. The main workflow loads a case and policy history, checks claim timelines and IRDAI rules, detects duplicate bill charges, presents findings, and—only after human approval—prepares an appeal draft and SLA reminders. The sampled implementation centers on local case data and returned draft/reminder payloads; README-described cloud, OCR, voice, and privacy capabilities are not evidenced as implemented here.
Main entry points: api.py FastAPI Application · server.py MCP Tool Server · auditor.py Rule and Bill Auditor · index.html Web Interface
Components 14
User Entry
- Web Interface
frontend/index.html - FastAPI Application
api.py - MCP Tool Server
mcp_server/server.py
Claims Audit
- Rule and Bill Auditor
mcp_server/auditor.py - Audit Findings
api.py
Approved Actions
- Human Approval Gate
api.py - GRO Draft Builder
mcp_server/auditor.py - SLA Reminder Builder
mcp_server/auditor.py
Case and Rules
- Case Record
sample_data/case_cb_204.json - IRDAI Rule Set
rules/irdai_2024_rules.json
Other components
- Policyholder
- Google Drive
- Gmail
- Google Calendar
Connections 17
- Policyholder → Web Interface: uses
README.md - Web Interface → FastAPI Application: accesses
- FastAPI Application → Web Interface: serves
api.py - FastAPI Application → Rule and Bill Auditor: calls
api.py - MCP Tool Server → Rule and Bill Auditor: calls
mcp_server/server.py - Rule and Bill Auditor → Case Record: loads
mcp_server/auditor.py - Rule and Bill Auditor → IRDAI Rule Set: reads
mcp_server/auditor.py - FastAPI Application → Audit Findings: returns findings
api.py - Policyholder → Human Approval Gate: approves
README.md - FastAPI Application → Human Approval Gate: enforces
api.py - Human Approval Gate → GRO Draft Builder: requests draft
api.py - Human Approval Gate → SLA Reminder Builder: requests reminders
api.py - MCP Tool Server → GRO Draft Builder: dispatches
mcp_server/server.py - MCP Tool Server → SLA Reminder Builder: dispatches
mcp_server/server.py - GRO Draft Builder → Gmail: saves draft
README.md - SLA Reminder Builder → Google Calendar: schedules
README.md - MCP Tool Server → Google Drive: fetches history
README.md