OO

ohnlp/omop_mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

44 stars 10 forks Качество 56 Тренд 0NOASSERTION

ohnlp/omop mcp - кандидат на сервер MCP, импортированный из https://github.com/ohnlp/omop_mcp.

Обзор

ohnlp/omop mcp - кандидат на сервер MCP, импортированный из https://github.com/ohnlp/omop_mcp.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP) для сопоставления клинической терминологии с концепциями Observational Medical Outcomes Partnership (OMOP) с использованием моделей большого языка (LLM). Словарь API поддерживается OMOP HUB, и вы можете получить ключ API от omophub.com.

Демо-сайт

Обзор

Этот сервер обеспечивает агентную структуру для стандартизации медицинских терминов в общей модели данных OMOP (CDM). Он использует OMOPHub API для поиска лексики, внушения концепции и картирования терминологии.

###Установка

Перед настройкой MCP-сервера убедитесь, что у вас есть:

  1. uv установлен в вашей системе
  1. Клонировать хранилище

  2. Настройка переменных среды

Скопируйте .env.template до .env и заполните свои учетные данные API. Вам понадобится как ключ провайдера LLM, так и OMOPHUB API KEY (для поиска лексики).

Конфигурация для Claude Desktop

Добавьте следующую конфигурацию в файл claude_desktop_config.json:

** Расположение:**

  • MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

** Конфигурация:**

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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:

  1. uv installed on your system

  2. Clone the repository

    git clone https://github.com/OHNLP/omop_mcp.git
    cd omop_mcp
    
  3. Set up environment variables

    Copy .env.template to .env and 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
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

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