# OMOPHub MCP
> OMOPHub MCP gives AI agents access to the OHDSI OMOP standardized vocabularies: 11M+ concepts across 120+ vocabularies, including SNOMED CT, ICD-10, LOINC and RxNorm. Eleven tools cover keyword and semantic concept search, cross-vocabulary mapping, hierarchy navigation and FHIR-to-OMOP resolution. Run it hosted at mcp.omophub.com or locally with npx. It needs an OMOPHub API key; the free plan includes 3,000 API calls a month.
Canonical: https://www.mcpfolio.com/servers/omophub
## Catalog record

- Publisher: OMOPHub
- Categories: development, search

## Website

https://omophub.com/?utm_source=mcpfolio.com&utm_medium=referral&utm_campaign=mcp_listing_md&utm_content=omophub&ref=mcpfolio.com

## Repository

https://github.com/OMOPHub/omophub-mcp

## Transports

Streamable HTTP (hosted), stdio (local npx), HTTP (Docker)

## Authentication

OMOPHub API key (starts with oh_). Hosted: send it as Authorization: Bearer <key>. Local: set OMOPHUB_API_KEY. Create a key at https://dashboard.omophub.com/api-keys. Claude Desktop and Claude.ai web cannot send custom headers, so use the local npx setup there.

## Tools

### search_concepts

Search for medical concepts across OHDSI standardized vocabularies by name, synonym, or clinical term. Returns matching concepts with IDs, names, vocabulary, domain, and standard status.

Input parameters: query (required), vocabulary_ids, domain_ids, standard_concept, page, page_size

### semantic_search

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'.

Input parameters: query (required), vocabulary_ids, domain_ids, standard_concept, threshold, page_size

### find_similar_concepts

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).

Input parameters: concept_id, concept_name, query, algorithm, similarity_threshold, page_size, vocabulary_ids, domain_ids, concept_class_ids, page, include_explanations

### get_concept

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.

Input parameters: concept_id (required)

### get_concept_by_code

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).

Input parameters: vocabulary_id (required), concept_code (required)

### explore_concept

Get a comprehensive view of a medical concept in one call: detailed info, ancestors/descendants hierarchy, and cross-vocabulary mappings.

Input parameters: concept_id (required), include_hierarchy, hierarchy_levels, include_mappings, target_vocabularies, mappings_page_size

### map_concept

Find mappings FROM a source concept TO equivalent concepts in other vocabularies. The concept_id you provide is always the SOURCE - results show what it maps TO.

Input parameters: concept_id (required), target_vocabularies, page, page_size

### get_hierarchy

Navigate the vocabulary hierarchy for a concept. Use direction='up' for ancestors (broader terms like 'Diabetes mellitus' to 'Metabolic disease'), direction='down' for descendants (narrower terms, essential for building concept sets in phenotype definitions), or direction='both' for full hierarchica

Input parameters: concept_id (required), direction, max_levels, max_results, vocabulary_ids

### list_vocabularies

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.

Input parameters: search

### fhir_resolve

Resolve a FHIR coded value (system URI + code) to its OMOP standard concept and CDM target table. Supports text-only input via semantic search fallback and optional Phoebe recommendations.

Input parameters: system, code, display, vocabulary_id, resource_type, include_recommendations, include_quality, on_unmapped

### fhir_resolve_codeable_concept

Resolve a FHIR CodeableConcept with multiple codings. Picks the best match per OHDSI vocabulary preference (SNOMED > RxNorm > LOINC > CVX > ICD-10).

Input parameters: coding (required), text, resource_type, include_recommendations, include_quality, on_unmapped

## Sources

- [publisher-setup](https://docs.omophub.com/ai/mcp-hosted.md)
- [publisher-setup](https://docs.omophub.com/ai/mcp-tools.md)
- [publisher-repository](https://github.com/OMOPHub/omophub-mcp)
- [publisher-endpoint](https://mcp.omophub.com/)
- [publisher-docs](https://docs.omophub.com/api-reference/rate-limit.md)
- [publisher-pricing](https://omophub.com/pricing)
- [publisher-docs](https://docs.omophub.com/guides/production/security-data-handling.md)
- [publisher-logo](https://omophub.com/logo.png)
- [publisher-product](https://omophub.com/)

## Client setup instructions

### Cursor

Status: needs user input.

Configuration:

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

Prerequisites:

- An OMOPHub account and API key (free plan: 3,000 calls a month).
- Hosted: a client that supports remote Streamable HTTP servers with custom headers (Claude Code, Codex, VS Code, Cursor, Windsurf).
- Local: Node.js and npx, or Docker.
- Send vocabulary codes and search terms only. OMOPHub is not intended to receive patient data (PHI).
- Node.js and npm must be installed and available on the host; the assistant must check before starting this local server.

Required inputs:

- OMOPHUB_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Claude Code (hosted): claude mcp add omophub --transport http -H "Authorization: Bearer oh_your_key_here" https://mcp.omophub.com
- Claude Code (local): claude mcp add omophub -- npx -y @omophub/omophub-mcp, then set OMOPHUB_API_KEY in your environment.
- Codex CLI: codex mcp add omophub --url https://mcp.omophub.com --bearer-token-env-var OMOPHUB_API_KEY, with OMOPHUB_API_KEY set in the environment that launches Codex.
- VS Code: add a server with type http, url https://mcp.omophub.com and an Authorization: Bearer header to .vscode/mcp.json.
- Cursor and Windsurf: add url https://mcp.omophub.com with an Authorization: Bearer header to the MCP configuration.
- Claude Desktop: use the local setup. Add command npx, args -y @omophub/omophub-mcp and env OMOPHUB_API_KEY to claude_desktop_config.json, then restart the app.
- Docker: docker run -e OMOPHUB_API_KEY=oh_your_key_here -p 3100:3100 omophub/omophub-mcp serves MCP over HTTP on port 3100 with a /health check.
- Try it with: Map ICD-10 code E11.9 to SNOMED.

Reload:

- Open Cursor Settings → Tools & MCP; restart or reconnect the server if Cursor does not pick up the saved project configuration.

Verify the connection:

- Open Cursor Settings → Tools & MCP and confirm the server is enabled with its tools listed. Ask for a harmless read-only operation only after authentication.

Official client guide: [Cursor](https://docs.omophub.com/ai/mcp-hosted.md)

### VS Code

Status: needs user input.

Configuration:

```json
{
  "servers": {
    "omophub": {
      "command": "npx",
      "args": [
        "-y",
        "@omophub/omophub-mcp"
      ],
      "env": {
        "OMOPHUB_API_KEY": "${input:mcp-secret-1}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-secret-1",
      "description": "Enter OMOPHUB_API_KEY locally",
      "password": true
    }
  ]
}
```

Prerequisites:

- An OMOPHub account and API key (free plan: 3,000 calls a month).
- Hosted: a client that supports remote Streamable HTTP servers with custom headers (Claude Code, Codex, VS Code, Cursor, Windsurf).
- Local: Node.js and npx, or Docker.
- Send vocabulary codes and search terms only. OMOPHub is not intended to receive patient data (PHI).
- Node.js and npm must be installed and available on the host; the assistant must check before starting this local server.

Required inputs:

- OMOPHUB_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Claude Code (hosted): claude mcp add omophub --transport http -H "Authorization: Bearer oh_your_key_here" https://mcp.omophub.com
- Claude Code (local): claude mcp add omophub -- npx -y @omophub/omophub-mcp, then set OMOPHUB_API_KEY in your environment.
- Codex CLI: codex mcp add omophub --url https://mcp.omophub.com --bearer-token-env-var OMOPHUB_API_KEY, with OMOPHUB_API_KEY set in the environment that launches Codex.
- VS Code: add a server with type http, url https://mcp.omophub.com and an Authorization: Bearer header to .vscode/mcp.json.
- Cursor and Windsurf: add url https://mcp.omophub.com with an Authorization: Bearer header to the MCP configuration.
- Claude Desktop: use the local setup. Add command npx, args -y @omophub/omophub-mcp and env OMOPHUB_API_KEY to claude_desktop_config.json, then restart the app.
- Docker: docker run -e OMOPHUB_API_KEY=oh_your_key_here -p 3100:3100 omophub/omophub-mcp serves MCP over HTTP on port 3100 with a /health check.
- Try it with: Map ICD-10 code E11.9 to SNOMED.

Reload:

- Run `MCP: List Servers` from the Command Palette and use its Start/Restart action, or reload the VS Code window if needed.

Verify the connection:

- Run `MCP: List Servers`; confirm the server is running and its tools appear in Copilot Chat's Agent mode.

Official client guide: [VS Code](https://docs.omophub.com/ai/mcp-hosted.md)

### Claude Desktop

Status: needs user input.

Configuration:

```json
Remote connector URL: https://mcp.omophub.com
Add it in Claude Desktop → Settings → Connectors → Add custom connector.
```

Prerequisites:

- An OMOPHub account and API key (free plan: 3,000 calls a month).
- Hosted: a client that supports remote Streamable HTTP servers with custom headers (Claude Code, Codex, VS Code, Cursor, Windsurf).
- Local: Node.js and npx, or Docker.
- Send vocabulary codes and search terms only. OMOPHub is not intended to receive patient data (PHI).
- Node.js and npm must be installed and available on the host; the assistant must check before starting this local server.

Required inputs:

- OMOPHUB_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Claude Code (hosted): claude mcp add omophub --transport http -H "Authorization: Bearer oh_your_key_here" https://mcp.omophub.com
- Claude Code (local): claude mcp add omophub -- npx -y @omophub/omophub-mcp, then set OMOPHUB_API_KEY in your environment.
- Codex CLI: codex mcp add omophub --url https://mcp.omophub.com --bearer-token-env-var OMOPHUB_API_KEY, with OMOPHUB_API_KEY set in the environment that launches Codex.
- VS Code: add a server with type http, url https://mcp.omophub.com and an Authorization: Bearer header to .vscode/mcp.json.
- Cursor and Windsurf: add url https://mcp.omophub.com with an Authorization: Bearer header to the MCP configuration.
- Claude Desktop: use the local setup. Add command npx, args -y @omophub/omophub-mcp and env OMOPHUB_API_KEY to claude_desktop_config.json, then restart the app.
- Docker: docker run -e OMOPHUB_API_KEY=oh_your_key_here -p 3100:3100 omophub/omophub-mcp serves MCP over HTTP on port 3100 with a /health check.
- Try it with: Map ICD-10 code E11.9 to SNOMED.

Reload:

- For a remote connector, enable it from Claude's Connectors UI. After editing `claude_desktop_config.json` or installing a local extension, fully quit and reopen Claude Desktop; the config is read only at launch.

Verify the connection:

- Open the Connectors/tools picker and confirm the server and its tools are available. Check Settings → Developer for local server status and logs for startup failures.

Official client guide: [Claude Desktop](https://docs.omophub.com/ai/mcp-hosted.md)

### Claude Code

Status: needs user input.

Configuration:

```text
claude mcp add --transport stdio --scope project --env OMOPHUB_API_KEY=${OMOPHUB_API_KEY} omophub -- npx -y @omophub/omophub-mcp
```

Prerequisites:

- An OMOPHub account and API key (free plan: 3,000 calls a month).
- Hosted: a client that supports remote Streamable HTTP servers with custom headers (Claude Code, Codex, VS Code, Cursor, Windsurf).
- Local: Node.js and npx, or Docker.
- Send vocabulary codes and search terms only. OMOPHub is not intended to receive patient data (PHI).
- Node.js and npm must be installed and available on the host; the assistant must check before starting this local server.

Required inputs:

- OMOPHUB_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Claude Code (hosted): claude mcp add omophub --transport http -H "Authorization: Bearer oh_your_key_here" https://mcp.omophub.com
- Claude Code (local): claude mcp add omophub -- npx -y @omophub/omophub-mcp, then set OMOPHUB_API_KEY in your environment.
- Codex CLI: codex mcp add omophub --url https://mcp.omophub.com --bearer-token-env-var OMOPHUB_API_KEY, with OMOPHUB_API_KEY set in the environment that launches Codex.
- VS Code: add a server with type http, url https://mcp.omophub.com and an Authorization: Bearer header to .vscode/mcp.json.
- Cursor and Windsurf: add url https://mcp.omophub.com with an Authorization: Bearer header to the MCP configuration.
- Claude Desktop: use the local setup. Add command npx, args -y @omophub/omophub-mcp and env OMOPHUB_API_KEY to claude_desktop_config.json, then restart the app.
- Docker: docker run -e OMOPHUB_API_KEY=oh_your_key_here -p 3100:3100 omophub/omophub-mcp serves MCP over HTTP on port 3100 with a /health check.
- Try it with: Map ICD-10 code E11.9 to SNOMED.

Reload:

- Start or restart the Claude Code session in the project if it was already open. Review and approve a new project-scoped server when Claude Code asks.

Verify the connection:

- Run 'claude mcp get omophub' or 'claude mcp list'; in an interactive session, use '/mcp'. Confirm the status is connected and tools are listed. A configured entry alone is not proof of connection.

Official client guide: [Claude Code](https://docs.omophub.com/ai/mcp-hosted.md)

### Gemini CLI

Status: needs user input.

Configuration:

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

Prerequisites:

- An OMOPHub account and API key (free plan: 3,000 calls a month).
- Hosted: a client that supports remote Streamable HTTP servers with custom headers (Claude Code, Codex, VS Code, Cursor, Windsurf).
- Local: Node.js and npx, or Docker.
- Send vocabulary codes and search terms only. OMOPHub is not intended to receive patient data (PHI).
- Node.js and npm must be installed and available on the host; the assistant must check before starting this local server.

Required inputs:

- OMOPHUB_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Claude Code (hosted): claude mcp add omophub --transport http -H "Authorization: Bearer oh_your_key_here" https://mcp.omophub.com
- Claude Code (local): claude mcp add omophub -- npx -y @omophub/omophub-mcp, then set OMOPHUB_API_KEY in your environment.
- Codex CLI: codex mcp add omophub --url https://mcp.omophub.com --bearer-token-env-var OMOPHUB_API_KEY, with OMOPHUB_API_KEY set in the environment that launches Codex.
- VS Code: add a server with type http, url https://mcp.omophub.com and an Authorization: Bearer header to .vscode/mcp.json.
- Cursor and Windsurf: add url https://mcp.omophub.com with an Authorization: Bearer header to the MCP configuration.
- Claude Desktop: use the local setup. Add command npx, args -y @omophub/omophub-mcp and env OMOPHUB_API_KEY to claude_desktop_config.json, then restart the app.
- Docker: docker run -e OMOPHUB_API_KEY=oh_your_key_here -p 3100:3100 omophub/omophub-mcp serves MCP over HTTP on port 3100 with a /health check.
- Try it with: Map ICD-10 code E11.9 to SNOMED.

Reload:

- Gemini CLI reads its settings on startup. Restart the CLI after direct file edits; its `mcp add` command writes the configuration.

Verify the connection:

- Run 'gemini mcp list' and confirm omophub reports Connected. For local stdio servers, trust the current folder if Gemini CLI requires it.

Official client guide: [Gemini CLI](https://docs.omophub.com/ai/mcp-hosted.md)

### Codex CLI

Status: needs user input.

Configuration:

```json
[mcp_servers.omophub]
command = "npx"
args = ["-y","@omophub/omophub-mcp"]
env_vars = ["OMOPHUB_API_KEY"]
```

Prerequisites:

- An OMOPHub account and API key (free plan: 3,000 calls a month).
- Hosted: a client that supports remote Streamable HTTP servers with custom headers (Claude Code, Codex, VS Code, Cursor, Windsurf).
- Local: Node.js and npx, or Docker.
- Send vocabulary codes and search terms only. OMOPHub is not intended to receive patient data (PHI).
- Node.js and npm must be installed and available on the host; the assistant must check before starting this local server.

Required inputs:

- OMOPHUB_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Claude Code (hosted): claude mcp add omophub --transport http -H "Authorization: Bearer oh_your_key_here" https://mcp.omophub.com
- Claude Code (local): claude mcp add omophub -- npx -y @omophub/omophub-mcp, then set OMOPHUB_API_KEY in your environment.
- Codex CLI: codex mcp add omophub --url https://mcp.omophub.com --bearer-token-env-var OMOPHUB_API_KEY, with OMOPHUB_API_KEY set in the environment that launches Codex.
- VS Code: add a server with type http, url https://mcp.omophub.com and an Authorization: Bearer header to .vscode/mcp.json.
- Cursor and Windsurf: add url https://mcp.omophub.com with an Authorization: Bearer header to the MCP configuration.
- Claude Desktop: use the local setup. Add command npx, args -y @omophub/omophub-mcp and env OMOPHUB_API_KEY to claude_desktop_config.json, then restart the app.
- Docker: docker run -e OMOPHUB_API_KEY=oh_your_key_here -p 3100:3100 omophub/omophub-mcp serves MCP over HTTP on port 3100 with a /health check.
- Try it with: Map ICD-10 code E11.9 to SNOMED.

Reload:

- Restart an already-open Codex session or IDE extension if the server does not appear; the IDE extension offers a Restart action.

Verify the connection:

- Run 'codex mcp list' or '/mcp' in the Codex TUI. Confirm the server is enabled/connected and its tools are available.

Official client guide: [Codex CLI](https://docs.omophub.com/ai/mcp-hosted.md)

### Windsurf

Status: needs user input.

Configuration:

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

Prerequisites:

- An OMOPHub account and API key (free plan: 3,000 calls a month).
- Hosted: a client that supports remote Streamable HTTP servers with custom headers (Claude Code, Codex, VS Code, Cursor, Windsurf).
- Local: Node.js and npx, or Docker.
- Send vocabulary codes and search terms only. OMOPHub is not intended to receive patient data (PHI).
- Node.js and npm must be installed and available on the host; the assistant must check before starting this local server.

Required inputs:

- OMOPHUB_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Claude Code (hosted): claude mcp add omophub --transport http -H "Authorization: Bearer oh_your_key_here" https://mcp.omophub.com
- Claude Code (local): claude mcp add omophub -- npx -y @omophub/omophub-mcp, then set OMOPHUB_API_KEY in your environment.
- Codex CLI: codex mcp add omophub --url https://mcp.omophub.com --bearer-token-env-var OMOPHUB_API_KEY, with OMOPHUB_API_KEY set in the environment that launches Codex.
- VS Code: add a server with type http, url https://mcp.omophub.com and an Authorization: Bearer header to .vscode/mcp.json.
- Cursor and Windsurf: add url https://mcp.omophub.com with an Authorization: Bearer header to the MCP configuration.
- Claude Desktop: use the local setup. Add command npx, args -y @omophub/omophub-mcp and env OMOPHUB_API_KEY to claude_desktop_config.json, then restart the app.
- Docker: docker run -e OMOPHUB_API_KEY=oh_your_key_here -p 3100:3100 omophub/omophub-mcp serves MCP over HTTP on port 3100 with a /health check.
- Try it with: Map ICD-10 code E11.9 to SNOMED.

Reload:

- Save `mcp_config.json`, then restart or reconnect the server from Cascade's MCP controls.

Verify the connection:

- Open Cascade's MCP panel and confirm the server is enabled and lists tools. Note: this documentation applies to legacy Cascade; newer Devin Local setup may differ.

Official client guide: [Windsurf](https://docs.omophub.com/ai/mcp-hosted.md)

### ChatGPT

Status: needs user input.

Configuration:

```json
Remote MCP endpoint: https://mcp.omophub.com
Add it in ChatGPT web → Settings/Workspace Settings → Apps → Create.
```

Prerequisites:

- An OMOPHub account and API key (free plan: 3,000 calls a month).
- Hosted: a client that supports remote Streamable HTTP servers with custom headers (Claude Code, Codex, VS Code, Cursor, Windsurf).
- Local: Node.js and npx, or Docker.
- Send vocabulary codes and search terms only. OMOPHub is not intended to receive patient data (PHI).
- Node.js and npm must be installed and available on the host; the assistant must check before starting this local server.

Required inputs:

- OMOPHUB_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Claude Code (hosted): claude mcp add omophub --transport http -H "Authorization: Bearer oh_your_key_here" https://mcp.omophub.com
- Claude Code (local): claude mcp add omophub -- npx -y @omophub/omophub-mcp, then set OMOPHUB_API_KEY in your environment.
- Codex CLI: codex mcp add omophub --url https://mcp.omophub.com --bearer-token-env-var OMOPHUB_API_KEY, with OMOPHUB_API_KEY set in the environment that launches Codex.
- VS Code: add a server with type http, url https://mcp.omophub.com and an Authorization: Bearer header to .vscode/mcp.json.
- Cursor and Windsurf: add url https://mcp.omophub.com with an Authorization: Bearer header to the MCP configuration.
- Claude Desktop: use the local setup. Add command npx, args -y @omophub/omophub-mcp and env OMOPHUB_API_KEY to claude_desktop_config.json, then restart the app.
- Docker: docker run -e OMOPHUB_API_KEY=oh_your_key_here -p 3100:3100 omophub/omophub-mcp serves MCP over HTTP on port 3100 with a /health check.
- Try it with: Map ICD-10 code E11.9 to SNOMED.

Reload:

- Save/Create the app draft, then open a new chat and select the app from the tools menu. Admin approval or publishing may be required for workspace use.

Verify the connection:

- Confirm the app appears as a draft or enabled app, its tool scan completes, and the tools are available in a chat. ChatGPT web cannot connect directly to local stdio servers.

Official client guide: [ChatGPT](https://docs.omophub.com/ai/mcp-hosted.md)

### Manual

Status: needs user input.

Configuration:

```json
{
  "mcpServers": {
    "omophub": {
      "url": "https://mcp.omophub.com"
    }
  }
}
```

Prerequisites:

- An OMOPHub account and API key (free plan: 3,000 calls a month).
- Hosted: a client that supports remote Streamable HTTP servers with custom headers (Claude Code, Codex, VS Code, Cursor, Windsurf).
- Local: Node.js and npx, or Docker.
- Send vocabulary codes and search terms only. OMOPHub is not intended to receive patient data (PHI).
- Node.js and npm must be installed and available on the host; the assistant must check before starting this local server.

Required inputs:

- OMOPHUB_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Claude Code (hosted): claude mcp add omophub --transport http -H "Authorization: Bearer oh_your_key_here" https://mcp.omophub.com
- Claude Code (local): claude mcp add omophub -- npx -y @omophub/omophub-mcp, then set OMOPHUB_API_KEY in your environment.
- Codex CLI: codex mcp add omophub --url https://mcp.omophub.com --bearer-token-env-var OMOPHUB_API_KEY, with OMOPHUB_API_KEY set in the environment that launches Codex.
- VS Code: add a server with type http, url https://mcp.omophub.com and an Authorization: Bearer header to .vscode/mcp.json.
- Cursor and Windsurf: add url https://mcp.omophub.com with an Authorization: Bearer header to the MCP configuration.
- Claude Desktop: use the local setup. Add command npx, args -y @omophub/omophub-mcp and env OMOPHUB_API_KEY to claude_desktop_config.json, then restart the app.
- Docker: docker run -e OMOPHUB_API_KEY=oh_your_key_here -p 3100:3100 omophub/omophub-mcp serves MCP over HTTP on port 3100 with a /health check.
- Try it with: Map ICD-10 code E11.9 to SNOMED.

Reload:

- Restart/reload the selected client only if its documentation requires it.

Verify the connection:

- Use the selected client's MCP status view and verify the server exposes tools; do not report connected based only on a saved config.

Official client guide: [Manual](https://docs.omophub.com/ai/mcp-hosted.md)