brand-comparison-server
Fetches real-time Google Shopping data for brands, including product prices and ratings, to support brand comparison.
Uses Hugging Face-hosted LLMs to generate structured AI comparisons and explanations of brand value, price, and ratings.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@brand-comparison-serverCompare Nike and Adidas shoes and tell me which is better value"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🛍️ MCP Brand Comparison
An AI-powered brand comparison application built using the Model Context Protocol (MCP).
The application fetches real-time shopping data for two brands using SerpAPI, calculates price and rating statistics, determines value for money, and uses an LLM hosted through Hugging Face to generate a structured comparison.
🚀 Features
🔎 Real-time Google Shopping data
🏷️ Compare two different brands
👟 Supports multiple product categories:
Shoes
Watches
Bags
Clothing
💰 Average price calculation
⭐ Average rating calculation
📊 Product-level Value Score
🏆 Brand-level value comparison
🤖 AI-generated comparison and explanation
🔌 MCP-based client-server architecture
🌐 Streamlit user interface
⚠️ Error handling for missing data and API failures
🔒 API keys stored securely using environment variables
Related MCP server: Amazon Product Search MCP
🏗️ Architecture
┌─────────────────────┐
│ User │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ Streamlit UI │
│ app.py │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ MCP Client │
│ ClientSession │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ FastMCP Server │
│ compareserver.py │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ SerpAPI │
│ Google Shopping │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ Shopping Data │
│ Price / Rating │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ Python Analysis │
│ Price / Rating / │
│ Value Score │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ LLM │
│ Hugging Face Router │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ AI Comparison │
│ Winner / Reason / │
│ Price / Rating │
└─────────────────────┘🖥️ Application Preview
Brand Comparison Dashboard
The application allows users to select two brands and a product category, then retrieves real-time shopping data for comparison.

AI Analysis & Product Comparison
The application calculates average price, average rating, and Value Score, then provides an AI-generated comparison and displays the retrieved products.

This server cannot be deployed
Maintenance
Related MCP Connectors
Free, no signup. Check if ChatGPT, Perplexity & Google AI recommend a brand in 15 markets (GEO/AEO).
Search Rakuten Ichiba products and compare prices via Claude. Zero setup, no API key needed.
Measure what ChatGPT, Claude, Gemini and 4 more AI engines say about any business. No auth.
Track competitor brand demand across search, social and news. Free key at trendsapi.ai
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables querying and comparing product prices across different marketplaces with real-time updates. Deployable on Cloudflare Workers with tools for searching products, comparing prices, and retrieving price history.-
- FlicenseNot gradedqualityDmaintenanceEnables AI-powered Amazon product searches and recommendations by integrating the Amazon API with Hugging Face models. It allows users to filter products by price and specific features to receive tailored shopping suggestions.-
- AlicenseNot gradedqualityBmaintenanceProvides AI agents with real-time access to neutral, sourced comparisons across products and services in multiple languages and countries, with tools for searching, fetching detailed comparisons, and listing categories.MIT
- FlicenseNot gradedqualityBmaintenanceEnables users to compare and get recommendations across multiple supermarket products, combining curated specifications with realtime price and review lookups.-