ClinicalTrials.gov 자연어 API를 위한 MCP 서버
이 MCP(모델 제어 프로토콜) 서버를 사용하면 자연어를 사용하여 ClinicalTrials.gov에 쿼리를 보낼 수 있습니다. OpenAI의 GPT 모델을 사용하여 쿼리를 API 매개변수로 변환하고 구조화된 결과를 반환합니다.
특징
- 자연어 쿼리를 수락합니다(예: "캐나다에서 완료된 3상 당뇨병 임상 시험 결과를 보여주세요")
- OpenAI API를 사용하여 ClinicalTrials.gov API 매개변수를 구문 분석하고 매핑합니다.
- 구문 분석된 매개변수와 결과를 모두 반환합니다.
요구 사항
- 파이썬 3.8 이상
requirements.txt
의 종속성- OpenAI API 키(
OPENAI_API_KEY
환경 변수로 설정)
서버 실행
- 종속성 설치:지엑스피1
- OpenAI API 키를 설정하세요:
- 서버를 시작합니다:
용법
cURL 예제
파이썬 예제
MCP란 무엇인가요?
MCP(모델 제어 프로토콜)는 자연어 API와 구조화된 API 사이의 제어 계층 역할을 하는 AI 기반 API를 구축하기 위한 패턴입니다. 이 서버는 LLM을 사용하여 사용자 의도를 해석하고 이를 API 호출에 매핑하여, 복잡한 데이터를 일반 언어로 접근할 수 있도록 합니다.
사용자 정의
- 더 많은 쿼리 유형이나 API를 지원하기 위해
server.py
에서 프롬프트를 수정하거나 매개변수 스키마를 추가할 수 있습니다.
질문이나 개선 사항이 있으시면 이슈나 홍보글을 올려주세요!
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
사용자가 복잡한 API 매개변수 대신 자연어를 사용하여 ClinicalTrials.gov에 쿼리를 보내고, 일반 영어 요청을 구조화된 API 호출로 변환하여 체계적으로 정리된 임상 시험 데이터를 반환할 수 있도록 합니다.
Related MCP Servers
- AsecurityAlicenseAqualityEnables extracting data from websites using natural language prompts, allowing users to specify exactly what content they want in plain English and returning structured JSON data.Last updated -16666TypeScriptMIT License
- -securityAlicense-qualityProvides access to the ClinicalTrials.gov AACT database, enabling analysis of clinical trial data, tracking development trends, and generating therapeutic landscape insights.Last updated -15PythonGPL 3.0
- -securityAlicense-qualityProvides AI assistants with direct query access to the AACT (Aggregate Analysis of ClinicalTrials.gov) database, allowing structured retrieval and analysis of clinical trial data.Last updated -15PythonGPL 3.0
- -securityAlicense-qualityA Model Context Protocol server that enables Claude Desktop to search clinicaltrials.gov for matching clinical trials based on genetic mutations provided in natural language queries.Last updated -PythonMIT License