omop_mcp is a Model Context Protocol (MCP) server provided by OHNLP for mapping clinical terms to OMOP (Observational Medical Outcomes Partnership) concepts with the help of large language models (LLMs). Its goal is to provide an agentic framework that standardizes medical terminology into the OMOP Common Data Model (CDM) to support the standardization and interoperability of medical data. The vocabulary API is supported by OMOP Hub, and API keys can be obtained from omophub.com.
In terms of use, this server is aimed at tasks that require converting free-text clinical terms into standardized OMOP concepts. It uses the OMOPHub API for vocabulary search, concept suggestions, and terminology mapping, and emphasizes that the agent performs best when context such as OMOP table names or field names is provided.
Main capabilities include: clinical term mapping, which intelligently maps free-text terms to standardized OMOP concepts; vocabulary search, which provides direct access to the OMOP vocabulary through find_omop_concept; batch processing, which supports mapping multiple concepts from a CSV file; preferred vocabularies, which can automatically prioritize specific vocabularies by domain, for example LOINC for measurements and SNOMED for conditions; and real-time documentation, which provides access to online OMOP CDM documentation.
In terms of usage, several prerequisites must be met before deployment. First, uv needs to be installed; installation instructions can be found at https://docs.astral.sh/uv/getting-started/installation/。然后克隆仓库:
git clone https://github.com/OHNLP/omop_mcp.git cd omop_mcp
Next, set the environment variables by copying .env.template to .env and filling in the API credentials. Both an LLM provider key and the OMOPHUB_API_KEY for vocabulary queries need to be provided:
cp .env.template .env
To use it in Claude Desktop, the corresponding configuration needs to be added to the claude_desktop_config.json file. On MacOS, the path to this file is ~/Library/Application Support/Claude/claude_desktop_config.json, and on Windows it is %APPDATA%/Claude/claude_desktop_config.json, and <path-to-local-repo> in the configuration should be replaced with the actual path to the cloned repository. The repository also includes response examples.
Applicable scenarios are mainly data standardization and interoperability work in the healthcare field, such as mapping clinical free-text terms to OMOP concepts, selecting appropriate vocabularies by domain, and batch processing multiple concepts.
In terms of limitations, uv must be installed before use, and an LLM provider key and OMOPHUB_API_KEY must be configured; vocabulary queries depend on the OMOPHub API. The project's contribution guidelines can be found in CONTRIBUTING.md. If this software is used, the preprint on arXiv (cs.AI) should be cited: An Agentic Model Context Protocol Framework for Medical Concept Standardization. The project is licensed under the Apache License 2.0, as detailed in the LICENSE file. The contact email is jaerongahn@gmail.com.