
opinionflow
Real-time, cross-store product-review intelligence
Repository Info
About This Server
Real-time, cross-store product-review intelligence
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
OpinionFlow 🗣️
Read full writeup @ Dev.to
Real‑time, cross‑store product‑review intelligence
Bright Data Real‑Time AI Agents Challenge (May 2025)
Shoppers drown in thousands of fragmented reviews. OpinionFlow turns that chaos into clarity: it scrapes fresh reviews from Amazon and Walmart in real‑time, distills crowd sentiment with AI, and surfaces instant, source‑cited insights—so anyone can decide with confidence.
Powered by Bright Data MCP, FastAPI, PGVector, and Retrieval‑Augmented Generation (RAG).
Features
🔍 Smart Product Discovery - Search across Amazon & Walmart simultaneously
📊 AI-Powered Analysis - Extract and analyze thousands of reviews with sentiment intelligence
💬 Interactive Chat - Ask questions about products and get source-cited answers
⚡ Real-time Processing - Fresh review data with instant insights
🔗 Cross-Store Comparison - Compare products from different retailers side-by-side
Tech Stack
Backend:
- FastAPI (Python)
- PGVector for vector storage
- Transformers & Sentence Transformers for AI
- Bright Data MCP for web scraping
- Google Generative AI
Frontend:
- React (Next.js)
- Tailwind CSS
- Lucide Icons
Quick Start
Prerequisites
- Python 3.11+
- Node.js 18+
- PostgreSQL with PGVector extension
Backend Setup
- Clone and setup Python environment:
git clone <repository-url>
cd opinionflow
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -r requirements.txt
- Environment Configuration:
Create
.envfile in backend directory:
BRIGHT_DATA_API_KEY=
BRIGHT_DATA_SERP_ZONE=
BRIGHT_DATA_WEBUNLOCKER_ZONE=
GEMINI_API_KEY=
HUGGINGFACE_API_KEY=
PINECONE_API_KEY=
PINECONE_DISCOVERY_INDEX=
PINECONE_ENVIRONMENT=
PINECONE_REVIEWS_INDEX=
- Start Backend:
cd backend
uvicorn main:app --reload --port 8000
Frontend Setup
- Install dependencies:
cd react-frontend
npm install
- Start development server:
npm run dev
- Open browser:
Navigate to
http://localhost:3000
Usage
- Search Products - Enter a product name to discover items across stores
- Select & Compare - Choose products from different retailers to compare
- Analyze Reviews - Let AI extract and analyze thousands of reviews
- Ask Questions - Chat with the AI about product insights, comparisons, and reviews
Contributing
This project is part of the Bright Data Real-Time AI Agents Challenge. Contributions welcome!
License
MIT License
Quick Start
Clone the repository
git clone https://github.com/meshivanshsinghh/opinionflowInstall dependencies
cd opinionflow
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.