# omophub-mcp [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/OMOPHub/omophub-mcp  
**GitHub Stars:** 7  
**npm Downloads (last month):** 424  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/omophub-mcp

## Description
Search, lookup, map, and navigate OMOP medical vocabularies via AI agents

## Tools
Capabilities this server exposes over MCP:

- **search_concepts** — Search for medical concepts by name or clinical term across all vocabularies
- **get_concept** — Get detailed info about a specific OMOP concept by `concept_id
- **get_concept_by_code** — Look up a concept using a vocabulary-specific code (e.g., ICD-10 `E11.9`)
- **map_concept** — Map a concept to equivalent concepts in other vocabularies (paginated — see note below)
- **get_hierarchy** — Navigate concept hierarchy - ancestors, descendants, or both
- **list_vocabularies** — List available medical vocabularies with statistics
- **semantic_search** — Search using natural language with neural embeddings (understands clinical meaning)
- **find_similar_concepts** — Find concepts similar to a reference concept, name, or description
- **explore_concept** — Get concept details, hierarchy, and cross-vocabulary mappings in one call
- **fhir_resolve** — Resolve a FHIR coded value (incl. administrative codes via the HL7 FHIR-to-OMOP IG ConceptMaps) to its OMOP standard concept and CDM target table
- **fhir_resolve_codeable_concept** — Resolve a FHIR CodeableConcept — best match by OHDSI vocabulary preference, honoring `userSelected

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "omophub-mcp": {
    "command": "npx",
    "args": ["-y","@omophub/omophub-mcp"],
    "env": {
      "OMOPHUB_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `OMOPHUB_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What omophub-mcp does

omophub-mcp exposes OMOPHub medical vocabulary data to MCP-compatible AI clients. It provides access to more than 11 million OMOP concepts from vocabularies including SNOMED CT, ICD-10, RxNorm, and LOINC, along with many additional vocabularies in the OHDSI ATHENA collection.

The server is suited to terminology tasks that would otherwise require downloading large vocabulary files and querying them locally. An agent can identify concepts from clinical language, retrieve records by OMOP concept ID or vocabulary code, inspect relationships between concepts, and translate codes between vocabularies. It also supports FHIR coding workflows and guided prompts for code lookup and phenotype concept-set construction.

## How it works

The npm package can run as a local stdio MCP server. Clients launch it with `npx`, and the server authenticates requests with an OMOPHub API key supplied through the client environment. It can also run as a streamable HTTP service, exposing an MCP endpoint and a health-check endpoint. In HTTP mode, clients send their API key in an `Authorization: Bearer` header for each request.

OMOPHub also provides a hosted MCP endpoint at `https://mcp.omophub.com/mcp`. OAuth-capable clients can connect there and approve vocabulary access, while clients using API keys can send the credential in the request header. Local Docker usage is supported for both HTTP and stdio operation.

## Setup and configuration

Create an API key in the OMOPHub dashboard, then configure a client to launch `@omophub/omophub-mcp` with `npx -y`. The local stdio configuration uses the `OMOPHUB_API_KEY` environment variable. Claude Desktop, Claude Code, Cursor, and VS Code have documented configuration examples; Windsurf is shown with the hosted endpoint configuration.

For a local HTTP deployment, start the package with the HTTP transport and a port such as `3100`. The MCP endpoint is then available at `/mcp`, and local HTTP listens on loopback by default. When placing the service behind a client or network boundary, configure the client to provide its own bearer credential. The hosted service can instead be configured directly by URL, with OAuth or an API-key header depending on client support.

## Tools and capabilities

- Search concepts by clinical term across available vocabularies.
- Retrieve detailed records by OMOP `concept_id` or vocabulary-specific code.
- Map concepts to equivalent concepts in other vocabularies.
- Traverse ancestors, descendants, or both sides of a concept hierarchy.
- List vocabularies and their statistics.
- Use natural-language semantic search and find similar concepts from a reference concept, name, or description.
- Combine concept details, hierarchy information, and mappings with `explore_concept`.
- Resolve FHIR coded values and FHIR `CodeableConcept` values to OMOP standard concepts and CDM target tables, including administrative-code mappings defined by the HL7 FHIR-to-OMOP Implementation Guide.

The server also exposes vocabulary resources at `omophub://vocabularies` and `omophub://vocabularies/{vocabulary_id}`. Its prompts include `phenotype-concept-set` and `code-lookup` for repeatable agent workflows.

## Limitations and notes

`map_concept` is paginated. Its page size ranges from 1 to 200 and defaults to 100, so agents must request additional pages when a concept has many mappings. Vocabulary access and usage are governed by the OMOPHub account's permissions and tier quota. For HTTP deployments, send credentials from each client rather than relying on a shared server-side key.

_Full upstream README: https://allmcps.com/mcp/omophub-mcp/readme_

