MCP server/ai-tools

AutoICD MCP Server

AI-powered ICD-10 and ICD-11 medical coding automation

fcggamou/autoicd-mcp ↗by fcggamouupdated
1

Add it to Claude Code

claude mcp add -e "AUTOICD_API_KEY=${AUTOICD_API_KEY}" autoicd-mcp -- npx -y autoicd-mcp
Required:AUTOICD_API_KEY
2

Make your agent remember this setup

autoicd-mcp's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Clinical text to ICD-10-CM or ICD-11 code mapping
  • Full-text search across 74,000+ ICD-10-CM codes
  • HIPAA-compliant PHI de-identification
  • Negation detection for clinical notes
  • ICD-10 to ICD-11 crosswalk mappings

Tools 5

code_diagnosisExtract medical diagnoses from clinical text and map them to ICD-10-CM codes.
search_codesSearch the ICD-10-CM 2025 code set by description.
get_codeGet comprehensive details for a specific ICD-10-CM code.
search_icd11_codesSearch the ICD-11 code set by description.
get_icd11_codeGet comprehensive details for a specific ICD-11 code, including ICD-10 crosswalk mappings.

Environment Variables

AUTOICD_API_KEYrequiredAPI key obtained from autoicdapi.com

Try it

Code this note: Patient presents with acute lower back pain radiating to the left leg. Denies any numbness or tingling.
Search for ICD-10 codes related to congestive heart failure
What does ICD-10 code I10 mean?
Search for ICD-11 codes related to diabetes
Show me the SNOMED CT mappings for code J44.1
Original README from fcggamou/autoicd-mcp

AutoICD MCP Server

Give AI assistants the power of medical coding — ICD-10-CM and ICD-11 diagnosis coding, code search, crosswalk, and PHI de-identification via the AutoICD API.

An MCP (Model Context Protocol) server that connects AI assistants like Claude Desktop, Cursor, VS Code, and Windsurf to the AutoICD API for AI-powered ICD-10 and ICD-11 medical coding automation.

Why AutoICD API?

Feature Details
AI-Powered Coding Clinical text → ICD-10-CM or ICD-11 codes with NLP entity extraction
74,000+ ICD-10 Codes Full ICD-10-CM 2025 code set with descriptions and hierarchy
ICD-11 Support Search and look up ICD-11 codes with full ICD-10 ↔ ICD-11 crosswalk
Negation Detection Identifies negated, historical, uncertain, and family history mentions
Confidence Scoring High/moderate confidence labels with cosine similarity scores
Spell Correction Handles misspelled medical terms automatically
PHI De-identification HIPAA-compliant removal of names, dates, SSNs, and more
Code Search Full-text search across all ICD-10-CM codes and descriptions
SNOMED CT & UMLS Cross-references and synonyms from standard medical terminologies

Get your API key at autoicdapi.com.

Setup

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "autoicd": {
      "command": "npx",
      "args": ["-y", "autoicd-mcp"],
      "env": {
        "AUTOICD_API_KEY": "sk_your_api_key"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "autoicd": {
      "command": "npx",
      "args": ["-y", "autoicd-mcp"],
      "env": {
        "AUTOICD_API_KEY": "sk_your_api_key"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json in your project:

{
  "servers": {
    "autoicd": {
      "command": "npx",
      "args": ["-y", "autoicd-mcp"],
      "env": {
        "AUTOICD_API_KEY": "sk_your_api_key"
      }
    }
  }
}

Windsurf

Add to your Windsurf MCP configuration:

{
  "mcpServers": {
    "autoicd": {
      "command": "npx",
      "args": ["-y", "autoicd-mcp"],
      "env": {
        "AUTOICD_API_KEY": "sk_your_api_key"
      }
    }
  }
}

Available Tools

`code_diagnosis`

Extract medical diagnoses from clinical text and map them to ICD-10-CM codes.

Parameters:

  • text (required) — Clinical text to process (progress notes, discharge summaries, etc.)
  • top_k (optional, 1-25, default: 5) — Number of top ICD-10 candidates per entity
  • include_negated (optional, default: true) — Include negated entities in results

Example prompts:

  • "Code this note: Patient presents with acute lower back pain radiating to the left leg. Denies any numbness or tingling."
  • "What ICD-10 codes apply to: 65-year-old male with type 2 diabetes, hypertension, and chronic kidney disease stage 3"
  • "Code the following discharge summary: Patient admitted for COPD exacerbation with acute respiratory failure. History of CHF and atrial fibrillation."

The tool will extract medical entities, detect negations ("denies numbness"), and return ranked ICD-10 code candidates with confidence scores.

`search_codes`

Search the ICD-10-CM 2025 code set by description.

Parameters:

  • query (required) — Search text to match against code descriptions
  • limit (optional, 1-100, default: 20) — Maximum results
  • offset (optional, default: 0) — Pagination offset

Example prompts:

  • "Search for ICD-10 codes related to congestive heart failure"
  • "Find all ICD-10 codes for diabetes"
  • "What ICD-10 codes are there for anxiety disorders?"
  • "Look up hypertension ICD-10 codes"

`get_code`

Get comprehensive details for a specific ICD-10-CM code.

Parameters:

  • code (required) — ICD-10-CM code (e.g., "E11.9", "I10", "J44.1")

Example prompts:

  • "Look up the details for ICD-10 code M54.5"
  • "What does ICD-10 code I10 mean?"
  • "Is E11.9 a billable code? What are its synonyms?"
  • "Show me the SNOMED CT mappings for code J44.1"

Returns descriptions, billable status, SNOMED CT and UMLS synonyms, parent/child hierarchy, chapter classification, and ICD-11 crosswalk mappings.

`search_icd11_codes`

Search the ICD-11 code set by description.

Parameters:

  • query (required) — Search text to match against ICD-11 code descriptions
  • limit (optional, 1-100, default: 10) — Maximum results

Example prompts:

  • "Search for ICD-11 codes related to diabetes"
  • "Find ICD-11 codes for respiratory infections"
  • "What are the ICD-11 codes for anxiety disorders?"

`get_icd11_code`

Get comprehensive details for a specific ICD-11 code, including ICD-10 crosswalk mappings.

Parameters:

  • code (required) — ICD-11 code (e.g., "5A11", "BA00", "CA40.0")

**Example

Frequently Asked Questions

What are the key features of AutoICD?

Clinical text to ICD-10-CM or ICD-11 code mapping. Full-text search across 74,000+ ICD-10-CM codes. HIPAA-compliant PHI de-identification. Negation detection for clinical notes. ICD-10 to ICD-11 crosswalk mappings.

What can I use AutoICD for?

Automating medical coding for clinical progress notes and discharge summaries. Quick lookup of ICD-10/11 code descriptions and billable status. De-identifying patient records before processing or analysis. Cross-referencing medical terminology with standard coding systems.

How do I install AutoICD?

Install AutoICD by running: npx -y autoicd-mcp

What MCP clients work with AutoICD?

AutoICD works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep AutoICD docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest