This is a submission for the Notion MCP Challenge
Video Demo
watch in youtube
https://youtu.be/xp2dmOBo06U
The Problem
Hospitals donβt struggle because of lack of expertise β
they struggle because of everyday workflow friction.
Healthcare work is inherently hectic.
Doctors and nurses operate under constant time pressure,
handling multiple patients, decisions, and updates at once.
- Supplies need to be tracked manually, and low stock is often noticed too late. masks , medicines , oxygen cylinder much more etc
- Patient information is recorded in multiple places, making it hard to keep everything consistent,The test records various department,patient history
- Doctor notes are sometimes difficult to read or follow, especially under time pressure These tasks are routine, but they take time, require coordination, and are easy to miss.
I wanted to explore:
What if these routine tasks could become simple, structured, and worry-free β
so hospital staff can focus on decisions instead of coordination?
People get tired and exhausts because of paperwork and disconnected systems.
What I Built
MediOS β an AI Clinical Control Plane that triages patients,
tracks hospital supplies, and keeps humans in control of every
critical decision.
The core idea: AI handles the paperwork. Humans make the decisions.
Show us the code
GitHub: https://github.com/shridharakki/medios
System Architecture
Nurse / Doctor types a message
β
Claude Desktop
β
Custom MCP Server (server.py)
β
5 MCP Tools:
triage_patient() β scores symptoms 0-100
update_inventory() β updates stock levels
process_approved() β assigns nurse on approval
update_patient_notes() β updates prescription
create_alert() β fires automatically on critical stock
β
Notion API
β
3 Databases: Patients | Review Queue | Inventory
β
watcher.py (background β checks every 30 seconds)
β detects doctor approvals
β assigns nurses automatically
β zero extra commands needed
How I Used Notion MCP
Notion is not just a database in MediOS β it is the decision
surface where humans and AI collaborate.
3 Databases
Patients DB
Stores every patient with: Name, Symptoms, AI Score (0-100),
Priority (Critical/High/Medium), Status, Assigned Nurse, Doctor Notes
Review Queue DB
Every AI decision goes here first β nothing happens without
human approval. Doctor sees the AI reasoning and approves or rejects.
Inventory DB
Real-time supply tracking β Quantity, Threshold, Status
(OK/LOW/CRITICAL), Needs Reorder checkbox
3 Demo Flows
Flow 1 β Patient Triage + Human Approval
Nurse types:
"Add patient Ravi, chest pain and shortness of breath"
AI automatically:
- Scores symptoms β 91/100 β Critical
- Creates entry in Patients DB
- Sends to Review Queue as Pending
Doctor opens Notion β reads AI reasoning β changes to Approved
Watcher detects approval β Nurse Priya assigned instantly
No extra command. No manual step. The system reacts on its own.
Flow 2 β Inventory Alert (Proactive AI)
Nurse types:
"Update gloves quantity to 5"
AI automatically:
- Updates Inventory DB
- Detects quantity (5) is below threshold (20)
- Sets status β CRITICAL
- Ticks Needs Reorder checkbox
- Creates management alert in Review Queue
**One message. Five actions.
This is the difference between automation and intelligence β
the AI noticed a problem and reported it without being asked.
Flow 3 β Doctor Prescription
Doctor types:
"Update Ravi's notes: Prescribe aspirin 75mg, follow up in 3 days"
AI automatically:
- Updates Doctor Notes in Patients DB
- Changes patient Status β Treated
Doctor focuses on medicine. AI handles the paperwork.
Tech Stack
| Component | Technology |
|---|---|
| AI Brain | Claude Desktop |
| MCP Server | Custom Python (server.py) |
| Automation | Python watcher script (watcher.py) |
| Database | Notion (3 databases) |
| Packages | notion-client, python-dotenv, mcp |
| Language | Python 3.13 |
Future Roadmap
MediOS today handles triage, inventory, and prescriptions.
But the vision is much bigger β
There so many features to add
A complete Hospital Operating System where every role,
every department, and every patient has their own
intelligent workflow.
Phase 1 β Multi-User & Custom Tools
- Role-based access β Doctor, Nurse, Patient, Management each get their own custom MCP tools
- Doctor tools: voice dictation, prescription writer, patient summary
- Nurse tools: inventory reporting, patient updates, task management
- Management tools: dashboards, approvals, alerts
- Patient tools: view own records, book appointments, ask health questions
Phase 2 β Full Hospital Departments
- Medicine & Supplies β automated reordering, vendor alerts, usage prediction
- Instruments & Equipment β maintenance schedules, availability tracking
- Examinations & Tests β lab report scanning, result auto-updates to patient record
- Radiology & Scans β scan booking, report summarisation, doctor review queue
- Reporting β daily department summaries, weekly management reports auto-generated
- Appointments & Booking β patient self-booking, doctor calendar sync, reminder alerts
Phase 3 β Patient Home Care
- Medicine reminders β WhatsApp/SMS alerts so patients never forget their medication
-
Personal health assistant β patient asks simple
questions like:
- "What should I eat today?"
- "Which exercises help my recovery?"
- "What activities should I avoid?"
- "What yoga is good for my condition?"
- AI answers based on their actual prescription and doctor notes β not generic internet advice
- Recovery schedule β personalised daily plan sent to patient automatically after discharge
- Follow-up booking β AI reminds patient when next appointment is due and books it automatically
Phase 4 β Hospital Intelligence
- AI predicts busy periods from historical patient data
- Real-time bed availability across all wards
- Staff scheduling suggestions based on patient load
- Emergency ambulance tracking integration
- Insurance claim automation
- Cross-department coordination β lab results automatically notify the right doctor instantly
The Big Picture
From the moment a patient enters the hospital
to the moment they recover at home β
every step tracked, every task automated,
every human decision supported by AI.
MediOS is not just a hospital tool.
It becomes the operating system for healthcare.
What I Learned
This was my first real coding project outside of college assignments.
I learned:
- How to build custom MCP and how to connect it.
- How MCP servers work and how to build one from scratch
- How to connect Python to external APIs
- How to think about system design β not just writing code





Top comments (0)