TerminallyLazy

featherless

Community TerminallyLazy
Updated

TypeScript SHARP-on-MCP-compliant FHIR R4 MCP server with MCP-UI clinical dashboards on Cloudflare Workers

featherless

TypeScript SHARP-on-MCP-compliant FHIR R4 MCP server with MCP-UI clinical dashboards. Runs on Cloudflare Workers.

Sibling project to sharp-fhir-mcp (Python, FastMCP 2.x). Same SHARP semantics, same tool set, same MCP-UI Chart.js visualizations — re-implemented in TypeScript for the edge.

What's included

Core

  • SHARP HTTP transport via Cloudflare agents SDK (McpAgent, Durable Object–backed sessions)
  • Header-based context (X-FHIR-Server-URL, X-FHIR-Access-Token, X-Patient-ID) with SMART JWT claim fallback
  • Strict and permissive context modes
  • experimental.fhir_context_required capability injected into initialize

Tools (parity with sharp-fhir-mcp)

  • tools/fhir.ts — generic FHIR R4 search/read
  • tools/clinical.ts — Patient / Encounter / Appointment / Allergy / Medication / Problem
  • tools/lab-imaging.ts — Observation / DiagnosticReport / DocumentReference
  • tools/clinical-context.ts — aggregated visit context with derived alerts
  • tools/memory.ts — clinical memory backed by Cloudflare Vectorize + Workers AI + D1
  • tools/visualization.ts — MCP-UI Chart.js dashboards (visualize_lab_trend, visualize_vitals, visualize_patient_dashboard)

Getting started

pnpm install
# create the Vectorize index (once)
pnpm wrangler vectorize create featherless-memory --dimensions=768 --metric=cosine
# create the D1 database (once), put the id into wrangler.jsonc
pnpm wrangler d1 create featherless-memory-meta
pnpm db:migrate:remote
# develop
pnpm dev

SHARP context

Forward these headers on every tools/call:

Header Purpose
X-FHIR-Server-URL FHIR R4 base URL
X-FHIR-Access-Token OAuth2/SMART access token (Bearer optional)
X-Patient-ID Optional; falls back to JWT patient claim

License

MIT.

MCP Server · Populars

MCP Server · New

    luminarylane

    🎨 Fal.ai MCP Server

    MCP server for Fal.ai - Generate images, videos, music and audio with Claude

    Community luminarylane
    childrentime

    reactuse

    115+ production-ready React Hooks for sensors, UI, state & browser APIs. Tree-shakable, SSR-safe, TypeScript-first. Used by Shopee, PDD & Ctrip. Inspired by VueUse.

    Community childrentime
    agenticmail

    🎀 AgenticMail

    Email & SMS infrastructure for AI agents — send and receive real email and text messages programmatically

    Community agenticmail
    0xSteph

    pentest-ai

    Offensive-security MCP server with 197 wrapped tools, 17 specialist agents, and 14 SPA-aware probes that catch bugs scanners miss. CLI + MCP, BYO LLM.

    Community 0xSteph
    nostrband

    ServiceGraph Agent Skills

    AI Agent skills for a structured catalog of 100k+ US professional-services firms

    Community nostrband