Pillwise
US medication lookup: drug search, forms and strengths, NDC/RxCUI, recalls, shortages.
我该使用它吗
质量与安全性
发现(2)
- LOW在 get_packages 中
- LOW在 lookup_rxcui 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"pillwise": {
"url": "https://api.pillwise.dev/mcp"
}
}
}远程端点
https://api.pillwise.dev/mcpstreamable-http它能做什么
工具清单
工具(9)
🟢search_medications(as_of, limit, query)
Typeahead search by what a person calls a medication: brand, ingredient or everyday name. Returns brand and ingredient groups in the order a person would pick, not packages.
输入模式
{
"type": "object",
"properties": {
"as_of": {
"description": "Optional. Answer as of this day (YYYY-MM-DD) or instant (RFC 3339), within retained snapshots.",
"type": "string"
},
"limit": {
"description": "Hits to return (default 10).",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"query": {
"description": "What the person typed, at least 3 characters, like \"tylenol\" or \"vitamin d3\".",
"type": "string"
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢get_form_options(as_of, id)
The forms (tablet, liquid, patch…) and strengths a medication comes in, with labels for people and values to send back. Use the id from a search hit.
输入模式
{
"type": "object",
"properties": {
"as_of": {
"description": "Optional. Answer as of this day (YYYY-MM-DD) or instant (RFC 3339), within retained snapshots.",
"type": "string"
},
"id": {
"description": "A Pillwise drug id from search, like pw_g_… or pw_d_….",
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢get_drug(as_of, id)
The full record for a Pillwise drug id: names, ingredients, form, strength, packages and recalls.
输入模式
{
"type": "object",
"properties": {
"as_of": {
"description": "Optional. Answer as of this day (YYYY-MM-DD) or instant (RFC 3339), within retained snapshots.",
"type": "string"
},
"id": {
"description": "A Pillwise drug id, like pw_d_….",
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢get_packages(as_of, id)
The package NDCs that belong to a Pillwise drug id.
输入模式
{
"type": "object",
"properties": {
"as_of": {
"description": "Optional. Answer as of this day (YYYY-MM-DD) or instant (RFC 3339), within retained snapshots.",
"type": "string"
},
"id": {
"description": "A Pillwise drug id, like pw_d_….",
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢lookup_ndc(as_of, ndc)
The package and drug for an NDC: 11 digits, 10 with hyphens (4-4-2, 5-3-2 or 5-4-1), or a product NDC. A bare 10-digit code is matched only as listed; no padding is guessed.
输入模式
{
"type": "object",
"properties": {
"as_of": {
"description": "Optional. Answer as of this day (YYYY-MM-DD) or instant (RFC 3339), within retained snapshots.",
"type": "string"
},
"ndc": {
"description": "Like 50580-488-10 or 50580048810.",
"type": "string"
}
},
"required": [
"ndc"
],
"additionalProperties": false
}🟢lookup_rxcui(as_of, rxcui)
The clinical drug for an RxCUI.
输入模式
{
"type": "object",
"properties": {
"as_of": {
"description": "Optional. Answer as of this day (YYYY-MM-DD) or instant (RFC 3339), within retained snapshots.",
"type": "string"
},
"rxcui": {
"description": "Digits, like 314076.",
"type": "string"
}
},
"required": [
"rxcui"
],
"additionalProperties": false
}🟢list_recalls(drug_id, ndc, since, status)
Drug recalls, filtered by at least one of ndc, drug_id or since.
输入模式
{
"type": "object",
"properties": {
"drug_id": {
"description": "A Pillwise drug id.",
"type": "string"
},
"ndc": {
"description": "A package or product NDC.",
"type": "string"
},
"since": {
"description": "Recalls on or after this day, YYYY-MM-DD.",
"type": "string"
},
"status": {
"description": "Optional, like Ongoing or Terminated.",
"type": "string"
}
},
"required": [],
"additionalProperties": false
}🟢list_shortages(drug_id, ndc, status)
Drug shortages, filtered by at least one of ndc or drug_id.
输入模式
{
"type": "object",
"properties": {
"drug_id": {
"description": "A Pillwise drug id.",
"type": "string"
},
"ndc": {
"description": "A package NDC.",
"type": "string"
},
"status": {
"description": "Optional, like Current or Resolved.",
"type": "string"
}
},
"required": [],
"additionalProperties": false
}🟢catalog_freshness
How current the catalog is: the snapshot served and when it was built.
输入模式
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}社区
证据