Logo van SNOMED CT MCP Server

SNOMED CT MCP Server

Community
eigenbau

MCP server for SNOMED CT concept lookup via any FHIR R4 terminology server

Uitgevereigenbau
Repositorymcp-snomed-ct
TaalPython
Forks
3
Sterren
21
Beschikbare tools
0
Transporttypestdio
Categorieën
LicentieApache-2.0
Links
  • Koppel tools aan AI-workflows

    SNOMED CT MCP Server biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • Beschikbare tools: 0

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Belangstelling voor het opensourceproject

    Statistieken van de gekoppelde repository (sterren: 21, forks: 3).

SNOMED CT MCP Server

An MCP server that provides SNOMED CT clinical terminology lookup via any FHIR R4 terminology server that supports SNOMED CT and ECL (Expression Constraint Language).

Compatible servers include Snowstorm, Ontoserver, HAPI FHIR, and other FHIR-compliant terminology servers.

[!CAUTION] Accuracy disclaimer — The SNOMED CT data returned by this server is sourced directly from authoritative FHIR terminology servers and is accurate at the point of retrieval. However, an LLM processes and presents these results to you, and in doing so may introduce inaccuracies — rephrasing terms, inferring relationships, or adding context that is not present in the original data. Always verify critical clinical information against the raw SNOMED CT codes and preferred terms provided in the tool output.

Tools

snomed_lookup

Search for SNOMED CT concepts by clinical term.

Parameters:

  • term (string, required) — Clinical term to search, e.g. "exercise therapy", "diabetes", "appendectomy"
  • domain (string, optional, default "all") — Scope the search to a SNOMED CT top-level hierarchy:
    • "clinical_finding" — diseases, signs, symptoms
    • "procedure" — surgeries, therapies, diagnostic tests
    • "observable_entity" — measurements, scores, lab values
    • "body_structure" — anatomical structures, organs, body regions
    • "organism" — bacteria, viruses, organisms
    • "substance" — chemicals, dietary substances, biological substances
    • "pharmaceutical_product" — medications, vaccines, clinical drugs
    • "specimen" — blood samples, tissue specimens
    • "special_concept" — special SNOMED concepts
    • "physical_object" — devices, implants, instruments
    • "physical_force" — radiation, thermal, mechanical forces
    • "event" — accidents, incidents, occurrences
    • "environment" — locations, geographic regions, settings
    • "social_context" — occupations, religions, ethnic groups
    • "situation" — clinical situations with explicit context
    • "staging_and_scales" — tumor staging, assessment scales
    • "qualifier_value" — severity, laterality, other qualifiers
    • "record_artifact" — clinical documents, forms, records
    • "snomed_model_component" — metadata and model components
    • "all" — search across all configured domains
  • count (integer, optional, default 10, max 50) — Max results to return

snomed_get_by_code

Fetch full details for a known SNOMED CT concept ID.

Parameters:

  • code (string, required) — Numeric SNOMED CT concept ID, e.g. "229070002"

snomed_get_related

Navigate the SNOMED CT hierarchy for a concept. Returns the concept's parents (immediate supertypes), children (immediate subtypes), and siblings (other children of the same parents).

Parameters:

  • code (string, required) — Numeric SNOMED CT concept ID, e.g. "229070002"

Prompts

normalize_clinical_term

A structured multi-step prompt that guides the LLM through normalizing free-text or lay language into a verified SNOMED CT concept. The workflow: parse the input, expand abbreviations, generate candidate clinical terms, search each via snomed_lookup, and select the best match with a confidence score.

Parameters:

  • raw_input (string, required) — The original user input in any language or format (lay, clinical, abbreviated)
  • clinical_context (string, optional) — Clinical domain hint to narrow the search (e.g. "musculoskeletal", "cardiology")

explore_concept

A structured multi-step prompt that guides the LLM through exploring concepts related to a starting concept, driven by the user's semantic intent. Goes beyond hierarchy navigation by combining IS-A traversal with targeted searches across different SNOMED domains — useful for questions like "what quantifiable measures relate to this concept?" or "what procedures are associated with this finding?".

Parameters:

  • code (string, required) — SNOMED CT concept ID to explore from, e.g. "282097004"
  • intent (string, required) — What the user is looking for, e.g. "quantifiable measures", "related procedures", "assessment scales"

Configuration

The server supports two backends, controlled by the SNOMED_BACKEND environment variable:

BackendSNOMED_BACKENDURL variableDefault
Remote FHIR serverremote (default)FHIR_REMOTE_URLhttps://r4.ontoserver.csiro.au/fhir
Local SnowstormlocalSNOWSTORM_LOCAL_URLhttp://localhost:8080/fhir

Copy .env.example and configure:

bash
cp .env.example .env

Local Snowstorm (e.g. running on localhost:8080):

env
SNOMED_BACKEND=local
# SNOWSTORM_LOCAL_URL=http://localhost:8080/fhir  # override if non-default port

Remote server (default):

env
SNOMED_BACKEND=remote
FHIR_REMOTE_URL=https://r4.ontoserver.csiro.au/fhir

Domain filtering

By default all 19 SNOMED CT top-level hierarchies are searchable. Use SNOMED_DOMAINS to restrict which domains are exposed in the tool schema:

env
# Only expose three domains:
SNOMED_DOMAINS=clinical_finding,procedure,pharmaceutical_product

# Expose all domains (default):
SNOMED_DOMAINS=all

When set, the server dynamically builds the domain enum and descriptions so the LLM only sees the configured domains. See .env.example for the full list.

Installation

bash
pip install mcp httpx pydantic

Claude Desktop config (claude_desktop_config.json)

Using a local Snowstorm instance:

json
{
  "mcpServers": {
    "snomed-ct": {
      "command": "python",
      "args": ["/absolute/path/to/server.py"],
      "env": {
        "SNOMED_BACKEND": "local"
      }
    }
  }
}

Using a remote server:

json
{
  "mcpServers": {
    "snomed-ct": {
      "command": "python",
      "args": ["/absolute/path/to/server.py"],
      "env": {
        "SNOMED_BACKEND": "remote",
        "FHIR_REMOTE_URL": "https://r4.ontoserver.csiro.au/fhir"
      }
    }
  }
}

Claude Code

bash
claude mcp add snomed-ct python /absolute/path/to/server.py

The server reads its configuration from the .env file. You can also pass env vars inline:

bash
SNOMED_BACKEND=local claude mcp add snomed-ct python /absolute/path/to/server.py

Requirements

  • Python 3.10+
  • One of:
    • A local Snowstorm instance with SNOMED CT loaded
    • A remote FHIR R4 terminology server with SNOMED CT and ECL support

Running a local terminology server with Snowstorm

Snowstorm is SNOMED International's open-source terminology server. It provides a FHIR R4 endpoint and full ECL support, making it the recommended local backend for this MCP server.

Quick start with Docker

The fastest way to get Snowstorm running locally is with Docker Compose. See the Snowstorm documentation for full details.

bash
git clone https://github.com/IHTSDO/snowstorm.git
cd snowstorm
docker-compose up -d

Once Snowstorm is running, you need to import a SNOMED CT release package. You can obtain RF2 release files from MLDS (Member Licensing & Distribution Service) — a SNOMED International account is required.

After import, verify the FHIR endpoint is available:

bash
curl http://localhost:8080/fhir/metadata

Then configure this MCP server to use it:

env
SNOMED_BACKEND=local
SNOWSTORM_LOCAL_URL=http://localhost:8080/fhir

Example usage

Look up the SNOMED CT code for "exercise therapy"
→ snomed_lookup(term="exercise therapy", domain="procedure")

Get all synonyms for concept 229070002
→ snomed_get_by_code(code="229070002")

Find SNOMED codes for "chest pain"
→ snomed_lookup(term="chest pain", domain="clinical_finding")

Navigate the hierarchy for "Walking distance"
→ snomed_get_related(code="165263003")

Installatie

TypingMind
Vereisten:

Node.js 18+

{
  "mcpServers": {
    "eigenbau-mcp-snomed-ct": {
      "command": "",
      "args": []
    }
  }
}

Gebruik SNOMED CT MCP Server MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra SNOMED CT MCP Server is verbonden, kun je de verbinding dus met verschillende AI-modellen in TypingMind gebruiken, zonder die voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg SNOMED CT MCP Server toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus op ‘Gereed’ staat.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van SNOMED CT MCP Server.
  4. Sla de serverlijst op.
  5. Vernieuw de pagina als je wilt controleren of de connectorstatus nog op ‘Gereed’ staat.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "eigenbau-mcp-snomed-ct": {
      "command": "npx",
      "args": [
        "-y",
        "snomed-ct-mcp"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van SNOMED CT MCP Server in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van SNOMED CT MCP Server in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je SNOMED CT MCP Server gebruiken om me hiermee te helpen?
SNOMED CT MCP Server
Zeker. Ik heb het gelezen.
Dit vond ik met SNOMED CT MCP Server.

Veelgestelde vragen

Waarvoor wordt de MCP-server SNOMED CT MCP Server gebruikt?

SNOMED CT MCP Server is een MCP-server waarmee compatibele AI-clients toegang krijgen tot externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik SNOMED CT MCP Server MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je SNOMED CT MCP Server gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom SNOMED CT MCP Server MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als SNOMED CT MCP Server verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik SNOMED CT MCP Server MCP met TypingMind?

SNOMED CT MCP Server werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt SNOMED CT MCP Server MCP in TypingMind?

SNOMED CT MCP Server biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om SNOMED CT MCP Server MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als SNOMED CT MCP Server authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇