dailymed
Search DailyMed drug labels, SPLs, NDCs and packaging.
我该使用它吗
质量与安全性
发现(1)
- LOW在 dailymed_list_application_numbers 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"dailymed": {
"url": "https://dailymed.usefulapi.io/mcp"
}
}
}远程端点
https://dailymed.usefulapi.io/mcpstreamable-http它能做什么
工具清单
工具(12)
🟢dailymed_search_labels(drug_name, name_type, ndc, rxcui, unii_code, ...)
Search Structured Product Labels (SPLs) — one label per marketed drug product. Filter by drug name, NDC, RxCUI, UNII, application (NDA/ANDA) number, marketing category, or publish date. Returns setid, title, spl_version and published_date for each match (use the setid with dailymed_get_label and the label_* tools). DailyMed v2: GET /spls.
输入模式
{
"type": "object",
"properties": {
"drug_name": {
"description": "Drug name to match (brand or generic), e.g. 'aspirin'.",
"type": "string"
},
"name_type": {
"description": "Restrict drug_name match: b=brand, g=generic, both. Default both.",
"type": "string",
"enum": [
"b",
"g",
"both"
]
},
"ndc": {
"description": "National Drug Code, e.g. '46122-791-66'.",
"type": "string"
},
"rxcui": {
"description": "RxNorm concept unique identifier (product-level).",
"type": "string"
},
"unii_code": {
"description": "FDA UNII code for an active moiety.",
"type": "string"
},
"application_number": {
"description": "FDA application number, e.g. 'NDA020517'.",
"type": "string"
},
"marketing_category": {
"description": "Marketing category, e.g. 'NDA', 'ANDA', 'OTC MONOGRAPH DRUG'.",
"type": "string"
},
"published_date": {
"description": "Publish date yyyy-MM-dd, paired with published_date_comparison.",
"type": "string"
},
"published_date_comparison": {
"description": "Comparison operator for published_date. Default eq.",
"type": "string",
"enum": [
"lt",
"lte",
"gt",
"gte",
"eq"
]
},
"setid": {
"description": "Filter to a specific SETID (UUID).",
"type": "string"
},
"page": {
"description": "Page number (1-based). Default 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Results per page (max 100). Default 100.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dailymed_get_label(setid)
Fetch the complete Structured Product Label for a SETID as HL7 v3 SPL XML — the full FDA-approved labeling: indications, dosage, warnings, boxed warning, adverse reactions, active/inactive ingredients, etc. NOTE: DailyMed serves the full document only as XML (there is no JSON form), so this returns raw XML text. Use dailymed_search_labels first to find the setid. DailyMed v2: GET /spls/{setid}.xml.
输入模式
{
"type": "object",
"properties": {
"setid": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "The label SETID (UUID) from dailymed_search_labels."
}
},
"required": [
"setid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dailymed_label_history(setid, page, pagesize)
List every published version (spl_version + published_date) of a label for a SETID — useful to see how a drug's labeling has changed over time. DailyMed v2: GET /spls/{setid}/history.
输入模式
{
"type": "object",
"properties": {
"setid": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "The label SETID (UUID)."
},
"page": {
"description": "Page number (1-based). Default 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Results per page (max 100). Default 100.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"setid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dailymed_label_ndcs(setid, page, pagesize)
List the National Drug Codes (package-level NDCs) associated with a label's current version, for a SETID. DailyMed v2: GET /spls/{setid}/ndcs.
输入模式
{
"type": "object",
"properties": {
"setid": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "The label SETID (UUID)."
},
"page": {
"description": "Page number (1-based). Default 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Results per page (max 100). Default 100.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"setid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dailymed_label_media(setid, page, pagesize)
List media assets (product/packaging images, with mime_type and URL) for a label's current version, for a SETID. DailyMed v2: GET /spls/{setid}/media.
输入模式
{
"type": "object",
"properties": {
"setid": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "The label SETID (UUID)."
},
"page": {
"description": "Page number (1-based). Default 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Results per page (max 100). Default 100.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"setid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dailymed_label_packaging(setid, page, pagesize)
Get packaging descriptions plus product names and active ingredients (name + strength) for each product in a label, by SETID. DailyMed v2: GET /spls/{setid}/packaging.
输入模式
{
"type": "object",
"properties": {
"setid": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "The label SETID (UUID)."
},
"page": {
"description": "Page number (1-based). Default 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Results per page (max 100). Default 100.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"setid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dailymed_list_drug_names(drug_name, name_type, page, pagesize)
List drug names in DailyMed (name + name_type B=brand/G=generic). Pass drug_name to filter by a substring — a fast way to discover exact spellings before searching labels. DailyMed v2: GET /drugnames.
输入模式
{
"type": "object",
"properties": {
"drug_name": {
"description": "Substring to filter drug names, e.g. 'aspirin'.",
"type": "string"
},
"name_type": {
"description": "b=brand, g=generic, both. Default both.",
"type": "string",
"enum": [
"b",
"g",
"both"
]
},
"page": {
"description": "Page number (1-based). Default 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Results per page (max 100). Default 100.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dailymed_list_ndcs(page, pagesize)
List National Drug Codes across all labels in DailyMed (paginated; the full set is large). DailyMed v2: GET /ndcs.
输入模式
{
"type": "object",
"properties": {
"page": {
"description": "Page number (1-based). Default 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Results per page (max 100). Default 100.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dailymed_list_rxcuis(page, pagesize)
List product-level RxNorm concept identifiers (rxcui + rxstring + rxtty term type) known to DailyMed (paginated). DailyMed v2: GET /rxcuis.
输入模式
{
"type": "object",
"properties": {
"page": {
"description": "Page number (1-based). Default 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Results per page (max 100). Default 100.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dailymed_list_uniis(page, pagesize)
List FDA UNII codes and their active-moiety names (paginated). Use a unii_code to filter labels in dailymed_search_labels. DailyMed v2: GET /uniis.
输入模式
{
"type": "object",
"properties": {
"page": {
"description": "Page number (1-based). Default 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Results per page (max 100). Default 100.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dailymed_list_drug_classes(page, pagesize)
List pharmacologic drug classes linked to labels (code, coding system, type — e.g. EPC Established Pharmacologic Class — and name). DailyMed v2: GET /drugclasses.
输入模式
{
"type": "object",
"properties": {
"page": {
"description": "Page number (1-based). Default 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Results per page (max 100). Default 100.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dailymed_list_application_numbers(page, pagesize)
List FDA application numbers (NDA/ANDA/BLA) with their marketing category code, across all labels (paginated). DailyMed v2: GET /applicationnumbers.
输入模式
{
"type": "object",
"properties": {
"page": {
"description": "Page number (1-based). Default 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Results per page (max 100). Default 100.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据