
ohnlp/omop_mcp 是从 https://github.com/ohnlp/omop_mcp. 导入的 MCP 服务器候选
概览
ohnlp/omop_mcp 是从 https://github.com/ohnlp/omop_mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
模型上下文协议(MCP)服务器,用于利用大型语言模型(LLM)将临床术语映射到观察性医疗结局合作(OMOP)概念。词汇API由OMOP HUB支持,您可以从 omophub.com 获取API密钥。
演示网站
概述
该服务器提供了一个代理框架,将医学术语标准化为OMOP通用数据模型(CDM)。它使用OMOPHub API进行词汇搜索、概念建议和术语映射。
安装
在配置MCP服务器之前,请确保您具备:
- uv 安装在你的系统上
-
克隆仓库
-
设置环境变量
将 .env.template 复制到 .env,并填写你的 API 凭证。你需要一个 LLM 提供者密钥和一个 OMOPHUB_API_KEY(用于词汇查找)。
Claude Desktop 配置
将以下配置添加到您的 claude_desktop_config.json 文件中:
地点:
- MacOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json - 窗口:
%APPDATA%/Claude/claude_desktop_config.json
配置:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
OMOP MCP Server
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.
Demo Website
Overview
This 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.
Installation
Before configuring the MCP server, ensure you have:
-
uv installed on your system
- Install from: https://docs.astral.sh/uv/getting-started/installation/
-
Clone the repository
git clone https://github.com/OHNLP/omop_mcp.git cd omop_mcp -
Set up environment variables
Copy
.env.templateto.envand fill in your API credentials. You will need both an LLM provider key and an OMOPHUB_API_KEY (for vocabulary lookups).cp .env.template .env
Configuration for Claude Desktop
Add the following configuration to your claude_desktop_config.json file:
Location:
- MacOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json
Configuration:
Replace `` with the actual path to your cloned repository.
{
"mcpServers": {
"omop_mcp": {
"command": "uv",
"args": ["--directory", "", "run", "omop_mcp"]
}
}
}
Features
The OMOP MCP server provides tools and resources for:
- Mapping clinical terminology: Intelligent mapping of free-text terms to standardized OMOP concepts.
- Vocabulary Search: Direct access to OMOP vocabulary via
find_omop_concept. - Batch Processing: Tool for mapping multiple concepts from a CSV file.
- Preferred Vocabularies: Automatic domain-specific vocabulary prioritization (e.g., LOINC for measurements, SNOMED for conditions).
- Live Documentation: Resource access to live OMOP CDM documentation.
Usage Example
The agent is most effective when you provide context such as the OMOP table or field name.
Prompt:
Map `Temperature Temporal Scanner - RR` for `measurement_concept_id` in the `measurement` table.
Response Example:
CONCEPT_ID: 46235152
CODE: 75539-7
NAME: Body temperature - Temporal artery
CLASS: Clinical Observation
CONCEPT: Standard
VALIDITY: Valid
DOMAIN: Measurement
VOCAB: LOINC
REASON: This LOINC concept specifically represents body temperature measured at the temporal artery.
URL: https://omophub.com/concepts/46235152
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"omop_mcp": {
"command": "uv",
"args": ["--directory", "<path-to-local-repo>", "run", "omop_mcp"]
}
}
}