Mirobody
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
作者提供的说明(英文原文)
Search, lookup, map, and navigate OMOP medical vocabularies via AI agents
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
OMOPHUB_API_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"omophub": {
"command": "npx",
"args": [
"-y",
"@omophub/omophub-mcp"
],
"env": {
"OMOPHUB_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add omophub --env OMOPHUB_API_KEY=your-value -- npx -y @omophub/omophub-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"omophub": {
"command": "npx",
"args": [
"-y",
"@omophub/omophub-mcp"
],
"env": {
"OMOPHUB_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"omophub": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@omophub/omophub-mcp"
],
"env": {
"OMOPHUB_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 OMOPHub 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:OMOPHUB_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.1.0)于8个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Mirobody, FHIR MCP Server, Google Health MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications
Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
OMOPHub MCP Server
Medical vocabularies for AI agents.
Search, map, and navigate 11M+ OMOP concepts: SNOMED CT, ICD-10, RxNorm, LOINC, and more. Directly from Claude, Cursor, VS Code, or any MCP-compatible client.
Quick Start · Tools · Examples · Docs · Website
Working with medical vocabularies today means downloading multi-gigabyte CSV files, loading them into a local database, and writing SQL to find what you need. Every time.
OMOPHub MCP Server gives your AI assistant instant access to the entire OHDSI ATHENA vocabulary. No database setup, no CSV wrangling, no context switching. Just ask.
You: "Map ICD-10 code E11.9 to SNOMED"
Claude: Found it - E11.9 (Type 2 diabetes mellitus without complications) maps to SNOMED concept 201826 (Type 2 diabetes mellitus) via standard 'Maps to' relationship.
Use cases:
Sign up at omophub.com → create an API key in your dashboard.
Claude Desktop
Open Claude Desktop settings > "Developer" tab > "Edit Config". Add to claude_desktop_config.json:
{
"mcpServers": { "omophub": { "command": "npx", "args": ["-y", "@omophub/omophub-mcp"], "env": { "OMOPHUB_API_KEY": "oh_your_key_here" } } } }
Claude Code
claude mcp add omophub -- npx -y @omophub/omophub-mcp
Cursor
Open the command palette and choose "Cursor Settings" > "MCP" > "Add new global MCP server". Add to .cursor/mcp.json:
{
"mcpServers": { "omophub": { "command": "npx", "args": ["-y", "@omophub/omophub-mcp"], "env": { "OMOPHUB_API_KEY": "oh_your_key_here" } } } }
VS Code
Add to .vscode/mcp.json:
{
"servers": { "omophub": { "command": "npx", "args": ["-y", "@omophub/omophub-mcp"], "env": { "OMOPHUB_API_KEY": "oh_your_key_here" } } } }
Streamable HTTP (Remote / Hosted)
Run the MCP server as an HTTP service that clients connect to via URL:
# Start HTTP server on port 3100
npx -y @omophub/omophub-mcp --transport=http --port=3100 --api-key=oh_your_key_here
Connect MCP clients to / or /mcp. Useful for centralized deployments where multiple AI agents share one server instance.
Hosted (mcp.omophub.com)
Connect directly to the OMOPHub-hosted MCP server - no installation required. Each client authenticates with their own API key via the Authorization header:
Claude Code:
claude mcp add omophub --transport http \
-H "Authorization: Bearer oh_your_key_here" \ https://mcp.omophub.com
VS Code (.vscode/mcp.json):
{
"servers": { "omophub": { "type": "http", "url": "https://mcp.omophub.com", "headers": { "Authorization": "Bearer oh_your_key_here" } } } }
Cursor / Windsurf:
{
"mcpServers": { "omophub": { "url": "https://mcp.omophub.com", "headers": { "Authorization": "Bearer oh_your_key_here" } } } }
Note: Claude Desktop's Custom Connectors UI only supports OAuth and cannot send custom headers. Use the npx setup instead.
Docker
# HTTP mode (default in Docker) - serves MCP on port 3100
docker run -e OMOPHUB_API_KEY=oh_your_key_here -p 3100:3100 omophub/omophub-mcp
docker run -i -e OMOPHUB_API_KEY=oh_your_key_here omophub/omophub-mcp --transport=stdio
"What's the OMOP concept ID for type 2 diabetes?"
"Map ICD-10 code E11.9 to SNOMED"
"Show me all descendants of Diabetes mellitus in SNOMED"
| Tool | What it does |
|---|---|
search_concepts | Search for medical concepts by name or clinical term across all vocabularies |
get_concept | Get detailed info about a specific OMOP concept by concept_id |
get_concept_by_code | Look up a concept using a vocabulary-specific code (e.g., ICD-10 E11.9) |
map_concept | Map a concept to equivalent concepts in other vocabularies (paginated — see note below) |
get_hierarchy | Navigate concept hierarchy - ancestors, descendants, or both |
list_vocabularies | List available medical vocabularies with statistics |
semantic_search | Search using natural language with neural embeddings (understands clinical meaning) |
find_similar_concepts | Find concepts similar to a reference concept, name, or description |
explore_concept | Get concept details, hierarchy, and cross-vocabulary mappings in one call |
fhir_resolve | Resolve a FHIR coded value (incl. administrative codes via the HL7 FHIR-to-OMOP IG ConceptMaps) to its OMOP standard concept and CDM target table |
fhir_resolve_codeable_concept | Resolve a FHIR CodeableConcept — best match by OHDSI vocabulary preference, honoring userSelected |
| URI | Description |
|---|---|
omophub://vocabularies | Full vocabulary catalog with statistics |
omophub://vocabularies/{vocabulary_id} | Details for a specific vocabulary |
| Prompt | Description |
|---|---|
phenotype-concept-set | Guided workflow to build a concept set for a clinical phenotype |
code-lookup | Look up and validate a medical code with mappings and hierarchy |
Find a concept → search_concepts
"Search for metformin in RxNorm"
Cross-vocabulary mapping → map_concept
"I have SNOMED concept 201826 - what's the ICD-10 code?"
Build a concept set → search_concepts → get_hierarchy → map_concept
"Help me build a concept set for Type 2 diabetes including all descendants"
Completeness matters here.
map_conceptreturns one page at a time
(
page_size1-200, default 100). A widely-used drug ingredient can have well over
a thousand NDC mappings, so a single call is a sample, not the answer. Check
has_morein the response and keep incrementingpageuntil it isfalse—
otherwise the concept set looks complete while silently missing codes.
Use
find_similar_conceptsfor exploration, not for this: it is ranked embedding
similarity, so it has no notion of set membership and cannot be exhaustive no
matter how large
page_sizeis.
Validate a code → get_concept_by_code → map_concept
"Is ICD-10 code E11.9 valid? What does it map to in SNOMED?"
Semantic search → semantic_search
"Find concepts related to 'heart attack'"
Explore a concept → explore_concept
"Give me everything about SNOMED concept 201826"
FHIR-to-OMOP resolution → fhir_resolve
"Resolve FHIR SNOMED code 44054006 to OMOP — what table does it go in?"
CodeableConcept → fhir_resolve_codeable_concept
"This CodeableConcept has both SNOMED 44054006 and ICD-10 E11.9 — which should I use for OMOP?"
Find similar → find_similar_concepts
"What concepts are similar to 'Type 2 diabetes mellitus'?"
| Variable | Required | Description |
|---|---|---|
OMOPHUB_API_KEY | ✅ | Your OMOPHub API key |
OMOPHUB_BASE_URL | Custom API base URL (default: https://api.omophub.com/v1) | |
OMOPHUB_LOG_LEVEL | debug · info · warn · error (default: info) | |
OMOPHUB_ANALYTICS_OPTOUT | Set to true to disable analytics headers | |
OMOPHUB_USER_AGENT_SUFFIX | Optional deployment identifier appended to omophub-mcp/ (default: none) | |
MCP_TRANSPORT | stdio (default) or http | |
MCP_PORT | HTTP server port (default: 3100, only used with http transport) | |
HEALTH_PORT | Port for standalone health endpoint in stdio mode (default: disabled) |
# Stdio mode (default)
npx @omophub/omophub-mcp --api-key=oh_your_key --base-url=https://custom.api.com/v1
npx @omophub/omophub-mcp --transport=http --port=3100 --api-key=oh_your_key
npx @omophub/omophub-mcp --api-key=oh_your_key --health-port=8080
In HTTP mode, the health endpoint is available at /health on the same port as the MCP endpoint:
npx @omophub/omophub-mcp --transport=http --port=3100 --api-key=oh_your_key
curl http://localhost:3100/health
In stdio mode, use --health-port for a standalone health endpoint:
HEALTH_PORT=8080 OMOPHUB_API_KEY=oh_your_key npx @omophub/omophub-mcp
curl http://localhost:8080/health
The Docker image defaults to HTTP mode on port 3100 with health checks built in.
git clone https://github.com/OMOPHub/omophub-mcp.git
cd omophub-mcp npm install npm run build npm test
Run locally:
OMOPHUB_API_KEY=oh_your_key npx tsx src/index.ts
| Error | Solution |
|---|---|
API key required | Set OMOPHUB_API_KEY in your environment or MCP config |
Authentication failed | API key may be invalid or expired - generate a new one |
Rate limit exceeded | Automatic retries are built in. For higher limits, upgrade your plan |
| Tools not appearing | Restart your AI client, verify npx @omophub/omophub-mcp runs without errors, check config path |
只显示了开头部分;其余内容请在仓库中阅读