Medplum MCP
Securely access and manage FHIR healthcare data stored in Medplum.
Judgment core for medical-device AI change control: 510(k) change and postmarket gates.
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 0/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 12/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 12/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 LGD Engine。按照 https://mcp.popnx.com/i/medxpert-org-lgd-engine.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月16日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server LGD Engine,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "lgd-engine": { "command": "uvx", "args": [ "lgd-engine" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 LGD Engine 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
SettingsDeveloperEdit Config
{
"mcpServers": {
"lgd-engine": {
"command": "uvx",
"args": [
"lgd-engine"
]
}
}
}用 LGD Engine 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 LGD Engine,或回答中出现 LGD Engine 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 LGD Engine
LGD Engine 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 LGD Engine 的应用
B · 诊所与健康 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server LGD Engine,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user lgd-engine -- uvx lgd-engine 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 LGD Engine 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user lgd-engine -- uvx lgd-engine应能看到 LGD Engine 在列表中并显示已连接
用 LGD Engine 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 LGD Engine,或回答中出现 LGD Engine 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server LGD Engine,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "lgd-engine": { "command": "uvx", "args": [ "lgd-engine" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 LGD Engine 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
用 LGD Engine 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 LGD Engine,或回答中出现 LGD Engine 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server LGD Engine,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "lgd-engine": { "type": "stdio", "command": "uvx", "args": [ "lgd-engine" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 LGD Engine 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
用 LGD Engine 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 LGD Engine,或回答中出现 LGD Engine 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user lgd-engine -- uvx lgd-engineClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"lgd-engine": {
"command": "uvx",
"args": [
"lgd-engine"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"lgd-engine": {
"command": "uvx",
"args": [
"lgd-engine"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"lgd-engine": {
"type": "stdio",
"command": "uvx",
"args": [
"lgd-engine"
]
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日
注册名称已通过 GitHub 账户 Medxpert-org 验证,该账户拥有此仓库
代码最后更新于前天
使用 Apache-2.0
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
尚未检查
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/medxpert-org-lgd-engine)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于前天,最新版本(0.1.1)于3天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Medplum MCP, Mirobody, Codescene MCP Server, WHOOP — MissingMCP, Marrow
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Securely access and manage FHIR healthcare data stored in Medplum.
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
An MCP server that provides CodeScene Code Health analysis tools.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Marrow Health: your Apple Health data over MCP, from the free iOS app. Reads, and writes on demand.
| 本项 LGD Engine | Medplum MCP | Mirobody | Codescene MCP Server | WHOOP — MissingMCP | Marrow | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 需要安装在电脑上 | 需要安装在电脑上 | 在云端运行,无需安装 | 需要安装在电脑上 |
| 需要密钥 | 否 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 否 | 否 | 否 |
| 基础检查 | 3/3 | 4/4 | 3/3 | 2/3 | 2/4 | 3/3 |
| 许可证 | Apache-2.0 | Apache-2.0 | Apache-2.0 | NOASSERTION | MIT | MIT |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
LGD Engine is the judgment core for medical-device AI change control. While general agent frameworks orchestrate LLMs, LGD Engine supplies the *theory-bound gate*: every change verdict is produced by an auditable, offline-testable judgment chain grounded in the LGD theory (three laws, 有籍有证有门禁 / registered-evidenced-gated, 触点即门 / every touchpoint is a gate). Zero runtime dependencies — the core gate runs with no LLM.
python --version). Nothing else: the gate, the judges and the CLI are stdlib-only.git, if you are cloning rather than downloading a zip.pip install -e ".[yaml]" from a checkout). Without it the validator says so and runs 5 text checks instead of pretending it ran 17.Shortest path — clone, run the gold tests, get your first verdict, then wire it to your agent host:
git clone https://github.com/Medxpert-org/lgd-engine.git
cd lgd-engine python -m demo1.change_gate --case demo1/cases/case01_red_pma_process.json
Exit codes are verdicts. In single-case mode the process exit code *is*
the verdict:
0= go,1= hold,2= reject. A correct reject therefore
exits
2— CI wrappers must map the code to the verdict instead of treating
any non-zero exit as a failed run.
--allinstead exits0only when every
case matches its expected verdict, and
1on any mismatch. The CLI prints
the same mapping on its last line.
Verify the whole gate before trusting it (stock Python 3.9+, stdlib only):
# Windows
.\demo1\run_demo1.ps1 # 5/5 + 6/6 change-gate self-tests .\demo2\run_demo2.ps1 # 26/26 five-seat review self-tests
python demo1/test_demo1.py # change-gate gold tests python demo2/test_demo2.py # five-seat review tests python demo1/test_ecosystem.py # 13-domain / 11-stage alignment tests python framework/gate_bot.py # CI gate (six checks)
One decision from a case JSON:
python -m demo1.change_gate --all
python -m demo1.change_gate --case demo1/cases_jurisdiction/supplier_swap.json --jurisdiction NMPA
Editable install (optional) exposes the console script:
pip install -e . # then use `lgd-gate` (see pyproject [project.scripts])
Then point your MCP client at it — copy-paste configs are in Interface layer below.
Layered design — adapters on the outside, judgment core in the middle, fully offline:
L0 AI hosts (Claude Desktop, Cursor, agents)
│ stdio / (streamable-HTTP in 0.1) ▼ L1 lgd.gate ── aggregation core (GateEngine + GateReport) │ ├── L1.5 skill registry (skill.yaml manifest) │ ▼ L2 DomainJudge ×13+ (offline, gold-tested; 2 shipped: 510(k), post-market) ▲ │ evidence: precedents / cases / regulation citations L3 lgd_engine/theory/laws.yaml (declarative three-law rules)
Runnable surfaces today: python -m demo1.web serves a local web UI + JSON endpoint (POST http://127.0.0.1:8765/judge) that returns the exact GateReport shape the frozen OpenAPI contract defines.
See the framework drafts for the registry and adapter specs: framework/skill-manifest-spec.md, framework/plugin-adapter.md, framework/ecosystem-map.md (11 stages × 8 jurisdictions).
Four contract surfaces are in the trunk; all are local-trust adapters until the public 0.1 release wires production endpoints (TLS, auth).
| Interface | Transport / entry | Run it | Verify it |
|---|---|---|---|
| REST (demo) | stdlib HTTP, 127.0.0.1:8765, POST /judge | python -m demo1.web | curl -X POST http://127.0.0.1:8765/judge -H 'Content-Type: application/json' -d @demo1/cases/case01_red_pma_process.json |
| REST contract | OpenAPI 3.1, docs/openapi.yaml (/v1/judge, /v1/decisions) | — | python docs/validate_openapi.py — 5 text checks on a stdlib install, 17/17 structural once the yaml extra is installed from a checkout (pip install -e ".[yaml]"; the package is not on PyPI yet); the script prints an explicit warning when it had to skip the 12 structural checks | | SSE event stream | tails append-only demo2/events.jsonl, 6 event types | python -m demo2.sse_server --port 8770 --smoke | exits 0 only after all 6 types appear (precondition: see the SSE note below) | | MCP server (stdio) | lgd_engine/mcp_server.py | python lgd_engine/mcp_smoke.py | smoke exercises initialize / tools list / judge / RBAC-deny (denied → -32003) | | TypeScript SDK | lgd-engine-ts/ (zero-dep types mirroring OpenAPI) | cd lgd-engine-ts && npm run smoke | Node 18+; smoke exits 0 | | Container | Dockerfile + docker-compose.yml | docker compose up | REST demo on 127.0.0.1:18090 — NOT VERIFIED in the 2026-11-04 review (no Docker on the reviewing host, no container step in CI) |
Contract status note:
docs/openapi.yamlfreezes the production wire
shape (
/v1/*, TLS, bearer auth). No/v1service exists in the tree
yet —
demo1/web.py(/judge, no/v1prefix) is the behavioral
reference for request/response semantics.
SSE smoke precondition. The smoke asserts all six event types, so the
append-only log must already contain both a pass path and a hold path:
python -m demo2.session --case demo2/case_gate_report.json --autoand
python -m demo2.session --case demo2/case_gate_report_critical.json --auto
(or
.\demo2\run_demo2.ps1plus.\demo2\run_demo2.ps1 critical). On a
fresh clone the log is empty, the smoke exits
1, and it now names the
missing types and the exact command to generate them.
Run the server from a clone for now; from the public 0.1 release, pip install lgd-engine provides the lgd-engine-mcp console entry (equivalent to python -m lgd_engine.mcp_server). Both forms resolve all internal paths from the package itself, so no specific working directory is required.
Claude Desktop — claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": { "lgd-engine": { "command": "python", "args": ["-m", "lgd_engine.mcp_server"] } } }
Cursor — .cursor/mcp.json at your project root, or use the bundled .cursor-plugin/plugin.json (declares the same stdio server for the Cursor plugin host):
{
"mcpServers": { "lgd-engine": { "command": "python", "args": ["-m", "lgd_engine.mcp_server"] } } }
Platform notes:
python (or py -3); macOS/Linux: python3 — replace the command value accordingly, or use the absolute path of your interpreter."url" instead of command/args.Theory home vs. engine home. This repository is the engine implementation. The theory itself — the doctrine, the domain papers and the standards participation (ITU FG-TIDA, W3C) — is maintained in lgd-theory under the theory line; this repository neither restates nor owns it.
LGD Engine is not a hollow scaffold: it is the executable expression of a complete theory-and-evidence stack, all distilled into runnable rules.
The judgment chain is grounded in three laws:
go with zero evidence refs is downgraded to hold.go / hold / reject).The rest of the stack:
lgd_engine/theory/laws.yaml (law, trigger predicates, gate action).lgd_engine/judges/.framework/ecosystem-map.md and framework/eco-regulatory-matrix.md, 11 stages × 8 jurisdictions). Two domain judges are implemented in this release (510(k) change classification, post-market); the remaining domains are roadmap adapters.Every judge carries an explicit evidence source, making the chain theory → code → verifiable test (enforced in CI).
This repository is the engine. The theory, the evidence catalog and the challenge core are maintained in their own repositories, so this README links out instead of duplicating them:
11 stages and 13 domains appear throughout this repository and they measure different things — neither is a count of the other:
framework/ecosystem-map.md (11 stages × 8 jurisdictions). This is an engineering projection: it covers the stages the gate can judge today or has a named adapter for.framework/13domains-mapping.md. Several domains are cross-stage (compliance grading, risk management), which is why