MarketScope AI is an intelligent analytics platform that helps you understand and analyze different healthcare market segments using advanced AI and natural language processing
- Market Segmentation Analysis - Analyze and understand different healthcare market segments
- Strategic Query Optimization - Get optimized answers to your strategic questions
- Product Comparison - Compare products across different segments
- Sales & Marketing Analysis - Upload your sales data for AI-powered insights
- Python 3.8 or higher
- Required packages (installed automatically when following the setup instructions)
Run the simplified starter script:
python run_servers.pyThis will:
- Check for required packages and install them if needed
- Start the API server
- Start the Streamlit frontend
- Provide you with the URL to access the application
- Install dependencies:
pip install -r requirements.txt- Start the API server:
python api/main.py- Start the Streamlit frontend:
streamlit run frontend/app.pyapi/- FastAPI backend serverfrontend/- Streamlit user interfacemcp_servers/- Model Context Protocol (MCP) servers for different functionalitiesagents/- AI agents for analysisconfig/- Application configuration
The platform supports analysis across these healthcare segments:
- Diagnostic Segment
- Supplement Segment
- OTC Pharmaceutical Segment
- Fitness Wearable Segment
- Skin Care Segment
To analyze your sales data:
- Select your segment from the sidebar
- Go to Sales & Marketing Analysis page
- Upload your CSV file or use the sample data
- Click "Analyze Data"
MarketScope includes a Retrieval Augmented Generation (RAG) system that provides access to marketing knowledge from Philip Kotler's Marketing Management book:
- Go to the Query Optimization page
- Enter your marketing question
- The system will retrieve relevant sections from the book
- Get tailored marketing strategies for your specific segment
-## MCP SERVER:
- unified server - http://34.42.74.104:8000/docs
- marketing analysis server - http://34.42.74.104:8001/docs
- snowflake mcp server - http://34.42.74.104:8004/docs
- sales data analysis server - http://34.42.74.104:8002/docs
- segment mcp server - http://34.42.74.104:8003/docs
If you encounter issues:
- Check that all required dependencies are installed
- Verify that no other applications are using the required ports (8000-8004, 8501)
- Ensure your environment variables are properly set up
- Check the application logs for specific error messages
