Skip to main content

What is the MCP Server?

The OMOPHub MCP Server connects your AI assistant to the entire OHDSI ATHENA vocabulary. No database setup, no CSV wrangling - just ask your AI about medical concepts and get verified answers.

Hosted MCP - No Installation Required

Skip installation entirely. Connect your AI client directly to mcp.omophub.com with just your API key.

Installation

Install via npm - no build step required:
Or run directly with npx:

Claude Desktop

Open Claude Desktop settings > Developer tab > Edit Config. Add to claude_desktop_config.json:

Claude Code

Codex / ChatGPT desktop

To connect to OMOPHub’s remote server, follow the hosted MCP setup. To run the MCP server locally over stdio, install Node.js with npx and set OMOPHUB_API_KEY in the environment that launches your client. In ChatGPT desktop, use your local Codex host. Add this entry to ~/.codex/config.toml:
Restart the client and look for omophub in its MCP server list. Vocabulary requests still go to the OMOPHub API. See the OpenAI MCP configuration guide for client-specific settings.

Cursor

Open the command palette > Cursor Settings > MCP > Add new global MCP server. Add to .cursor/mcp.json:

VS Code

Add to .vscode/mcp.json:

Windsurf

Add to your Windsurf MCP configuration:

Available Tools

Tools Reference

See detailed parameter schemas and examples for each tool.

Environment Variables

Example Prompts

Try these after installing:
“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”
“Search for metformin in RxNorm”
“Help me build a concept set for heart failure including all descendants”
“Find concepts related to ‘heart attack’” (uses semantic search)
“Give me everything about SNOMED concept 201826” (uses explore)
“What concepts are similar to ‘Type 2 diabetes mellitus’?”

Troubleshooting