ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว เข้าสู่ระบบ

HIPAA FHIR MCP (prototype)

โดย tanya-okรุ่น 0.8.1i★ 1iรันบนเครื่องเว็บทางการ ↗

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ต้องมี AUDIT_HMAC_KEY, SMART_KEY_ID · ต้องกรอกค่าตั้ง 1 ช่อง (SMART_TOKEN_URL)
  • หมวด คลินิกและสุขภาพ
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Prototype: nine read-only FHIR R4 tools, per-patient grants and HMAC audit. Synthetic data only.

ทำไมอยู่อันดับนี้

หน้ารายการเรียงด้วยคะแนนการใช้งาน (เต็ม 100) จากส่วนเหล่านี้

ความนิยม4/80ดาว GitHub หรือยอดดาวน์โหลดต่อสัปดาห์ ค่ามากนับ 60 ค่าน้อยนับ 20
ความสด12/12ออกรุ่นหรือแก้โค้ดใน 30 วัน ได้เต็ม
ระบบยังตอบ0/8endpoint บนคลาวด์ตอบตอนตรวจล่าสุด
คะแนนการใช้งาน16/100

คุณภาพ: ผลตรวจเบื้องต้นผ่าน 3/3 ข้อ (แสดงให้ดู ไม่ได้ใช้เรียง) · ความมาแรง: ยังไม่มีข้อมูล (ใช้เรียงเฉพาะแท็บมาแรง)

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

  1. ดาวน์โหลดไฟล์ติดตั้งของผู้ทำ

    ดาวน์โหลดไฟล์ .mcpb ของผู้ทำ

    ไฟล์ .mcpb มาจากผู้ทำโดยตรง เราไม่ได้แก้ไฟล์

  2. ดับเบิลคลิกไฟล์ แล้วกด Install ในแอป Claude บนคอม

  3. ลองเลย

    ใช้ HIPAA FHIR MCP (prototype) บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ HIPAA FHIR MCP (prototype) หรือมีชื่อเครื่องมือของ HIPAA FHIR MCP (prototype) ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ HIPAA FHIR MCP (prototype) ไม่ได้

HIPAA FHIR MCP (prototype) ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ HIPAA FHIR MCP (prototype) ได้

  • ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

ข · ตัวอื่นในหมวด คลินิกและสุขภาพ ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

Claude Code ยังต่อ HIPAA FHIR MCP (prototype) ไม่ได้

ผู้ทำมีแต่ไฟล์ติดตั้งสำหรับแอป Claude บนคอม

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ HIPAA FHIR MCP (prototype) ได้

  • ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

Cursor ยังต่อ HIPAA FHIR MCP (prototype) ไม่ได้

ผู้ทำมีแต่ไฟล์ติดตั้งสำหรับแอป Claude บนคอม

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ HIPAA FHIR MCP (prototype) ได้

  • ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

VS Code ยังต่อ HIPAA FHIR MCP (prototype) ไม่ได้

ผู้ทำมีแต่ไฟล์ติดตั้งสำหรับแอป Claude บนคอม

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ HIPAA FHIR MCP (prototype) ได้

  • ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ HIPAA FHIR MCP (prototype) อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ค่าที่ต้องใส่เอง

  • AUDIT_HMAC_KEY ความลับ จำเป็น env
    64 ตัวอักษรเลขฐานสิบหก ใช้สำหรับ HMAC รหัสผู้ป่วยในระเบียนการตรวจสอบ
    ดูต้นฉบับภาษาอังกฤษ64 hex characters used to HMAC patient ids in audit records
  • FHIR_BASE_URL env
    URL ฐานของ FHIR R4 ค่าเริ่มต้นคือ sandbox SMART สาธารณะที่เป็นข้อมูลสังเคราะห์
    ดูต้นฉบับภาษาอังกฤษFHIR R4 base URL; defaults to the public synthetic SMART sandbox
  • CALLER_IDENTITY env
    ป้ายกำกับของผู้ดำเนินการที่เขียนลงในระเบียนการตรวจสอบ ไม่ใช่ตัวตนที่ผ่านการยืนยัน
    ดูต้นฉบับภาษาอังกฤษOperator label written into audit records, not an authenticated identity
  • SMART_CLIENT_ID env
    รหัสไคลเอนต์ของ SMART Backend Services ตั้งค่าด้วย SMART_KEY_ID และ SMART_PRIVATE_KEY_FILE
    ดูต้นฉบับภาษาอังกฤษSMART Backend Services client id; set with SMART_KEY_ID and SMART_PRIVATE_KEY_FILE
  • SMART_KEY_ID ความลับ จำเป็น env
    kid ของคีย์สาธารณะที่ลงทะเบียนไว้
    ดูต้นฉบับภาษาอังกฤษkid of the registered public key
  • SMART_PRIVATE_KEY_FILE env
    พาธแบบสัมบูรณ์ไปยังคีย์ส่วนตัว PEM ได้แก่ RSA 2048 บิตขึ้นไปหรือ EC P-384 โหมดไฟล์ 600
    ดูต้นฉบับภาษาอังกฤษAbsolute path to a PEM private key, RSA 2048+ or EC P-384, mode 600
  • SMART_TOKEN_URL จำเป็น env
    SMART token endpoint; required unless NODE_ENV is development or test, where it is read from .well-known/smart-configuration
  • PATIENT_POLICY_FILE env
    พาธสัมบูรณ์ไปยังไฟล์นโยบายผู้ป่วยในรูปแบบ JSON (principal, patients, tools) การเรียกเครื่องมือทุกครั้งจะถูกปฏิเสธเมื่อค่านี้ว่าง
    ดูต้นฉบับภาษาอังกฤษAbsolute path to the JSON patient policy (principal, patients, tools); every tool call is denied when empty
  • LOCAL_SYNTHETIC_PRINCIPAL env
    ตัวตนจำลองสำหรับ fixture ภายในเครื่อง ใช้จับคู่กับนโยบาย ไม่ใช่ผู้เรียกที่ยืนยันตัวตนแล้ว การเรียกเครื่องมือทุกครั้งจะถูกปฏิเสธเมื่อค่านี้ว่าง
    ดูต้นฉบับภาษาอังกฤษLocal fixture identity matched against the policy, not an authenticated caller; every tool call is denied when empty
  • AUDIT_LOG_FILE env
    พาธแบบสัมบูรณ์แบบไม่บังคับสำหรับไฟล์บันทึกการตรวจสอบ หากว่างจะใช้ stderr
    ดูต้นฉบับภาษาอังกฤษOptional absolute path for the audit file sink; stderr when empty

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ชื่อใน registry
io.github.tanya-ok/hipaa-fhir-mcp
ดาวน์โหลดต่อสัปดาห์i
ไม่มียอดใน npm/PyPI
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
0.8.1
ส่งเข้า registryi
26 พ.ย. 2569
แก้โค้ดล่าสุดi
26 พ.ย. 2569
ผู้ทำ
tanya-ok
แพ็กเกจ
mcpb: …/hipaa-fhir-mcp-0.8.1.mcpb
เว็บผู้ทำ
tanya-ok.github.io
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 27 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub tanya-ok ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด เมื่อวาน

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ MIT

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

ช่องโหว่ที่เปิดเผยแล้ว (OSV.dev)

ไม่ได้ตรวจ: ตรวจได้เฉพาะแพ็กเกจ npm และ PyPI ที่ระบุรุ่น

เราตรวจอะไรบ้าง → · JSON

ผู้ทำ: ขอให้ตรวจใหม่ หรือแจ้งข้อมูลผิด
สำหรับผู้ทำ: ติดป้ายใน README

ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้

[![แนะนำบน PopNx MCP](https://mcp.popnx.com/badge/tanya-ok-hipaa-fhir-mcp.svg?lang=th)](https://mcp.popnx.com/th/servers/tanya-ok-hipaa-fhir-mcp)

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบเพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบเพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด คลินิกและสุขภาพi

  • ดาวมากกว่า 84% ของอีก 1315 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 99% ของอีก 1315 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 99% ของอีก 1315 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

HIPAA FHIR MCP (prototype) ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: AUDIT_HMAC_KEY, SMART_KEY_ID

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวาน และส่งรุ่นล่าสุด (0.8.1) เข้า registry เมื่อวาน

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี MCPB ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Mirobody, Medplum, Codescene MCP Server, Marrow, WHOOP — MissingMCP

ตัวอื่นที่ทำงานคล้ายกัน

หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Mirobody

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

โดย thetahealthกำลังโต↓ 725/สัปดาห์★ 1.9Kอัปเดต เมื่อวาน

รันบนเครื่อง✓ thetahealth.ai

Medplum

Securely access and manage FHIR healthcare data stored in Medplum.

โดย medplumกำลังโต★ 2.8K ดาวรวมทั้งรีโปอัปเดต เมื่อวานซืน

ต่อได้ทันที (มี URL) · ต้องล็อกอิน✓ เจ้าของบริการ · medplum.com

Codescene MCP Server

An MCP server that provides CodeScene Code Health analysis tools.

โดย codescene-ossกำลังโต↓ 3.8K/สัปดาห์★ 88อัปเดต 9 เดือนที่ผ่านมา

รันบนเครื่อง✓ เจ้าของบริการ · codescene.com

Marrow

Marrow Health: your Apple Health data over MCP, from the free iOS app. Reads, and writes on demand.

โดย skeletonarmytechเริ่มต้น↓ 62/สัปดาห์★ 5อัปเดต 36 วันที่ผ่านมา

รันบนเครื่อง✓ skeletonarmy.tech

WHOOP — MissingMCP

WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.

โดย VelkyVenikเริ่มต้น★ 22 ดาวรวมทั้งรีโปอัปเดต 5 เดือนที่ผ่านมา

ต่อได้ทันที (มี URL) · ต้องใส่คีย์✓ missingmcp.com
เทียบกับตัวที่คล้ายกัน
ตัวนี้
HIPAA FHIR MCP (prototype)
MirobodyMedplumCodescene MCP ServerMarrowWHOOP — MissingMCP
ทำงานที่ไหนต้องลงในเครื่องต้องลงในเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่องต้องลงในเครื่องต้องลงในเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่อง
ต้องใส่คีย์ใช่ไม่ไม่ไม่ไม่ไม่
กด + ใน Claude ได้ไม่ไม่ไม่ไม่ไม่ไม่
ผลตรวจเบื้องต้น3/33/34/42/33/32/4
สัญญาอนุญาตMITApache-2.0Apache-2.0NOASSERTIONMITMIT
ราคาไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียน

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

hipaa-fhir-mcp

Read-only FHIR R4 tools for AI agents, with deny-by-default patient access and HMAC-hashed audit.

[Docs](https://tanya-ok.github.io/hipaa-fhir-mcp/) · [Install](#install-in-claude-desktop) · [Tools](#architecture) · [Patient access](#patient-access-policy) · [Releases](https://github.com/tanya-ok/hipaa-fhir-mcp/releases) · [Changelog](CHANGELOG.md)

Prototype. Synthetic data only, not for real PHI. Tested against the Epic sandbox with its test patients only; not tested against a production EHR.

What the agent getsWhat stays in place
Patient summary, observations, medications, conditions, allergies, immunizations, encountersRead only: no write path to patient data
Codes, statuses and datesNames, free text and notes are dropped before the model sees a record
Fixed, safe error textsEvery call: one audit record, patient id HMAC-hashed
Any FHIR R4 server, including SMART Backend ServicesDeny by default: a grant per caller, patient and tool

Try it without installing

A public demo runs at https://hipaa-fhir-mcp-demo.fly.dev/mcp (Streamable HTTP, no key). It can only reach the public synthetic SMART sandbox and five synthetic patients, so it never serves real data.

claude mcp add --transport http hipaa-fhir-demo https://hipaa-fhir-mcp-demo.fly.dev/mcp

Then ask: *"Summarize patient 1ac8947d-038f-4cc7-81fa-a32e694187e8."* The other demo patients are listed in deploy/demo/patient-policy.json.

Why this exists

AI agents are increasingly given direct access to data systems through MCP. In healthcare, that data is regulated and the required controls are specific: HIPAA §164.312 names them. Most public MCP examples ignore the regulatory context; most HIPAA write-ups predate AI agents.

This repository sits at that intersection. It is a working scaffold that lets an engineer see, in one place:

  • which Technical Safeguards a HIPAA-aligned MCP server actually needs,
  • which ones live in code, which live in infrastructure, and which are organizational policy,
  • what the production path looks like when the prototype's stubs become real implementations.

The point is not to ship a compliant system. The point is to make the gap between "MCP demo" and "HIPAA-compliant deployment" concrete enough to discuss. The full gap list is in docs/hipaa-compliance-mapping.md. See also the data flow, the threat model and deploying inside your own HIPAA program.

The shared Kubernetes lab connects this server to mcp-spiffe-bridge and mcp-svid-auth using real SPIRE mTLS and OAuth. Audit output uses stderr, leaving stdout exclusively for stdio MCP messages.

The development plan records the 2026-10-04 review, confirmed boundary gaps, and the next milestones.

HIPAA scope statement

In scope§164.312(a)(2)(iv) encryption, §164.312(b) audit controls (structured JSON, HMAC-SHA-256 patient id hashing with a server-side secret, no PHI in logs), §164.312(e) transmission security (TLS), and stubs for the production path: SMART OAuth 2.1 + PKCE, SPIFFE SVID workload identity, KMS envelope encryption.
Not in scopeAdministrative and Physical safeguards - those are organizational controls. A real BAA with AWS and any downstream LLM provider. Production SMART/KMS wiring and identity integration with a real clinical backend. The stdio SPIFFE adapter remains a stub; the local Kubernetes gateway uses real SPIRE through mcp-spiffe-bridge.
DataPublic, synthetic sandbox at https://r4.smarthealthit.org. The Kubernetes lab uses an explicit offline synthetic fixture. No PHI is used by either demo.

The prototype deliberately does not ship with fake production posture. Treating it as compliant out of the box would itself be non-compliant.

Claims and the tests that pin them

Every security claim in this README has a test that fails if the claim stops being true. CI runs all of them on every pull request.

ClaimTest that fails if it stops being true
No tool runs for a patient outside the caller's grant, and the FHIR server is not calledpatient-policy.test.ts "denies another patient before dispatch with one audit record"
An expired grant is denied, and the FHIR server is not calledpatient-policy.test.ts "denies an expired grant before dispatch with one audit record"
Without a policy, every call is deniedpatient-policy.test.ts "denies everything without a policy"; stdio.test.ts "denies every tool call when no policy or principal is configured"
Identity or grants in tool arguments are ignoredpatient-policy.test.ts "ignores identity and grant claims in tool arguments and metadata"
Every call writes exactly one audit record, with the patient id HMAC-hashed and no PHIstdio.test.ts "audits accepted, rejected and failed calls exactly once without contaminating stdout"; tools.test.ts "writes one line per record with HMAC patient id and no PHI"
An edited, removed or repeated audit record is detectedaudit-chain.test.ts "reports an edited record", "reports a removed record", "reports a repeated record"
Audit records name the key that hashed them, so a key can be rotatedtools.test.ts "labels records with a stable key id that differs per key"
Names, free text and notes never reach the modelclient.test.ts "follows bounded same-base pagination and strips nested free text"; patient-records.test.ts "checks AllergyIntolerance.patient and drops free text"
A resource for another patient fails the callpatient-records.test.ts "refuses an Immunization for another patient"
Upstream error text never reaches the agentclient.test.ts "discards upstream error text and response body"
Results are bounded; an over-limit search fails instead of truncatingclient.test.ts "bounds aggregate results even when each page is within its limit"
Pagination never follows a link off the configured FHIR baseclient.test.ts "accepts a same-base root continuation used by paging servers" and the pagination destination checks in the same file

Where it falls short

  • Synthetic data only. Tested against the Epic sandbox with its test patients only, never against a production EHR; not for real PHI. Using real PHI needs your own HIPAA program, BAAs with your hosting and model providers, and an independent review this project has not had.
  • Read only. No writes, by design.
  • The patient policy is a local file. It is not SMART patient-level authorization or consent management.
  • One maintainer. Issues and reviews are welcome; see CONTRIBUTING.

Architecture

            ┌──────────────────────┐

│ Claude Desktop │ │ (MCP host) │ └──────────┬───────────┘ │ stdio (JSON-RPC) ▼ ┌─────────────────────────────────────┐ │ hipaa-fhir-mcp │ │ │ │ ┌────────────┐ ┌───────────────┐ │ │ │ tools/ │ │ audit/logger │──┼──► stderr -> collector │ │ │ │ (HMAC-SHA-256)│ │ │ └─────┬──────┘ └───────────────┘ │ │ │ │ │ ▼ │ │ ┌────────────┐ ┌───────────────┐ │ │ │ fhir/client│ │ security/ │ │ │ │ (axios+TLS)│ │ ├ oauth.ts │ │ ← SMART stub │ │ │ │ ├ spiffe.ts │ │ ← Workload API stub │ │ │ │ └ kms.ts │ │ ← envelope encryption stub │ └─────┬──────┘ └───────────────┘ │ │ │ │ └────────┼────────────────────────────┘ │ HTTPS (TLS 1.2+) ▼ ┌─────────────────────┐ │ FHIR R4 sandbox or │ │ AWS HealthLake │ └─────────────────────┘

The fifteen read-only MCP tools exposed to Claude. Each needs its own grant in the patient policy:

ToolInputReturns
get_patient_summarypatient_idPatient, active conditions, allergies, active medications
get_patientpatient_idPatient resource
search_observationspatient_id, code (e.g. `http://loinc.org\8867-4`)Observation[]
get_medication_listpatient_idactive MedicationRequest[]
get_conditionspatient_idCondition[]
get_allergiespatient_idAllergyIntolerance[]
get_immunizationspatient_idImmunization[]
get_encounterspatient_id, optional since (YYYY-MM-DD)Encounter[]
find_patientidentifier (`system\value`)matching Patient[] inside your grant
get_procedurespatient_id, optional sinceProcedure[]
get_diagnostic_reportspatient_id, optional sinceDiagnosticReport[] without the narrative conclusion or attachments
get_lab_resultspatient_id, optional sincelaboratory Observation[]
get_vital_signspatient_id, optional sincevital-sign Observation[], panel values in component
get_care_teampatient_idCareTeam[] with participant roles, no members
get_goalspatient_idGoal[], coded descriptions only

Results keep codes, statuses and dates only; display names, free text and notes are dropped. More than 200 results returns an error that asks the agent to narrow the request.

Every

ตัดมาแค่ช่วงต้น อ่านต่อใน repo