Healthcare · United States · Live

Medical coding, answered by AI.

MedCodeX is an AI assistant for medical coding and CDI teams. It drafts compliant physician queries, answers payer-policy questions with citations, and grounds every CPT suggestion in a licensed AMA source of truth — deployed on Next.js 15, Vercel, and Claude, with admin-enforced two-factor authentication across the whole org.

AMA
CPT-licensed source of truth
2FA
Admin-set, org-wide
Claude
Reasoning + query drafting
AHIMA
Compliant query format

Medical coding teams face a three-sided problem that gets worse every quarter.

<strong>First:</strong> CPT, ICD-10, and HCPCS rules change constantly. Coders can't carry it all in their head, and generic chatbots trained on the open web give confidently wrong codes that trigger denials and compliance risk. The AMA's CPT dataset is <em>licensed</em>, so most AI tools literally don't have access to it.

<strong>Second:</strong> Compliant physician queries are hard to write. A single misphrased query that "leads the clinician" violates AHIMA guidance and gets retroactively flagged on audit. Every coder re-invents the wording; some get it right, some don't.

<strong>Third:</strong> Policy research is a tab-switching nightmare. Medicare NCDs, LCDs, and commercial payer policies live in a dozen PDF portals. Coders burn 30% of their day hunting documents just to answer a single eligibility question.

The client needed an AI assistant that was <strong>licensed, compliant, and grounded</strong> — not a generic GPT wrapper. And they needed it behind strong auth: patient-adjacent workflows demand two-factor authentication on every account, no exceptions, enforced from the top down.

MedCodeX runs on <strong>Next.js 15 on Vercel</strong> with a <strong>Postgres</strong> data layer and <strong>Claude</strong> as the reasoning engine. The AI is grounded against the client's <strong>licensed AMA CPT dataset</strong> — we built an import pipeline directly against the AMA royalty portal so every code suggestion traces back to its official descriptor.

<strong>Three workstreams, one chat surface:</strong>

<strong>Medical coding assistance.</strong> Coders paste a clinical scenario; MedCodeX returns suggested CPT, ICD-10, and HCPCS codes with reasoning, citations, and the AMA-licensed descriptor text. Every suggestion is traceable to its source — no hallucinated code numbers.

<strong>Compliant physician query drafting.</strong> The assistant drafts queries that follow AHIMA's "Guidelines for Achieving a Compliant Query Practice" — multiple-choice format, non-leading language, documented clinical indicators. A compliant draft lands in seconds instead of ten minutes.

<strong>Policy research.</strong> Natural-language questions about Medicare NCDs, LCDs, and commercial payer rules return cited answers, not Google links.

<strong>Access control.</strong> Sign-in security is <strong>admin-picked, org-wide 2FA</strong>: the admin chooses either an authenticator app or emailed codes, and every account inherits that choice. No per-user opt-outs. <strong>Resend</strong> handles the transactional email channel for 2FA codes and invites.

Legacy modes — <strong>ICD-9-CM</strong> and <strong>CMS-1500 claim validation</strong> — are built and ready, hidden from the menu pending the client's audit-lookback schedule.

What we built it with.

Frontend
Next.js 15
App Router + Server Components for a chat surface that streams tokens without a heavy client bundle.
TypeScript
Type-safe LLM response schemas — invalid codes get caught at compile time, not in production.
Tailwind CSS
Clinical-grade UI at speed; neutral palette that doesn't distract from the content.
Backend
Vercel
Serverless deploys, edge rate-limiting, global CDN. Zero infra work for the client's IT team.
Postgres
Row-level audit logging on every query. Cheap, boring, correct.
AI & Data
Claude Sonnet
Primary reasoning model — strong on medical nuance, cites sources well, instruction-following holds under long-context compliance prompts.
Licensed AMA CPT dataset
The client's source of truth. Imported from the AMA royalty portal — no scraping, no copyright risk.
Auth & Security
Admin-set 2FA
Org-wide policy: authenticator app or emailed codes, no per-user opt-outs. Passes audit without an argument.
Resend
Transactional email for 2FA codes and account invites. Deliverability without a Postmark bill.

The intelligence layer.

Claude Sonnet
Client-facing reasoning — code suggestions, policy Q&A, and AHIMA-compliant physician query drafting
Claude Sonnet 4.6 (via Cursor)
Development pair — Next.js 15 architecture, Postgres schema, AMA data import pipeline, auth flow, compliance-prompt tuning

From brief to production.

Phase 1 Discovery & Data Licensing
Scoped coder workflows with the client's CDI lead. Received AMA royalty-portal access. Imported the CPT dataset into Postgres with per-code citations and version tracking.
Phase 2 AI Coding Core
Claude-powered chat surface with grounded citations against the licensed AMA data. Shipped the medical-coding and policy-research modes first.
Phase 3 Compliant Query Drafting
AHIMA-guideline-compliant query templates. Multiple-choice outputs, non-leading language, clinical indicators auto-pulled from the source clinical note.
Phase 4 Auth & 2FA
Admin-picks-one 2FA policy implemented. Resend integration for emailed codes. Role-based access control separating admin from coder permissions.
Phase 5 Legacy Modes & Handover
ICD-9-CM and CMS-1500 claim-validation modes built and hidden pending re-enable. Project delivered and in production.

What shipped.

Live
In production
Deployed to Vercel and in daily use by the client's coding team.
Licensed
AMA CPT data, not scraped
Every CPT suggestion grounded in the client's licensed AMA dataset — defensible on audit.
Compliant
AHIMA-aligned queries
Physician queries drafted in AHIMA-compliant format: multiple choice, non-leading, clinical indicators cited.
Org 2FA
Admin-enforced
Single 2FA policy across the org — no per-user bypass, closed under IT audit.
"
Our coders stopped tab-switching between payer portals and the CPT book. They ask MedCodeX, they get cited answers, and physician queries come out AHIMA-compliant on the first draft. The org-wide 2FA policy made IT compliance a non-conversation.
C
Coding & CDI Lead
US Medical Coding Consultancy

Building something similar?

If your problem lives at the intersection of AI, product, and real business constraints, let's talk.

Trusted Worldwide — Long-Term Partnerships Built on Trust and Results

Take it from leading businesses around the world. Time and time again, our clients experience the quality, speed, and reliability of our AI solutions and automation services, leading to long-term partnerships with AXCEL.

Ready to Automate and Scale Your Business?

We design and deploy AI solutions that streamline operations and accelerate growth.

WhatsApp