ClinicalTrials.gov 自然言語 API 用 MCP サーバー
このMCP(モデル制御プロトコル)サーバーを使用すると、自然言語でClinicalTrials.govにクエリを実行できます。OpenAIのGPTモデルを使用してクエリをAPIパラメータに変換し、構造化された結果を返します。
特徴
- 自然言語クエリを受け入れます(例:「カナダで完了した第 3 相糖尿病試験を表示してください」)
- OpenAI API を使用して ClinicalTrials.gov API パラメータを解析し、マッピングします。
- 解析されたパラメータと結果の両方を返します
要件
- Python 3.8以上
requirements.txt
内の依存関係- OpenAI API キー(
OPENAI_API_KEY
環境変数として設定)
サーバーの実行
- 依存関係をインストールします:
- OpenAI API キーを設定します。
- サーバーを起動します。
使用法
cURLの例
Pythonの例
MCPとは何ですか?
MCP(モデル制御プロトコル)は、自然言語APIと構造化API間の制御層として機能するAI駆動型APIを構築するためのパターンです。このサーバーはLLMを使用してユーザーの意図を解釈し、API呼び出しにマッピングすることで、複雑なデータに平易な言語でアクセスできるようにします。
カスタマイズ
- より多くのクエリ タイプや API をサポートするには、プロンプトを変更したり、
server.py
でパラメーター スキーマを追加したりできます。
質問や改善点については、問題または PR を開いてください。
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