Skip to main content
Glama
OMOPHub MCP Server

OMOPHub MCP Server

Official
by OMOPHub

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_PORTNoHTTP server port (default: 3100)
HEALTH_PORTNoPort for standalone health endpoint in stdio mode
MCP_TRANSPORTNostdio or http (default: stdio)
OMOPHUB_API_KEYYesYour OMOPHub API key
OMOPHUB_BASE_URLNoCustom API base URL (default: https://api.omophub.com/v1)
OMOPHUB_LOG_LEVELNodebug, info, warn, error (default: info)
OMOPHUB_ANALYTICS_OPTOUTNoSet to true to disable analytics headers

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_conceptsA

Search a vocabulary by term or synonym. When the user asks to look up the matching concept or report its vocabulary release, set verify_match to true. A unique match then gets a second API read by its numeric ID. Multiple matches are returned for selection.

semantic_searchA

Search for medical concepts using natural language with neural embeddings. Unlike keyword search, semantic search understands clinical meaning — 'heart attack' finds 'Myocardial infarction', 'high blood sugar' finds 'Hyperglycemia'. Returns concepts ranked by similarity score. Use this when the user describes symptoms, conditions, or treatments in everyday language rather than exact medical terminology.

find_similar_conceptsA

Find medical concepts similar to a reference concept, name, or natural language query. Supports three algorithms: 'semantic' (neural embeddings — best for meaning, and the default), 'lexical' (text matching — best for typos), 'hybrid' (combined). Provide exactly ONE of: concept_id, concept_name, or query. Use this to explore related concepts, find alternative codes, or build phenotype concept sets. Tip: For drug vocabularies like RxNorm, use drug class names ('ACE inhibitors', 'beta blockers', 'antihypertensives') rather than symptom descriptions ('medications for high blood pressure') — the embedding model aligns better with clinical terminology than lay language.

get_conceptA

Get detailed information about a specific OMOP concept by its numeric concept_id. Returns the concept name, vocabulary, domain, concept class, standard status, valid dates, and synonyms. After searching by name, pass the selected numeric concept_id here to verify the concept code and vocabulary release.

get_concept_by_codeA

Look up an OMOP concept using a vocabulary-specific code and vocabulary ID. Both parameters are required to avoid ambiguity - the same code can exist in multiple vocabularies (e.g., 'E11' exists in both ICD10CM and ICD10). If multiple concepts share the same code within a vocabulary, all matches are returned - prefer the one with standard_concept='S'.

explore_conceptA

Get a comprehensive view of a medical concept in one call: detailed info, ancestors/descendants hierarchy, and cross-vocabulary mappings. Use this instead of calling get_concept + get_hierarchy + map_concept separately. Ideal for understanding what a concept is, where it sits in the classification tree, and how it maps to other coding systems.

map_conceptA

Map a source vocabulary code or a known numeric OMOP concept ID to another vocabulary. For ICD10CM to SNOMED, supply vocabulary_id="ICD10CM", the original concept_code and target_vocabularies="SNOMED". The tool resolves the exact source code before reading its mappings. Report only the targets in successful mappings rows. On error, the mapping is unverified. Follow has_more for further pages.

get_hierarchyA

List descendants of a known OMOP concept using direction='down', or ancestors using 'up'. Use page=1 and the requested page_size. While has_more is true, set the next call’s page argument to the returned next_page and keep the same page size and filters. Read truncated to determine whether the upstream row cap was reached. A combined view cannot establish exhaustive coverage.

list_vocabulariesA

List all available medical vocabularies in the OMOP standardized vocabulary system with concept counts and metadata. Use this to understand what terminology systems are available (SNOMED CT, ICD-10-CM, RxNorm, LOINC, etc.) and their scope.

fhir_resolveA

Resolve one FHIR Coding with separate system and code fields to its OMOP standard concept and CDM target table. Supports text-only input via semantic search fallback and optional Phoebe recommendations. Examples: system='http://snomed.info/sct' code='44054006' for Type 2 diabetes, or display='heart attack' for text-only resolution.

fhir_resolve_codeable_conceptA

Resolve a FHIR CodeableConcept with multiple codings. Picks the best match per OHDSI vocabulary preference (SNOMED > RxNorm > LOINC > CVX > ICD-10). Falls back to the text field via semantic search if no coding resolves.

Prompts

Interactive templates invoked by user choice

NameDescription
phenotype-concept-setBuild a concept set for a clinical phenotype definition. Guides the AI through searching for concepts, exploring hierarchies, and assembling a complete concept set.
code-lookupLook up and validate a medical code. Resolves a vocabulary-specific code to its OMOP concept and shows mappings.

Resources

Contextual data attached and managed by the client

NameDescription
vocabulary-list

TDQS

A3.9/5.0

Scored across 11 tools

Disambiguation3/5

Most tools are identifiable, but semantic_search and find_similar_concepts overlap substantially when a query string is used, and explore_concept is explicitly a superset of get_concept plus get_hierarchy plus map_concept. The descriptions do help distinguish them, but the boundaries between search/related-concept tools and the convenience aggregator are blurry enough to invite misselection.

Naming Consistency4/5

The tool set consistently uses snake_case, with predictable verb_noun forms such as get_concept, map_concept, list_vocabularies, and find_similar_concepts. Minor deviations exist: semantic_search lacks a leading verb and fhir_resolve/fhir_resolve_codeable_concept use a domain prefix rather than the same verb pattern.

Tool Count5/5

Eleven tools is well within the typical 3-15 range for a reference/lookup server. The set covers keyword search, semantic search, similar-concept discovery, concept retrieval, mapping, hierarchy, vocabulary listing, and FHIR resolution without obvious padding.

Completeness4/5

The surface covers the core read-only OMOP workflows: concept lookup by ID/name/code, hierarchy traversal, cross-vocabulary mapping, vocabulary listing, and FHIR Coding/CodeableConcept resolution. Minor gaps remain around bulk concept-set operations, relationship-specific queries, and richer filtering by domain or vocabulary, but agents can work around these with the existing tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues