MCP Server for AWS HealthLake (Mocked)

MCP Server for AWS HealthLake (Mocked)

ahl-mcp-server•byanandkiran2007

An open-source Model Context Protocol server that connects to mocked AWS HealthLake FHIR data sources and provides structured context bundles for clinical models.

License: Not specified•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Serves MCP endpoints that return per-patient context bundles.
  • •Supports model registration and tailored context delivery per registered model.
  • •Exposes mocked AWS HealthLake FHIR endpoints for patients, conditions, medications and observations.
  • •Includes a mocked model invocation endpoint for predictions.

BEST FOR

  • •Testing clinical context delivery workflows against mocked FHIR data without live AWS access.
  • •Prototyping model registration and tailored context retrieval for clinical models.
  • •Exploring MCP-style context bundling that combines FHIR data with NLP.

ABOUT AHL-MCP-SERVER

MCP Server for AWS HealthLake (Mocked) is cataloged as an MCP server attributed to anandkiran2007. An open-source Model Context Protocol server that connects to mocked AWS HealthLake FHIR data sources and provides structured context bundles for clinical models. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Server for AWS HealthLake (Mocked) are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does this server connect to a real AWS HealthLake instance?

No; the AWS HealthLake APIs are mocked, and an optional USE_AWS flag is reserved for future AWS integration, which is not implemented yet.

What context format does the server bundle?

It bundles context per the MCP spec, combining FHIR data with NLP.

Upstream README

View this exact version on GitHub

README.md · dfdd719dff0b · Fetched 2026-11-13 13:10:04 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

🏥 MCP Server for AWS HealthLake (Mocked)

This project is an open-source Model Context Protocol (MCP) server that connects to (mocked) AWS HealthLake data sources and provides structured, standardized context bundles for clinical models.

✅ Features

  • Mocked AWS HealthLake APIs (FHIR-based)
  • Context bundling per MCP spec (FHIR + NLP)
  • Model registration and tailored context delivery
  • Mocked model invocation endpoint
  • Audit logging
  • Optional USE_AWS flag for future AWS integration

🚀 Quick Start

1. Clone or Download

unzip mcp-server.zip
cd ahl-mcp-server

2. Install Python Dependencies

python3 -m venv venv
source venv/bin/activate        # On Windows: venv\Scripts\activate
pip install -r requirements.txt

3. Run Locally (Mock Mode)

uvicorn app.main:app --reload

Visit: http://localhost:8000/docs


🔁 Endpoints

📦 MCP Endpoints

EndpointMethodDescription
/context/{patient_id}GETGet context bundle
/models/registerPOSTRegister model info
/models/{model_id}/context/{patient_id}GETTailored context
/model/invoke/{model_id}?patient_id=...POSTMock model prediction

🧪 Mock HealthLake Endpoints

EndpointMethodDescription
/ahl/PatientPOSTCreate patient
/ahl/Patient/{id}GETGet patient
/ahl/Condition?patient=...GETGet conditions
/ahl/MedicationRequest?patient=...GETGet meds
/ahl/Observation?patient=...GETGet labs
/ahl/mock/add_*POSTAdd mock data (condition/med/obs)

⚙️ Switching Between Mock and AWS Mode

By default, the app runs in mock mode.

To prepare for future AWS integration:

export USE_AWS=true

Note: AWS mode is not implemented yet but ready for integration.


🧪 Run Tests

pytest tests/

📂 Folder Structure

app/
├── api/                # API endpoints
├── core/               # Config and logging
├── fhir/               # Placeholder for FHIR connector
├── models/             # Pydantic models
├── nlp/                # NLP mock enhancer
├── services/           # Context resolver, policy logic
├── main.py             # FastAPI entry
infra/
tests/                  # Test cases
schemas/                # MCP JSON schema
.env
requirements.txt

📜 License

MIT License


🧠 Coming Soon

  • AWS HealthLake integration (boto3)
  • Amazon Comprehend Medical / Bedrock models
  • Dockerfile + ECS deployment
  • Real-time cohort search
  • SMART-on-FHIR authentication

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Server for AWS HealthLake (Mocked) from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/ahl-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent