-
-
AI x Healthcare app: explains prescriptions, builds daily plans, flags unclear text.
-
Calm start with "Try it", video tour, and a clear medical disclaimer.
-
Upload a photo or use the built-in sample. Choose English,Spanish or French
-
The AI reads what it can and flags unreadable text for the pharmacist—never guessed.
-
Each card shows dosage, timing (before/after food), and duration.
-
Morning-to-night schedule with tick boxes and browser reminders.
-
A clean, print-friendly schedule to save, keep, or share with your doctor.
-
Flags duplicates and interactions as pharmacist questions, with caveats.
-
Fully responsive mobile design with large text and tap-friendly controls.
-
Step-by-step: photo, AI reading, review, schedule, and safety check.
Inspiration
Many people struggle to read a prescription or understand how and when to take their medicines. Mistakes are easy to make, and not everyone has someone to ask. We wanted a calm, simple tool that explains what is written and says plainly when it can't read something.
What it does
MedClear reads a photo of a prescription or medicine strip and explains each medicine in simple words: what it is for, how to take it, common side effects and cautions.
- Plain-language cards for every medicine, with before or after food and time of day
- "Could not read clearly" section, so the app flags unclear text instead of guessing
- Daily plan grouped by morning, afternoon, evening and night, with tick-off doses and browser reminders
- Safety check for duplicate ingredients and points to ask a pharmacist
- English, Spanish and French explanations, with medicine names kept in English
- Print or save as PDF schedule
- Guided demo and sample mode that run with no AI call
MedClear never diagnoses and always tells users to confirm with a doctor or pharmacist.
How we built it
Next.js, TypeScript and Tailwind CSS. A vision-capable Gemini model reads the photo through server-side API routes, so the API key never reaches the browser. Every response is validated with zod, and the app falls back across several models and caches results when one is slow or busy. A built-in narrated demo drives the real interface using local sample data.
Challenges
- Making AI output reliable: strict JSON validation, lenient parsing, timeouts, retries and model fallbacks
- Gemini's free tier can be slow or rate-limited, so we added caching, cooldowns and a no-AI sample mode
- Keeping the safety wording careful: no diagnosis, no dose changes, "ask your pharmacist"
Accomplishments we're proud of
A complete flow from photo to schedule and safety check, a self-running narrated demo, and clear safety wording throughout.
What we learned
Designing around real AI limits, and showing uncertainty honestly instead of hiding it.
What's next
More languages, better handling of handwritten prescriptions, saved schedules, and review by healthcare professionals.
Notes for judges
- The first load can take up to a minute on free hosting.
- Live scans use Google's free Gemini API and can occasionally be slow or rate-limited. Use Watch demo or Open sample results to see the full flow without the AI.
- All prescriptions shown are made up.
- MedClear is for information only, not medical advice.
Built With
- gemini-api
- github
- google-gemini
- next.js
- node.js
- react
- render
- tailwindcss
- typescript
- zod