FHIR R4
Any HL7 FHIR R4 server: search and read Patients, Observations, Conditions, Encounters, MedicationRequests, DiagnosticReports and any other resource type, plus the server's own capability statement. Bearer-token auth.
7 天免费 · 无需信用卡 · EU 托管
问 FHIR 任何事
通过 AnythingMCP 对 FHIR R4 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 FHIRClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 FHIR R4。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 FHIR R4
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
This is a generic FHIR R4 client, not a vendor connector. Point it at any R4 server — a hospital's HAPI instance, a national test server, a vendor's sandbox — and it speaks the standard.
- Set
FHIR_BASE_URLto the server's base, the URL that answers/metadata. No trailing slash. - Set
FHIR_ACCESS_TOKENto a bearer token. Most real deployments use SMART on FHIR, whose authorisation flow issues short-lived tokens; obtain one and paste it here, or use a long-lived service token if the server offers one. A server that needs no auth still needs a placeholder here — put anything.
Start with fhir_get_capability_statement. FHIR servers differ enormously in which resource types they hold and which search parameters they support, and /metadata is the machine-readable answer. Guessing produces a lot of confident 400s.
Search parameters are per resource type, and modifiers matter: name:contains=smith, birthdate=ge1980-01-01, code=http://loinc.org|85354-9, _lastUpdated=gt2026-09-01. Prefixes on numbers and dates are eq, ne, gt, lt, ge, le. A token search takes system|code, and the pipe is significant.
Results are a Bundle. The rows live in entry[].resource, the count in total (which some servers omit), and paging in link[] with relation: "next" — follow that URL rather than computing an offset. _count requests a page size; servers are free to ignore it.
_include and _revinclude fetch related resources in the same Bundle: _include=Observation:patient brings each observation's Patient along.
This is patient data. Anything read here is almost certainly health information under GDPR Article 9 or HIPAA. Whether an LLM may see it is a question about your legal basis and your processor agreements, not about this connector — decide it before installing, not after.
Read-only by design: no create, no update, no delete. A clinical record is not a thing an agent should write into by accident.