ICF MCP Server (Cloudflare Workers)

MCP serverSearch

This community-contributed tool gives your AI access to WHO ICF codes. Once added, your AI can look up and search codes, move through the code hierarchy, work with qualifiers, and use 11 scored clinical assessment instruments. That makes it easier for your AI to help with classification and assessment work using WHO's ICF system.

Use ICF MCP Server (Cloudflare Workers) in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add ICF MCP Server (Cloudflare Workers) and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the icf tool from ICF MCP Server (Cloudflare Workers)

Details

Available today. Use it from your connected AI after setup.

After adding it, ask your AI to look up or search for a WHO ICF code you care about. Then try having it work with qualifiers or one of the scored assessment instruments.

ICF MCP Server (Cloudflare Workers)Start free

What your AI can do with it

  • Look up specific WHO ICF codes
  • Search WHO ICF codes to find the right one
  • Navigate the ICF code hierarchy
  • Work with ICF qualifiers on top of codes
  • Use 11 scored clinical assessment instruments

Install ICF MCP Server (Cloudflare Workers)

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user icf-mcp-server-cloudflare-worker 'https://mcp-icf.medseal.app/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://mcp-icf.medseal.app/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=icf-mcp-server-cloudflare-worker&config=eyJ1cmwiOiJodHRwczovL21jcC1pY2YubWVkc2VhbC5hcHAvbWNwIn0=

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://mcp-icf.medseal.app/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add icf-mcp-server-cloudflare-worker --url 'https://mcp-icf.medseal.app/mcp'

    Run it once, then sign in with codex mcp login icf-mcp-server-cloudflare-worker if the server asks for an account.

From the project's README

As published by stayce/icf-mcp-cloudflare in README.md.

A Model Context Protocol (MCP) server for the WHO International Classification of Functioning, Disability and Health (ICF), deployed on Cloudflare Workers for global edge availability.

Live URL: https://mcp-icf.medseal.app/mcp

What is ICF?

The ICF is a WHO classification that complements ICD (diagnosis codes) by describing how health conditions affect a person's functioning in daily life:

  • Body Functions (b) - Physiological and psychological functions
  • Body Structures (s) - Anatomical parts of the body
  • Activities and Participation (d) - Task execution and life involvement
  • Environmental Factors (e) - Physical, social, and attitudinal environment

Tool

A single icf tool with action dispatch (token-efficient). 19 actions:

Codes & Hierarchy

ActionDescription
lookupLook up a specific ICF code (e.g., b280, d450)
searchSearch by keyword (e.g., "walking difficulty", "pain")
browseBrowse a category (b, s, d, e) or sub-chapter (b1, d4, e3)
childrenGet subcategories of a code
parentNavigate up to a code's parent category
siblingsCodes at the same level (same parent)
chainFull hierarchy path from root to a code
profileBuild a functional profile from multiple codes

Qualifiers

ActionDescription
qualifierComponent-specific qualifier reference (b=1, s=3, d=2, e=barrier/facilitator)
validateValidate code format + qualifiers, verify existence in the WHO API
parseParse fully qualified codes (d450.23, s730.312, e120+3)

Clinical Assessment Instruments

11 standardized RPM instruments with items, scoring, and ICF mappings: GAD-7, PHQ-9, RADAI-5, SLEDAI-2K, WHODAS 2.0, HAQ-DI, PROMIS-10, CAT, ODI, NRS Pain, Short FES-I.

ActionDescription
instrumentsList instruments, optionally filtered by domain
instrumentFull spec: items, response options, scoring, ICF mappings
scoreScore responses → severity, interpretation, ICF qualifier
suggestSuggest instruments for a condition, ICF code, or domain
mappingShow an instrument's ICF code mappings

Meta

ActionDescription
overviewFull ICF classification overview
apiRaw WHO API request (escape valve)
helpAction reference with examples

Example call:

{"action": "score", "name": "GAD-7", "responses": [1, 2, 1, 0, 1, 2, 1]}

Instrument and qualifier actions are pure logic and work without WHO API credentials; code/hierarchy actions require them.

Prerequisites

  1. WHO ICD-API credentials (free): Register at https://icd.who.int/icdapi
  2. Cloudflare account with Workers enabled
  3. Node.js 18+ and npm

Installation

git clone https://github.com/stayce/icf-mcp-cloudflare.git
cd icf-mcp-cloudflare
npm install

Configuration

  1. Copy the example environment file:

    cp .dev.vars.example .dev.vars
    
  2. Edit .dev.vars with your WHO API credentials for local development.

  3. For production, set secrets:

    wrangler secret put WHO_CLIENT_ID
    wrangler secret put WHO_CLIENT_SECRET
    

Development

npm run dev

The server will be available at http://localhost:8787.

Testing

npm test

Regression tests cover instrument scoring (all 11 instruments) and qualifier parsing — pure logic, no WHO API credentials needed.

Deployment

npm run deploy

For custom domain (configured in wrangler.toml):

wrangler deploy --env production

Usage with Claude

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "icf": {
      "type": "url",
      "url": "https://mcp-icf.medseal.app/mcp"
    }
  }
}

Or if deploying your own:

{
  "mcpServers": {
    "icf": {
      "type": "url",
      "url": "https://your-worker.workers.dev/mcp"
    }
  }
}

Endpoints

  • / or /health - Health check / server info
  • /mcp - MCP protocol endpoint (streamable HTTP)

API Reference

This server uses the WHO ICD-API which provides programmatic access to both ICD-11 and ICF classifications.

License

MIT License - see LICENSE

Related

Tools it offers (1)

What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • icf

Signals

GitHub stars
1
Last commit
Jul 2026
Advanced
Delivery
icf-mcp MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-stayce-icf-mcp
Source
github.com/stayce/icf-mcp-cloudflare
Hosted endpoint
https://mcp-icf.medseal.app/mcp