Model Context Protocol (MCP) server for mapping clinical terminology to Observational Medical Outcomes Partnership (OMOP) concepts using Large Language Models (LLMs). The vocabulary API is supported by OMOP HUB, and you can obtain an API key from omophub.com. This server provides an agentic framework to standardize medical terms into the OMOP Common Data Model (CDM). It uses the OMOPHub API for vo
Add this skill
npx mdskills install OHNLP/omop-mcpWell-documented MCP server for medical terminology standardization with clear setup and useful capabilities
1# OMOP MCP Server234[](https://arxiv.org/abs/2509.03828)56Model Context Protocol (MCP) server for mapping clinical terminology to Observational Medical Outcomes Partnership (OMOP) concepts using Large Language Models (LLMs). The vocabulary API is supported by **OMOP HUB**, and you can obtain an API key from [omophub.com](https://omophub.com).78# Demo Website ([omapper](https://omapper.org))9101112## Overview1314This server provides an agentic framework to standardize medical terms into the OMOP Common Data Model (CDM). It uses the OMOPHub API for vocabulary searching, concept suggestion, and terminology mapping.1516### Installation1718Before configuring the MCP server, ensure you have:19201. **uv** installed on your system21 - Install from: https://docs.astral.sh/uv/getting-started/installation/222. Clone the repository2324 ```bash25 git clone https://github.com/OHNLP/omop_mcp.git26 cd omop_mcp27 ```28293. Set up environment variables3031 Copy `.env.template` to `.env` and fill in your API credentials. You will need both an LLM provider key and an **[OMOPHUB_API_KEY](https://omophub.com)** (for vocabulary lookups).3233 ```bash34 cp .env.template .env35 ```3637### Configuration for Claude Desktop3839Add the following configuration to your `claude_desktop_config.json` file:4041**Location:**4243- MacOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json`44- Windows: `%APPDATA%/Claude/claude_desktop_config.json`4546**Configuration:**4748Replace `<path-to-local-repo>` with the actual path to your cloned repository.4950```json51{52 "mcpServers": {53 "omop_mcp": {54 "command": "uv",55 "args": ["--directory", "<path-to-local-repo>", "run", "omop_mcp"]56 }57 }58}59```6061## Features6263The OMOP MCP server provides tools and resources for:6465- **Mapping clinical terminology**: Intelligent mapping of free-text terms to standardized OMOP concepts.66- **Vocabulary Search**: Direct access to OMOP vocabulary via `find_omop_concept`.67- **Batch Processing**: Tool for mapping multiple concepts from a CSV file.68- **Preferred Vocabularies**: Automatic domain-specific vocabulary prioritization (e.g., LOINC for measurements, SNOMED for conditions).69- **Live Documentation**: Resource access to live OMOP CDM documentation.7071## Usage Example7273The agent is most effective when you provide context such as the OMOP table or field name.7475**Prompt:**7677```78Map `Temperature Temporal Scanner - RR` for `measurement_concept_id` in the `measurement` table.79```8081**Response Example:**8283```text84CONCEPT_ID: 4623515285CODE: 75539-786NAME: Body temperature - Temporal artery87CLASS: Clinical Observation88CONCEPT: Standard89VALIDITY: Valid90DOMAIN: Measurement91VOCAB: LOINC92REASON: This LOINC concept specifically represents body temperature measured at the temporal artery.93URL: https://athena.ohdsi.org/search-terms/terms/4623515294```9596## Contributing9798See [CONTRIBUTING.md](CONTRIBUTION.md) for guidelines to contribute to the project.99100## Citation Policy101102If you use this software, please cite the pre-print at arXiv (cs.AI) below:103104[An Agentic Model Context Protocol Framework for Medical Concept Standardization](https://arxiv.org/abs/2509.03828)105106## License107108This project is licensed under the Apache License 2.0. See [LICENSE](LICENSE) file for details.109110**Contact:** jaerongahn@gmail.com111
Full transparency — inspect the skill content before installing.