
Omophub Mcp
io.github.OMOPHub由 GitHub 帳號 OMOPHub 發布v1.1.0更新於 Oct 24, 2026
Search, lookup, map, and navigate OMOP medical vocabularies via AI agents
概覽
讓 AI 助理透過 OMOPHub API 搜尋、查詢、對應與瀏覽 SNOMED CT、ICD-10、RxNorm、LOINC 等 OMOP 醫學詞彙集。
- 可以做什麼
- 依名稱、概念 ID 或詞彙集代碼搜尋與查詢概念,並支援語意搜尋與相似概念查找
- 在不同詞彙集之間對應概念,並瀏覽概念的祖先與後代階層
- 一次呼叫取得概念詳情、階層與跨詞彙集對應,並列出可用詞彙集
- 將 FHIR 編碼值與 CodeableConcept 解析為 OMOP 標準概念及 CDM 目標資料表
- 讀取詞彙集目錄資源,並使用概念集建立與代碼查詢的引導式提示
- 適用情境
- 適合處理臨床術語的情境:查找 OMOP 概念 ID、在 ICD-10、SNOMED、RxNorm 等詞彙集間對應代碼、驗證代碼,或為表型與世代定義組裝概念集,而不必把 ATHENA CSV 匯入本機資料庫。
- 執行需求
- 以 npm 套件透過 npx 在本機執行(需 Node.js),也可使用 Docker 映像或連線廠商託管的 HTTP 端點。需要 OMOPHub 帳號與 API 金鑰,透過 OMOPHUB_API_KEY 提供(託管端點使用 Authorization 標頭)。需要能連線至 OMOPHub API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Omophub Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
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.
[npm version] [Codecov] [npm downloads] [License] [TypeScript] [MCP Compatible]
Quick Start · Tools · Examples · Docs · Website
Why OMOPHub MCP?
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.
Use cases:
- Concept lookup - Find OMOP concept IDs for clinical terms in seconds
- Cross-vocabulary mapping - Map between ICD-10, SNOMED, RxNorm, LOINC, and 120+ vocabularies
- Hierarchy navigation - Explore ancestors and descendants for phenotype definitions
- Concept set building - Let your AI agent assemble complete concept sets for cohort definitions
- Code validation - Verify medical codes and check their standard mappings
Quick Start
1. Get an API Key
Sign up at omophub.com → create an API key in your dashboard.
2. Add to Your AI Client
Claude Desktop
Open Claude Desktop settings > "Developer" tab > "Edit Config". Add to claude_desktop_config.json:
Claude Code
Cursor
Open the command palette and choose "Cursor Settings" > "MCP" > "Add new global MCP server". Add to .cursor/mcp.json:
VS Code
Add to .vscode/mcp.json:
Streamable HTTP (Remote / Hosted)
Run the MCP server as an HTTP service that clients connect to via URL:
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:
VS Code (.vscode/mcp.json):
Cursor / Windsurf:
Note: Claude Desktop's Custom Connectors UI only supports OAuth and cannot send custom headers. Use the npx setup instead.
Docker
3. Start Asking
"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"
Available Tools
Resources
Prompts
Example Prompts
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. Checkhas_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 largepage_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'?"
Configuration
Environment Variables
CLI Arguments
Health Endpoint (Docker / Kubernetes)
In HTTP mode, the health endpoint is available at /health on the same port as the MCP endpoint:
In stdio mode, use --health-port for a standalone health endpoint:
The Docker image defaults to HTTP mode on port 3100 with health checks built in.
Development
Run locally:
Troubleshooting
Links
License
MIT - see LICENSE
來源:README.md,提交 995f79a
工具
0版本歷史
1- v1.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分