MCP Directory

OMOP MCP Server

Map clinical terminology to standardized OMOP CDM concepts using LLMs and the OMOPHub vocabulary API.

Unverified
stdio (local)
API key
Python

Add to your client

Copy the config for your MCP client and paste it into its config file.

Install / run
git clone https://github.com/OHNLP/omop_mcp.git

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "omop-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "<path-to-local-repo>",
        "run",
        "omop_mcp"
      ]
    }
  }
}

Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf

Before you start

  • uv installed (https://docs.astral.sh/uv/getting-started/installation/)
  • Clone of the OHNLP/omop_mcp repository
  • OMOPHUB_API_KEY from omophub.com for vocabulary lookups
  • An LLM provider API key (e.g. OpenAI, Anthropic, Azure OpenAI, OpenRouter, Groq, Hugging Face, or Google), configured via a local .env file

About OMOP MCP Server

An agentic MCP server that maps free-text clinical terms to standardized OMOP CDM concepts. It combines the OMOPHub vocabulary API with an LLM to search, suggest, and select the best standard concept, with automatic domain-specific vocabulary prioritization and batch CSV mapping. Distributed by the OHNLP organization and run locally via uv as a stdio server for Claude Desktop.

Tools & capabilities (3)

find_omop_concept

Search the OMOP vocabulary directly to look up standardized concepts.

map_clinical_terminology

Intelligently map a free-text clinical term to a standardized OMOP concept, optionally guided by the target OMOP table/field, returning the concept id, code, name, class, validity, domain, vocabulary, and a rationale.

batch_mapping

Map multiple clinical concepts at once from a CSV file.

When to use it

  • Standardizing free-text clinical terms (conditions, measurements, drugs) into OMOP CDM concept IDs
  • Looking up OMOP vocabulary concepts during ETL of source data to the OMOP Common Data Model
  • Batch-mapping a CSV of source terms to standard concepts for a data harmonization project
  • Assisting OHDSI/OMOP researchers and data engineers with concept selection and vocabulary prioritization

Security notes

Requires an OMOPHUB_API_KEY (from omophub.com) and at least one LLM provider key (OpenAI, Anthropic, Azure OpenAI, OpenRouter, Groq, Hugging Face, or Google). Credentials are supplied via a local .env file copied from .env.template; do not commit the .env file. Clinical terms you map are sent to the configured LLM provider and the OMOPHub API.

OMOP MCP Server FAQ

What vocabulary backend does it use?

It uses the OMOPHub API (omophub.com) for vocabulary search, concept suggestion, and terminology mapping. You need an OMOPHUB_API_KEY.

Which LLM providers are supported?

The .env template includes keys for OpenAI, Anthropic, Azure OpenAI, OpenRouter, Groq, Hugging Face, and Google; fill in only the provider(s) you intend to use.

How do I run it in Claude Desktop?

Clone the repo, install uv, copy .env.template to .env and fill in your keys, then add the provided mcpServers block to claude_desktop_config.json with the path to your local repo.

Can I try it without installing anything?

Yes, a hosted demo (OMapper) is available at https://omapper.vercel.app/.

Alternatives to OMOP MCP Server

Compare all alternatives →

Official MCP server providing persistent, file-backed knowledge-graph memory across sessions.

Verified
stdio (local)
No auth
TypeScript
9 tools
Updated 5 months agoRepo

Structured step-by-step reasoning tool for breaking problems into revisable thought sequences.

Verified
stdio (local)
No auth
TypeScript
1 tool
Updated 6 months agoRepo

Fully managed remote server for AWS docs, blogs, What's-New and Well-Architected guidance — no key.

Verified
HTTP (remote)
No auth
Hosted
6 tools
Updated 5 months agoRepo