AI-Powered Symptom Analysis & Medicinal Plant Identification
MedTech AI is a cutting-edge web application designed to bridge the gap between modern AI technology and traditional natural medicine. It empowers users to take control of their health by providing instant, AI-driven analysis of symptoms and identifying medicinal plants from simple images.
With a focus on safety and personalization, MedTech AI checks every recommendation against your unique health profile—warning you of potential allergies or drug interactions before you try any remedy.
- Instant Analysis: Describe your symptoms in plain English or use voice input.
- Disease Prediction: Advanced AI models (Grok-4.1) analyze symptoms to suggest potential conditions.
- Risk Assessment: Immediate risk level indicators (Low, Moderate, High) with actionable advice.
- Profile Relevance: See how each condition relates to your specific health profile.
- Doctor Connect: Find nearby specialists based on your predicted condition.
- Visual Recognition: Upload photos of any plant to identify it instantly using Gemini Vision AI.
- Detailed Insights: Get scientific names, medicinal benefits, preparation methods, and dosage.
- Safety First:
- Allergy Alerts: Warns if you are allergic to the identified plant.
- Interaction Checks: Checks for conflicts with your current medications (e.g., Warfarin + Ginger).
- Condition Warnings: Advises against plants that may worsen your existing conditions.
- 24/7 Assistant: Ask follow-up questions about your diagnosis or plant remedies.
- Context-Aware: The AI remembers your previous interactions and health profile for personalized answers.
- Multi-Language: Chat in English, Hindi, Spanish, or French.
- Secure Storage: Your health data (allergies, medications, conditions) is stored locally on your device for privacy.
- Smart Integration: Your profile is automatically used to tailor all AI responses and safety warnings.
- Framework: React 18 (Vite)
- Styling: Tailwind CSS + Framer Motion (Animations)
- Icons: Lucide React
- State Management: React Context API
- HTTP Client: Axios
- Server: Node.js + Express
- AI Integration: OpenRouter API
- Symptom Analysis:
x-ai/grok-4.1-fast - Plant Vision:
google/gemini-2.0-flash-exp - Chat:
x-ai/grok-4.1-fast
- Symptom Analysis:
- File Handling: Multer (for image uploads)
Follow these steps to get MedTech AI running on your local machine.
- Node.js (v18 or higher)
- npm (v9 or higher)
- OpenRouter API Key (Get one at openrouter.ai)
git clone https://github.com/yourusername/medtech-ai.git
cd medtech-aicd backend
npm install
# Create .env file
cp .env.example .envConfigure .env:
Open backend/.env and add your API key:
PORT=3000
OPENAI_API_KEY=sk-or-v1-your-actual-api-key-herecd ../frontend
npm install
# Create .env file
cp .env.example .envConfigure .env:
Open frontend/.env and ensure the API URL matches your backend:
VITE_API_URL=http://localhost:3000/apiYou need to run both the backend and frontend servers.
Terminal 1 (Backend):
cd backend
npm run devTerminal 2 (Frontend):
cd frontend
npm run devOpen your browser and navigate to http://localhost:5173 to start using MedTech AI! 🚀
| Home Page | Symptom Checker |
|---|---|
| Plant Identifier | Profile Warnings |
|---|---|
Contributions are welcome! This is an academic project, but we love community input.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
- OpenRouter for providing access to top-tier AI models.
- React Community for the amazing ecosystem.
- Google DeepMind & xAI for the underlying AI technologies.
