关于 Clinicaltables
Clinicaltables 是面向 NLM/NIH 临床表格的 MCP 服务,支持无需密钥的自动补全式搜索。它适合需要查询临床术语、编码、药物、医疗服务提供者和计量单位的开发者与健康领域 Agent。
主要功能
- 01搜索疾病与病症
- 02查询 ICD-9-CM 和 ICD-10-CM 编码
- 03搜索操作、药物和 LOINC
- 04查找 NPI 提供者与 UCUM 单位
适用场景
- 01在应用中自动补全临床术语
- 02根据查询查找诊断编码
- 03按名称查找药物或操作
MCP 相关
向 MCP 客户端提供 Clinical Tables 搜索工具,可通过 Pipeworx 网关或本地 stdio 服务连接。网关连接还包含 Pipeworx 通用元工具;独立服务仅提供此套件的工具。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://gateway.pipeworx.io/clinicaltables/mcpclaude mcp add --transport http pipeworx-io-clinicaltables https://gateway.pipeworx.io/clinicaltables/mcp{"mcpServers":{"pipeworx-io-clinicaltables":{"type":"http","url":"https://gateway.pipeworx.io/clinicaltables/mcp"}}}在 Cursor 中打开{"servers":{"pipeworx-io-clinicaltables":{"type":"http","url":"https://gateway.pipeworx.io/clinicaltables/mcp"}}}在 VS Code 中打开{"mcpServers":{"pipeworx-io-clinicaltables":{"type":"http","url":"https://gateway.pipeworx.io/clinicaltables/mcp"}}}{"mcpServers":{"pipeworx-io-clinicaltables":{"serverUrl":"https://gateway.pipeworx.io/clinicaltables/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
@pipeworx/clinicaltables
NIH Clinical Tables Search Service MCP — 在 NLM/NIH 临床表格中进行无需密钥的自动补全式搜索。
这是 Pipeworx 的一部分。Pipeworx 是一个 MCP 网关,可将 AI Agent 连接到 1875+ 个实时数据源。这是一个独立的非官方集成,与上游提供方无关联、未获其认可,也并非由其发布。
工具
conditions(terms, count?, ef?, df?)— UMLS 病症icd10cm(terms, count?, ef?, df?)— ICD-10-CM 诊断代码icd9cm(terms, count?, ef?, df?)— ICD-9-CM 诊断代码procedures(terms, count?, ef?, df?)— UMLS 医疗程序drugs(terms, count?, ef?, df?)— 药物名称(RxTerms)loinc(terms, count?, ef?, df?)— LOINC 代码npi_individual(terms, count?, ef?, df?)— NPI 个人医疗服务提供者npi_organization(terms, count?, ef?, df?)— NPI 机构ucum(terms, count?, ef?, df?)— UCUM 计量单位disease_names(terms, count?, ef?, df?)— 疾病词汇
ef:返回的额外字段(逗号分隔)。df:显示字段。count:结果上限(默认值为 7)。
数据源
https://clinicaltables.nlm.nih.gov/api
快速开始
添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):
{
"mcpServers": {
"clinicaltables": {
"url": "https://gateway.pipeworx.io/clinicaltables/mcp"
}
}
}
此端点实际提供的内容
https://gateway.pipeworx.io/clinicaltables/mcp 上的 tools/list 会返回上表中的工具,以及 Pipeworx 共享元工具——ask_pipeworx、discover_tools、search_within、remember/recall,以及网关范围内的其他工具。因此,你看到的工具数量会多于此表:目前,单个工具包端点除了该工具包自身的工具外,还会列出大约 30 个共享工具。连接的 initialize 响应会说明其确切范围,是当天具体情况的权威依据。
这是有意为之,并非意外的多路复用。元工具让范围受限的连接也能回答本工具包未涵盖的问题——通过可跨整个目录进行路由的 ask_pipeworx——无需你再添加第二个 MCP 服务。目前无法挂载不含这些元工具的工具包端点;如果额外的架构定义比路由功能更耗费上下文,不妨只连接完整网关,而不是连接多个工具包端点。
或者连接完整的 Pipeworx 网关,直接列出每个工具包的工具,而不只是此工具包的工具:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
两个 URL 都连接到同一网关和相同的 1875+ 个数据源。唯一的区别是哪些工具包的工具会被直接列出;无论连接哪一个,ask_pipeworx 都能访问所有工具。
没有 MCP 客户端?通过 HTTP 调用
curl -X POST https://gateway.pipeworx.io/v1/tools/conditions \
-H 'Content-Type: application/json' \
-d '{"terms":"migraine","count":3}'
首次调用无需账户。检查任意工具:GET https://gateway.pipeworx.io/v1/tools/conditions。查找工具:使用 {"query":"..."} 调用 POST https://gateway.pipeworx.io/v1/tools/search_packs。
独立运行(无需网关账户)
此软件包也可作为本地 stdio MCP 服务运行——无需 Pipeworx 账户,也无需经过网关:
{
"mcpServers": {
"clinicaltables": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-clinicaltables"]
}
}
}
也可以直接运行,确认服务能够启动:
npx -y @pipeworx/mcp-clinicaltables
它通过 stdin/stdout 使用 MCP,并响应 initialize/tools/list/tools/call,仅提供此工具包的工具——不包含上文网关连接额外提供的共享元工具。数据源相同、工具相同,但没有 ask_pipeworx 路由。
使用 ask_pipeworx
你可以用通俗的英语提问,而不是直接调用工具——此功能既适用于上面的工具包端点,也适用于完整网关:
ask_pipeworx({ question: "your question about Clinicaltables data" })
网关会选择合适的工具并自动填入参数。
更多信息
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。