HealthTech & Life Sciences EternalBlueSubmitted July 18, 2026

CodeWeaver

An MCP app on the Model Context Protocol built by EternalBlue at the Amrita University Amritapuri campus NitroStack × MCP To The Moon hackathon and deployed on NitroStack.

About this project

CodeWeaver is an MCP server that turns free-text clinical notes into ranked ICD-10-CM diagnosis code suggestions, with transparent, auditable reasoning behind every result. What it does: Given a clinical note, CodeWeaver segments it into sentences, detects negated or ruled-out conditions so they're never miscoded, and fuzzy-matches the rest against real CMS FY2026 ICD-10-CM data (1,934 codes across cardiac, diabetes, respiratory, and a curated musculoskeletal slice). Candidates then run through a constraint engine enforcing official Excludes1 rules (hard-blocking mutually exclusive diagnoses, like Type 1 and Type 2 diabetes charted together), Excludes2 rules (flagging codes that can co-occur), specificity ranking, and 7th-character extension requirements. When nothing scores confidently, CodeWeaver says so explicitly and live-queries the NLM Clinical Tables API as a clearly-labeled, unvalidated fallback rather than guessing. Who it's for: Medical coders and clinical documentation teams who need a fast first pass on note-to-code mapping, with every suggestion traceable to the exact phrase and CMS rule behind it — built for coder review, not autonomous decisions. What makes it special: Most coding-assist demos wrap an LLM with no real constraint logic. CodeWeaver uses actual CMS source data, parsed directly from the official FY2026 XML tabular index, and implements the rules that make ICD-10 genuinely hard — Excludes1/2 semantics, specificity penalties, 7th-character disambiguation — as explicit, explainable logic. It names its exact scope, refuses to present low-confidence matches as suggestions, and clearly separates validated local results from unvalidated external lookups. CodeWeaver is a coding-assistance tool, not a diagnostic one — output requires review by a qualified coder. Clinical notes used for testing are synthetic; the ICD-10-CM data is real.

HealthTech & Life Sciences track

Design AI-powered solutions for healthcare, diagnostics, patient care, medical research, and life sciences.

Team EternalBlue

  • Pulavarthi Vishnu ChaitanyaLead

  • Aswin Shobanan

  • A Anandakrishna

  • Adithya Rajesh

Frequently asked questions

What does CodeWeaver do?
CodeWeaver is an MCP server that turns free-text clinical notes into ranked ICD-10-CM diagnosis code suggestions, with transparent, auditable reasoning behind every result. What it does: Given a clinical note, CodeWeaver segments it into sentences, detects negated or ruled-out conditions so they're never miscoded, and fuzzy-matches the rest against real CMS FY2026 ICD-10-CM data (1,934 codes across cardiac, diabetes, respiratory, and a curated musculoskeletal slice). Candidates then run through a constraint engine enforcing official Excludes1 rules (hard-blocking mutually exclusive diagnoses, like Type 1 and Type 2 diabetes charted together), Excludes2 rules (flagging codes that can co-occur), specificity ranking, and 7th-character extension requirements. When nothing scores confidently, CodeWeaver says so explicitly and live-queries the NLM Clinical Tables API as a clearly-labeled, unvalidated fallback rather than guessing. Who it's for: Medical coders and clinical documentation teams who need a fast first pass on note-to-code mapping, with every suggestion traceable to the exact phrase and CMS rule behind it — built for coder review, not autonomous decisions. What makes it special: Most coding-assist demos wrap an LLM with no real constraint logic. CodeWeaver uses actual CMS source data, parsed directly from the official FY2026 XML tabular index, and implements the rules that make ICD-10 genuinely hard — Excludes1/2 semantics, specificity penalties, 7th-character disambiguation — as explicit, explainable logic. It names its exact scope, refuses to present low-confidence matches as suggestions, and clearly separates validated local results from unvalidated external lookups. CodeWeaver is a coding-assistance tool, not a diagnostic one — output requires review by a qualified coder. Clinical notes used for testing are synthetic; the ICD-10-CM data is real.
Who built CodeWeaver?
CodeWeaver was built by team EternalBlue at the Amrita University Amritapuri campus NitroStack × MCP To The Moon hackathon, in the HealthTech & Life Sciences track.
What is an MCP app and how is it built?
An MCP app is an application built on the Model Context Protocol — an open standard that lets AI agents connect to tools, data, and APIs. This project exposes MCP tools and resources that agentic AI systems can call. It was built and deployed on NitroStack, the full-stack platform for shipping MCP apps and servers.