omophub-mcp MCP Server
Search, lookup, map, and navigate OMOP medical vocabularies via AI agents
omophub-mcp scores 72 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 11 tools. Filed under Maps and location, Search. GitHub shows 7 stars. Package registries report about 128 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
72 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 72 comes from
22 + 20 + 6 + 10 + 4 + 10 = 72. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 6 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "omophub-omophub-mcp": { "command": "npx", "args": [ "-y", "@omophub/omophub-mcp@1.1.0" ], "env": { "OMOPHUB_API_KEY": "YOUR_OMOPHUB_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
OMOPHUB_API_KEYSecret | Required | Your OMOPHub API key. Get one at https://omophub.com/dashboard/api-keys |
Tools11Tool docs quality grade B
All capabilitiesexplore_concepttoolGet concept details, hierarchy, and cross-vocabulary mappings in one call
fhir_resolvetoolResolve a FHIR coded value (incl. administrative codes via the HL7 FHIR-to-OMOP IG ConceptMaps) to its OMOP standard concept and CDM target table
Resolve a FHIR CodeableConcept — best match by OHDSI vocabulary preference, honoring userSelected
Find concepts similar to a reference concept, name, or description
get_concepttoolGet detailed info about a specific OMOP concept by conceptid
Look up a concept using a vocabulary-specific code (e.g., ICD-10 E11.9)
get_hierarchytoolNavigate concept hierarchy - ancestors, descendants, or both
List available medical vocabularies with statistics
map_concepttoolMap a concept to equivalent concepts in other vocabularies (paginated — see note below)
search_conceptstoolSearch for medical concepts by name or clinical term across all vocabularies
semantic_searchtoolSearch using natural language with neural embeddings (understands clinical meaning)
About
Why OMOPHub MCP?
Working with medical vocabularies today means downloading multi-gigabyte CSV files, loading them into a local database, and writing SQL to find what you need. Every time.
OMOPHub MCP Server gives your AI assistant instant access to the entire OHDSI ATHENA vocabulary. No database setup, no CSV wrangling, no context switching. Just ask.
You: "Map ICD-10 code E11.9 to SNOMED"
Claude: Found it - E11.9 (Type 2 diabetes mellitus without complications)
maps to SNOMED concept 201826 (Type 2 diabetes mellitus)
via standard 'Maps to' relationship.
Use cases:
- Concept lookup - Find OMOP concept IDs for clinical terms in seconds
- Cross-vocabulary mapping - Map between ICD-10, SNOMED, RxNorm, LOINC, and 120+ vocabularies
- Hierarchy navigation - Explore ancestors and descendants for phenotype definitions
- Concept set building - Let your AI agent assemble complete concept sets for cohort definitions
- Code validation - Verify medical codes and check their standard mappings
Quick Start
1. Get an API Key
Sign up at omophub.com → create an API key in your dashboard.
2. Add to Your AI Client
Open Claude Desktop settings > "Developer" tab > "Edit Config". Add to claude_desktop_config.json:
{
"mcpServers": {
"omophub": {
"command": "npx",
"args": ["-y", "@omophub/omophub-mcp"],
"env": {
"OMOPHUB_API_KEY": "oh_your_key_here"
}
}
}
}
claude mcp add omophub -- npx -y @omophub/omophub-mcp
# Then set OMOPHUB_API_KEY in your environment
Open the command palette and choose "Cursor Settings" > "MCP" > "Add new global MCP server". Add to .cursor/mcp.json:
{
"mcpServers": {
"omophub": {
"command": "npx",
"args": ["-y", "@omophub/omophub-mcp"],
"env": {
"OMOPHUB_API_KEY": "oh_your_key_here"
}
}
}
}
Add to .vscode/mcp.json:
{
"servers": {
"omophub": {
"command": "npx",
"args": ["-y", "@omophub/omophub-mcp"],
"env": {
"OMOPHUB_API_KEY": "oh_your_key_here"
}
}
}
}
Run the MCP server as an HTTP service that clients connect to via URL:
# Start the local listener; each client supplies its own credential
npx -y @omophub/omophub-mcp --transport=http --port=3100
# MCP endpoint: http://localhost:3100/mcp
# Health check: http://localhost:3100/health
Point the client at http://127.0.0.1:3100/mcp and set its Authorization header to Bearer <your OMOPHub API key> on every MCP request. The legacy / path also accepts individual API keys. Local HTTP listens on loopback by default.
Upgrading from 1.6.3. Move the key from the HTTP server’s --api-key or OMOPHUB_API_KEY setting into each client’s authorization header. Use an individual key for each account so the API can apply its vocabulary permissions and tier quota. For local stdio, keep the key in the client’s MCP environment. If you previously exposed a keyed HTTP server on a shared network, restrict its listener and review the account’s usage.
For an OAuth-capable client, add https://mcp.omophub.com/mcp, sign in to OMOPHub and approve vocabulary access. The API enforces your vocabulary permissions and bills successful reads against your tier. To disconnect one app, open Settings → Connected Apps in the OMOPHub dashboard.
Clients that use individual API keys can send the key in the Authorization header:
Claude Code:
claude mcp add omophub --transport http \
-H "Authorization: Bearer oh_your_key_here" \
https://mcp.omophub.com
VS Code (.vscode/mcp.json):
{
"servers": {
"omophub": {
"type": "http",
"url": "https://mcp.omophub.com",
"headers": { "Authorization": "Bearer oh_your_key_here" }
}
}
}
Cursor / Windsurf:
{
"mcpServers": {
"omophub": {
"url": "https://mcp.omophub.com",
"headers": { "Authorization": "Bearer oh_your_key_here" }
}
}
}
For a Claude custom connector, use the hosted OAuth URL above. The local Claude Desktop setup uses stdio and an API key.
# HTTP for clients on this machine; send the API key from the client
docker run --rm -e MCP_HOST=0.0.0.0 -p 127.0.0.1:3100:3100 omophub/omophub-mcp:1.7.0
# Stdio mode (for piping)
docker run -i -e OMOPHUB_API_KEY=oh_your_key_here omophub/omophub-mcp --transport=stdio
3. Start Asking
"What's the OMOP concept ID for type 2 diabetes?"
"Map ICD-10 code E11.9 to SNOMED"
"Show me all descendants of Diabetes mellitus in SNOMED"
Available Tools
| Tool | What it does |
|---|---|
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 |
Resources
| URI | Description |
|---|---|
omophub://vocabularies | Full vocabulary catalog with statistics |
omophub://vocabularies/{vocabulary_id} | Details for a specific vocabulary |
Prompts
| Prompt | Description |
|---|---|
phenotype-concept-set | Guided workflow to build a concept set for a clinical phenotype |
code-lookup | Look up and validate a medical code with mappings and hierarchy |
Example Prompts
Find a concept → search_concepts
"Search for metformin in RxNorm"
Cross-vocabulary mapping → map_concept
"I have SNOMED concept 201826 - what's the ICD-10 code?"
Build a concept set → search_concepts → get_hierarchy → map_concept
"Help me build a concept set for Type 2 diabetes including all descendants"
Completeness matters here.
map_conceptreturns one page at a time (page_size1-200, default 100). A widely-used drug ingredient can have well over a thousand NDC mappings, so a single call is a sample, not the answer. Checkhas_morein the response and keep incrementingpageuntil it isfalse— otherwise the concept set looks complete while silently missing codes.Use
find_similar_conceptsfor exploration, not for this: it is ranked embedding similarity, so it has no notion of set membership and cannot be exhaustive no matter how largepage_sizeis.
Validate a code → get_concept_by_code → map_concept
"Is ICD-10 code E11.9 valid? What does it map to in SNOMED?"
Semantic search → semantic_search
"Find concepts related to 'heart attack'"
Explore a concept → explore_concept
"Give me everything about SNOMED concept 201826"
FHIR-to-OMOP resolution → fhir_resolve
"Resolve FHIR SNOMED code 44054006 to OMOP — what table does it go in?"
CodeableConcept → fhir_resolve_codeable_concept
"This CodeableConcept has both SNOMED 44054006 and ICD-10 E11.9 — which should I use for OMOP?"
Find similar → find_similar_concepts
"What concepts are similar to 'Type 2 diabetes mellitus'?"
Configuration
Environment Variables
| Variable | Required | Description |
|---|---|---|
OMOPHUB_API_KEY | stdio | Individual API key for local stdio. HTTP clients send their own credentials. |
OMOPHUB_BASE_URL | Custom API base URL (default: https://api.omophub.com/v1) | |
OMOPHUB_LOG_LEVEL | debug · info · warn · error (default: info) | |
OMOPHUB_ANALYTICS_OPTOUT | Set to true to disable analytics headers | |
OMOPHUB_USER_AGENT_SUFFIX | Optional deployment identifier appended to omophub-mcp/<version> (default: none) | |
MCP_TRANSPORT | stdio (default) or http | |
MCP_PORT | HTTP server port (default: 3100, only used with http transport) | |
MCP_HOST | HTTP bind address (default 127.0.0.1). Set explicitly when clients connect through a container network. | |
MCP_ALLOWED_HOSTS | Additional accepted HTTP authorities, comma-separated, including any nondefault port. For a reverse proxy, allow its public authority and preserve the original Host header. | |
MCP_ALLOWED_ORIGINS | Additional trusted browser origins, comma-separated, including scheme and any nondefault port. Native clients may omit Origin. | |
HEALTH_PORT | Port for standalone health endpoint in stdio mode (default: disabled) |
CLI Arguments
# Stdio mode (default)
npx @omophub/omophub-mcp --api-key=oh_your_key --base-url=https://custom.api.com/v1
# HTTP mode
npx @omophub/omophub-mcp --transport=http --port=3100
# Stdio mode with standalone health endpoint
npx @omophub/omophub-mcp --api-key=oh_your_key --health-port=8080
Health Endpoint (Docker / Kubernetes)
In HTTP mode, the health endpoint is available at /health on the same port as the MCP endpoint:
npx @omophub/omophub-mcp --transport=http --port=3100
curl http://localhost:3100/health
# → {"status":"ok","version":"1.7.0","uptime_seconds":42}
In stdio mode, use --health-port for a standalone health endpoint:
HEALTH_PORT=8080 OMOPHUB_API_KEY=oh_your_key npx @omophub/omophub-mcp
curl http://localhost:8080/health
The Docker image defaults to HTTP mode on port 3100 with health checks built in.
Development
git clone https://github.com/OMOPHub/omophub-mcp.git
cd omophub-mcp
npm install
npm run build
npm test
Run locally:
OMOPHUB_API_KEY=oh_your_key npx tsx src/index.ts
Troubleshooting
| Error | Solution |
|---|---|
| HTTP 401 | Configure the client’s Bearer API key or reconnect its hosted OAuth grant. |
| HTTP 403 before MCP dispatch | Check the requested host and browser origin against the configured allowlists. |
| stdio API key required | Set OMOPHUB_API_KEY in the MCP client’s environment. |
Authentication failed | API key may be invalid or expired - generate a new one |
Rate limit exceeded | Automatic retries are built in. For higher limits, upgrade your plan |
| Tools not appearing | Restart your AI client, verify npx @omophub/omophub-mcp runs without errors, check config path |
Links
License
MIT - see LICENSE
Frequently asked questions
What is omophub-mcp MCP Server?
Search, lookup, map, and navigate OMOP medical vocabularies via AI agents
How do I install omophub-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. omophub-mcp MCP Server runs locally from the npm package @omophub/omophub-mcp with the command npx -y @omophub/omophub-mcp@1.1.0.
Is omophub-mcp MCP Server free and open source?
Yes. omophub-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does omophub-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for omophub-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does omophub-mcp MCP Server provide?
omophub-mcp MCP Server provides 11 tools, including explore_concept, fhir_resolve, fhir_resolve_codeable_concept, and find_similar_concepts. See the full tool list for descriptions and parameters.
How is omophub-mcp MCP Server's trust score calculated?
omophub-mcp MCP Server scores 72 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.