Medplum MCP
Securely access and manage FHIR healthcare data stored in Medplum.
Research drugs, supplements, and cosmetic ingredients across public databases.
作者による原文
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 0/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 12/100 |
品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
Open Drug Data をインストールして。https://mcp.popnx.com/i/knorby-open-drug-data-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月17日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
Open Drug Data のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server Open Drug Data を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "open-drug-data": { "command": "npx", "args": [ "-y", "@knorby/open-drug-data-mcp" ], "env": { "UMLS_API_KEY": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) UMLS_API_KEY は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Open Drug Data のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
SettingsDeveloperEdit Config
{
"mcpServers": {
"open-drug-data": {
"command": "npx",
"args": [
"-y",
"@knorby/open-drug-data-mcp"
],
"env": {
"UMLS_API_KEY": "your-value"
}
}
}
}キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Open Drug Data を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Open Drug Data を使っていると言うか、回答に Open Drug Data のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
OPENFDA_API_KEY 上流の レート制限を引き上げるための openFDA キー(任意)です。 DSLD_API_KEY 上流のレート制限を引き上げるための任意の NIH DSLD キー。 NLM_PUBMED_API_KEY PubMed リクエスト用の任意の NCBI E-utilities キーです。 NLM_PUBMED_EMAIL PubMed へのリクエストとともに送信される任意の連絡先住所。 NLM_PUBMED_TOOL PubMed リクエストとともに送信される任意のツール名。 DRUGDATA_TIMEOUT_MS リクエストごとの上流タイムアウト(ミリ秒)。 DRUGDATA_SEARCH_TIMEOUT_MS 検索の振り分けとエンリッチメントに共有される壁時計ベースの締め切り時刻です。 DRUGDATA_DISABLED_SOURCES 無効にするソース ID をカンマ区切りで指定します。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Open Drug Data につなげません
Open Drug Data はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
A · Open Drug Data につなげるアプリを使う
B · クリニック・健康 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
Claude Code につなげますが、先に準備が必要です
Open Drug Data のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server Open Drug Data を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user open-drug-data --env UMLS_API_KEY=your-value -- npx -y @knorby/open-drug-data-mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) UMLS_API_KEY は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Open Drug Data のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --scope user open-drug-data --env UMLS_API_KEY=your-value -- npx -y @knorby/open-drug-data-mcpEnter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Open Drug Data が一覧にあり、接続済みと表示されれば OK です
Open Drug Data を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Open Drug Data を使っていると言うか、回答に Open Drug Data のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
OPENFDA_API_KEY 上流の レート制限を引き上げるための openFDA キー(任意)です。 DSLD_API_KEY 上流のレート制限を引き上げるための任意の NIH DSLD キー。 NLM_PUBMED_API_KEY PubMed リクエスト用の任意の NCBI E-utilities キーです。 NLM_PUBMED_EMAIL PubMed へのリクエストとともに送信される任意の連絡先住所。 NLM_PUBMED_TOOL PubMed リクエストとともに送信される任意のツール名。 DRUGDATA_TIMEOUT_MS リクエストごとの上流タイムアウト(ミリ秒)。 DRUGDATA_SEARCH_TIMEOUT_MS 検索の振り分けとエンリッチメントに共有される壁時計ベースの締め切り時刻です。 DRUGDATA_DISABLED_SOURCES 無効にするソース ID をカンマ区切りで指定します。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
Open Drug Data のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server Open Drug Data を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "open-drug-data": { "command": "npx", "args": [ "-y", "@knorby/open-drug-data-mcp" ], "env": { "UMLS_API_KEY": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) UMLS_API_KEY は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Open Drug Data のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
Open Drug Data の設定で UMLS_API_KEY が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Open Drug Data を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Open Drug Data を使っていると言うか、回答に Open Drug Data のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
OPENFDA_API_KEY 上流の レート制限を引き上げるための openFDA キー(任意)です。 DSLD_API_KEY 上流のレート制限を引き上げるための任意の NIH DSLD キー。 NLM_PUBMED_API_KEY PubMed リクエスト用の任意の NCBI E-utilities キーです。 NLM_PUBMED_EMAIL PubMed へのリクエストとともに送信される任意の連絡先住所。 NLM_PUBMED_TOOL PubMed リクエストとともに送信される任意のツール名。 DRUGDATA_TIMEOUT_MS リクエストごとの上流タイムアウト(ミリ秒)。 DRUGDATA_SEARCH_TIMEOUT_MS 検索の振り分けとエンリッチメントに共有される壁時計ベースの締め切り時刻です。 DRUGDATA_DISABLED_SOURCES 無効にするソース ID をカンマ区切りで指定します。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
Open Drug Data のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server Open Drug Data を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "open-drug-data": { "type": "stdio", "command": "npx", "args": [ "-y", "@knorby/open-drug-data-mcp" ], "env": { "UMLS_API_KEY": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) UMLS_API_KEY は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Open Drug Data のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
Open Drug Data の設定で UMLS_API_KEY が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Open Drug Data を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Open Drug Data を使っていると言うか、回答に Open Drug Data のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
OPENFDA_API_KEY 上流の レート制限を引き上げるための openFDA キー(任意)です。 DSLD_API_KEY 上流のレート制限を引き上げるための任意の NIH DSLD キー。 NLM_PUBMED_API_KEY PubMed リクエスト用の任意の NCBI E-utilities キーです。 NLM_PUBMED_EMAIL PubMed へのリクエストとともに送信される任意の連絡先住所。 NLM_PUBMED_TOOL PubMed リクエストとともに送信される任意のツール名。 DRUGDATA_TIMEOUT_MS リクエストごとの上流タイムアウト(ミリ秒)。 DRUGDATA_SEARCH_TIMEOUT_MS 検索の振り分けとエンリッチメントに共有される壁時計ベースの締め切り時刻です。 DRUGDATA_DISABLED_SOURCES 無効にするソース ID をカンマ区切りで指定します。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Claude Code
claude mcp add --scope user open-drug-data --env UMLS_API_KEY=your-value -- npx -y @knorby/open-drug-data-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"open-drug-data": {
"command": "npx",
"args": [
"-y",
"@knorby/open-drug-data-mcp"
],
"env": {
"UMLS_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"open-drug-data": {
"command": "npx",
"args": [
"-y",
"@knorby/open-drug-data-mcp"
],
"env": {
"UMLS_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"open-drug-data": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@knorby/open-drug-data-mcp"
],
"env": {
"UMLS_API_KEY": "your-value"
}
}
}
}OPENFDA_API_KEY 秘密 envDSLD_API_KEY 秘密 envUMLS_API_KEY 秘密 必須 envNLM_PUBMED_API_KEY 秘密 envNLM_PUBMED_EMAIL envNLM_PUBMED_TOOL envDRUGDATA_TIMEOUT_MS envDRUGDATA_SEARCH_TIMEOUT_MS envDRUGDATA_DISABLED_SOURCES env説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月20日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント knorby で確認済みです
コードの最終更新:3 日前
Apache-2.0を使用
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
OSV.dev に @knorby/open-drug-data-mcp@0.1.0 の登録はありません
このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月17日
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/knorby-open-drug-data-mcp)質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:UMLS_API_KEY
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は3 日前、最新バージョン(0.1.0)がレジストリに届いたのは3 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Medplum MCP, Mirobody, Codescene MCP Server, Marrow, WHOOP — MissingMCP
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Securely access and manage FHIR healthcare data stored in Medplum.
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
An MCP server that provides CodeScene Code Health analysis tools.
Marrow Health: your Apple Health data over MCP, from the free iOS app. Reads, and writes on demand.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
| これ Open Drug Data | Medplum MCP | Mirobody | Codescene MCP Server | Marrow | WHOOP — MissingMCP | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | パソコンにインストールが必要 | パソコンにインストールが必要 | パソコンにインストールが必要 | クラウドで動き、インストール不要 |
| キーが必要 | はい | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| 基本チェック | 3/3 | 4/4 | 3/3 | 2/3 | 3/3 | 2/4 |
| ライセンス | Apache-2.0 | Apache-2.0 | Apache-2.0 | NOASSERTION | MIT | MIT |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
One research interface over open drug, supplement, and cosmetic data. A local MCP server that searches public databases by the kind of value you have, resolves identifiers across them, fetches full records with citations, and pulls literature and classification references.
The server is read-only, runs over stdio, and is launched by an MCP host. It does not cache, mirror, or redistribute any dataset.
Add the server to an MCP host. Most hosts accept a JSON block shaped like this (see your host's documentation if it nests servers under a different key):
{
"mcpServers": { "open-drug-data": { "command": "npx", "args": ["-y", "@knorby/open-drug-data-mcp"], "env": { "OPENFDA_API_KEY": "your-key", "DSLD_API_KEY": "your-key" } } } }
Both keys are optional. Omit the env block entirely if you have neither; keyless access works at a lower upstream rate limit.
Run drugdata_ping after connecting. It reports the server version, which sources are enabled, and whether each source's optional key is configured — never a key value.
npx skills add knorby/open-drug-data-mcp
Installs the bundled skills for source-guided search → resolve → get research and structured, cited product and ingredient reports.
npm install
npm run build
Point the host at the built entrypoint instead:
{
"mcpServers": { "open-drug-data": { "command": "node", "args": ["/absolute/path/to/open-drug-data-mcp/dist/index.js"] } } }
Informational and research use only — not medical advice.
This server does not diagnose, treat, prescribe, or recommend anything. It returns what public databases publish, and those databases carry their own limits: openFDA data is unvalidated, supplement labels are manufacturer statements, adverse-event reports do not establish causation, and regulatory listings are not a determination of safety or approval. Always consult a qualified physician, pharmacist, or other licensed professional before making a health decision, and read the operative regulation or product labeling rather than relying on a database summary.
The data comes from public sources with their own terms. Full disclaimers, licenses, attribution requirements, and source caveats are in docs/SOURCES.md.
links (direct or derived) plus labeled candidates where the match is ambiguous. A link needs a direct identifier hit or a single top-tier name match; several plausible records stay candidates, and the chain never silently picks one.The loop is search → resolve → get, plus a reference step for literature and classification sources. Every search and resolution ends with nextSteps, so an agent can continue without inventing an identifier.
| Variable | Default | Purpose |
|---|---|---|
OPENFDA_API_KEY | unset | Optional openFDA key. Raises the upstream rate limit; keyless requests work. |
DSLD_API_KEY | unset | Optional NIH DSLD key (from data.gov). Raises the limit from 1,000 to 10,000 requests per hour. Keyless requests work. |
UMLS_API_KEY | unset | Required for the UMLS reference source only. A free UTS account API key under the UMLS Metathesaurus license. Without it, other sources work and the UMLS reference source returns a configuration error naming this variable. |
NLM_PUBMED_API_KEY | unset | Optional NCBI E-utilities key for PubMed. Raises the rate limit. |
NLM_PUBMED_EMAIL | unset | Optional contact address NCBI asks distributed software to send with PubMed requests. |
NLM_PUBMED_TOOL | unset | Optional tool name NCBI asks distributed software to send with PubMed requests. |
DRUGDATA_TIMEOUT_MS | 30000 | Per-request upstream timeout in milliseconds. Must be a positive integer when set; a blank value counts as unset. |
DRUGDATA_SEARCH_TIMEOUT_MS | 45000 | Shared wall-clock deadline for search fan-out and enrichment. Returns completed results with source timeout statuses and partial when incomplete. Positive integer; blank means default. Does not change by-source lookup timeouts. |
DRUGDATA_DISABLED_SOURCES | unset | Comma-separated adapter ids to switch off: openfda, cosing, nlm, drugcentral, dsld, inkeedecoder. nlm covers every NLM namespace (RxNorm, RxTerms, RxClass, DailyMed, MeSH, PubMed, MedlinePlus, UMLS, ClinicalTrials.gov) and the PubChem adapter, which shares the NLM client. Applies to searches, lookups, resolution, and reference searches. Unknown ids are a configuration error. |
Configuration is read lazily when a tool runs, never at startup. A misconfigured server still answers tools/list and explains the problem through a tool result. Blank API-key values count as unset, and a blank DRUGDATA_TIMEOUT_MS falls back to the default; a non-blank value must be a positive integer.
| Tool | Inputs | Returns |
|---|---|---|
drugdata_ping | optional message | Server name/version, every source's enabled state and whether its key is configured (including UMLS and PubMed reference keys), never a key value. No network. |
drugdata_search_products | type: name, brand, ingredient, barcode, ndc; query; optional category: medication, supplement, cosmetic; resolve_identities (default false); page; response_format | Product entities with original source records, confirmed links, conflicts, candidates, per-entity next steps, source statuses, coverage, and partial. |
drugdata_search_ingredients | type: name, inci, unii, cas, ec, rxcui, cid; query; resolve_identities (default false); page; response_format | Ingredient entities with source-attributed identity evidence and the same coverage/status contract. PubChem answers name and CID searches. |
drugdata_get_product | source: openfda, dsld, dailymed, inkeedecoder; id; include_label_sections (default false); include_ingredients (default true); include_ingredient_enrichment (default false); page; response_format | One product record, its ingredient rows and roles, source-specific details, links, and next steps. DailyMed usage sections and DSLD nutrient CAS/group enrichment are opt-in. |
drugdata_get_ingredient | source: openfda, cosing, drugcentral, nlm, inkeedecoder, pubchem; id; include_clinical (default false); include_cosing_panel (default false); response_format | One ingredient profile: identifiers, names, functions, regulatory notices, clinical assertions, chemistry (PubChem), RxTerms presentation (RxNorm), links, and next steps. DrugCentral clinical data and the INKEEDecoder CosIng panel are opt-in. |
drugdata_resolve_identifiers | exactly one of unii, ndc, rxcui, cid, cas, inci_name, substance_name, spl_setid, dsld_id; include_label_ingredients (default false); resolve_ingredients (default false); max_candidates (default 5); response_format | An identity graph for an ingredient, or a product's cross-source links plus its ingredient rows. links are trusted; candidates need judgment. |
drugdata_search_references | source: prescribable, rxclass, mesh, pubmed, medlineplus, medlineplus_genetics, medlineplus_connect, umls, clinicaltrials; type: name (default), rxcui, ndc, cui; query; limit (default 10); cursor; response_format | Titles, identifiers (PMID, NCT, MeSH id, CUI, RxCUI, class id), and deep links from one NLM reference source per call. Paginated sources return an opaque cursor. UMLS requires UMLS_API_KEY. |
Pagination is per call. One page applies to every source in a search fan-out, and each entry in sources reports its own hasMore. Lookups page their own collections. Reference searches page through the cursor the previous response returned. Nothing walks pages automatically.
Every result carries structuredContent validated against a closed schema, plus a readable markdown text block. Search, lookup, and resolve tools accept response_format; set it to json if a host wants JSON in the text block too.
type: "name". Use brand deliberately for a brand-only search: fewer sources support it. Pass a product category when known; ingredient searches have no category filter.entities, not the old groups field. Each entity contains original records, combined identifiers, resolver-confirmed links, grouping evidence, source-attributed conflicts, unconfirmed candidates, optional source-attributed resolution errors, resolution, and executable nextSteps for every source record. Names alone never merge records. Ingredients can join by UNII, RxCUI, dashed CAS, CID, or InChIKey; products by full package NDC, SPL set id, or UPC — not their ingredient RxCUI or application number.resolve_identities: true to enrich at most five initial entities, with three concurrent resolutions, within one 45-second default deadline. sources reports ok, error, or timeout, page, hasMore, and resultCount. coverage reports entity/record counts, attempted/completed resolutions, and whether the cap applied. Unrequested resolution has zero counts and is not partial. partial signals failed/timed-out sources or requested but incomplete enrichment, or response-budget omissions. Zero matches with hasMore: true is still a successful page.drugdata_get_product or drugdata_get_ingredient directly. Search does not return full profiles; open only those