Omop MCP logo

Omop MCP

by OHNLP

Maps clinical terms to OMOP concepts with LLM assistance, OMOPHub vocabulary search, batch CSV processing, and CDM documentation.

Install Omop MCP

Run the project’s own setup commands, in order.

Setup steps from the project

OHNLP/omop_mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/OHNLP/omop_mcp.git
    
  2. 2. Run
    cd omop_mcp
    
  3. 3. Configure
    cp .env.template .env
    

Overview

OHNLP/omop_mcp MCP server maps free-text clinical terminology to standardized OMOP concepts with assistance from large language models. It uses the OMOPHub API for vocabulary searches, concept suggestions, and terminology mapping, while also exposing batch CSV processing and live OMOP CDM documentation. Provide clinical context such as the target OMOP table or field to guide mapping. Reach for it when standardizing healthcare terminology for OMOP-based data workflows.

Use cases

  • Map free-text clinical terms to OMOP standard concepts
  • Search OMOP vocabulary for candidate concepts
  • Process terminology mappings from a CSV file
  • Prioritize vocabularies by clinical domain
  • Consult live OMOP CDM documentation

Key features

  • LLM-assisted clinical terminology mapping
  • OMOPHub vocabulary search
  • Batch CSV concept processing
  • Domain-specific vocabulary prioritization
  • Live OMOP CDM documentation resource

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

21/22 checks healthy over the last 112d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars44Stargazers on the source repository.
Last commit6mo agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Omop MCP works

What OHNLP/omop_mcp MCP server does

OHNLP/omop_mcp MCP server helps an AI agent translate clinical terms into concepts from the OMOP Common Data Model (CDM). It is intended for healthcare data standardization and interoperability workflows where source terminology must be aligned with OMOP vocabulary. For example, an agent can map a measurement description to a LOINC concept and return the concept identifier, code, name, domain, vocabulary, validity, and standard-concept status.

The mapping process uses an LLM together with vocabulary information supplied through OMOPHub. The resulting server fits the Biology, Medicine and Bioinformatics category and is most relevant to teams preparing or reviewing OMOP-formatted clinical data.

How it works

The server connects to the OMOPHub API for vocabulary lookup and concept-related operations. An LLM assists with interpreting free-text clinical terminology and selecting or suggesting an appropriate OMOP concept. Supplying the target OMOP table or field gives the agent additional context; a measurement field, for instance, can help distinguish among concepts from different domains or vocabularies.

Vocabulary prioritization can be domain-specific. The README gives LOINC for measurements and SNOMED for conditions as examples. The server also provides access to live OMOP CDM documentation, allowing an agent to consult current model guidance alongside terminology results.

Setup and configuration

Install uv, clone the repository, and create a local environment file from .env.template. Running the server requires an LLM provider credential and an OMOPHUB_API_KEY; the latter is obtained from OMOPHub for vocabulary access.

Claude Desktop can launch the server through an MCP entry that runs uv --directory <path-to-local-repo> run omop_mcp. Replace the repository placeholder with the local checkout path. The documented configuration uses the standard command-based local process pattern.

Tools and capabilities

OHNLP/omop_mcp MCP server provides capabilities for:

  • Mapping individual free-text clinical terms to OMOP concepts with LLM assistance.
  • Searching OMOP vocabulary directly through find_omop_concept.
  • Processing multiple concepts from a CSV file.
  • Prioritizing vocabularies based on the likely clinical domain.
  • Exposing live OMOP CDM documentation as a resource.

These functions support both interactive agent prompts and larger terminology-cleanup tasks. Batch processing is useful when source terms are stored in a CSV rather than submitted one at a time.

Limitations and notes

The server depends on OMOPHub for vocabulary operations, so an OMOPHub API key is required. It also requires an LLM provider credential for the assisted mapping workflow. Mapping quality depends on the clinical wording and context supplied to the agent; the README specifically recommends including the OMOP table or field name.

This tool supports terminology mapping and related documentation access, not a complete clinical data transformation pipeline. Review suggested concepts before using them in production datasets, particularly where a source term is ambiguous or multiple valid OMOP concepts may apply. The project is licensed under Apache License 2.0 and asks users to cite its arXiv preprint when using the software.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Omop MCP

OHNLP/omop_mcp is an MCP server that connects an AI agent to the OMOPHub vocabulary API and an LLM provider. Its main tools map clinical terms to OMOP concepts, search vocabulary with `find_omop_concept`, process mappings from CSV files, and provide access to OMOP CDM documentation.

Install `uv`, clone the repository, and create `.env` from `.env.template`. Add an LLM provider credential and `OMOPHUB_API_KEY`, then configure the server command with `uv --directory <path-to-local-repo> run omop_mcp`.

The server requires an `OMOPHUB_API_KEY` for OMOP vocabulary lookups and an LLM provider key for assisted mapping.

Include the target OMOP table or field in the prompt. Context such as a `measurement_concept_id` field helps the agent interpret the term and select a suitable domain or vocabulary.

Add an `mcpServers` entry that runs the repository with `uv`, using the local checkout path in the `--directory` argument.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOmop MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ohnlp-omop-mcp?style=directory)](https://allmcps.com/mcp/ohnlp-omop-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/ohnlp-omop-mcp"><img src="https://allmcps.com/api/badge/ohnlp-omop-mcp?style=directory" alt="Omop MCP on AllMCPs" /></a>