E-Commerce Product Hunt MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/FassihShah/PriceHunt-MCP.git
cd PriceHunt-MCP
uv install
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "GOOGLE_API_KEY=${GOOGLE_API_KEY}" ecommerce-product-hunt -- python "<FULL_PATH_TO_E_COMMERCE_PRODUCT_HUNT>/dist/index.js"

Replace <FULL_PATH_TO_E_COMMERCE_PRODUCT_HUNT>/dist/index.js with the actual folder you prepared in step 1.

Required:GOOGLE_API_KEY
README.md

Find lowest-priced products with 4+ star ratings on Pakistani e-commerce sites.

šŸ›ļø E-Commerce Product Hunt

A Model Context Protocol (MCP) implementation that finds the lowest-priced products with good ratings (4+ stars) across major Pakistani e-commerce platforms including Daraz, Telemart, and iShopping.

MCP

Model Context Protocol (MCP) is a standardized protocol that enables AI applications to securely connect to external data sources and tools. It acts as a bridge between AI models (like Gemini) and various services, databases, APIs, and applications.

MCP Architecture Components:

  • MCP Servers - Provide specific tools, resources, or data to clients
  • MCP Clients - AI applications that want to access external resources
  • Transport Layer - Communication mechanism between clients and servers

šŸŽÆ Project Overview

This project demonstrates MCP implementation by creating:

  1. MCP Server: Provides three tools for scraping Pakistani e-commerce sites
  2. MCP Client: Uses LangChain + Google Gemini to orchestrate tool calls
  3. Streamlit Frontend: User-friendly web interface for product searches

Note: In this project both server and client run on the same host for learning purposes.

✨ Features

  • šŸ” Multi-Platform Search: Scrapes Daraz, Telemart, and iShopping simultaneously
  • ⭐ Quality Filtering: Prioritizes products with 4+ star ratings
  • šŸ’° Price Search: Finds the lowest-priced genuine products
  • šŸ¤– AI-Powered: Uses Google Gemini for intelligent product matching
  • šŸ’¬ Chat Interface: Conversational UI with memory
  • šŸš€ Async Processing: Non-blocking operations for better performance

šŸ›ļø MCP Architecture

This Project's MCP Implementation:

ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”    ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”    ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│   Streamlit     │    │   MCP Client    │    │   MCP Server    │
│   Frontend      │◄──►│  (LangChain +   │◄──►│   (FastMCP)     │
│   (app.py)      │    │   Gemini)       │    │                 │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜    ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜    ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
                                                        │
                                                        ā–¼
                                               ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
                                               │   E-commerce    │
                                               │   Websites      │
                                               │ • Daraz.pk      │
                                               │ • Telemart.pk   │
                                               │ • iShopping.pk  │
                                               ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜

MCP Tools Defined:

  1. get_daraz_products(query) - Scrapes Daraz with 4+ rating filter
  2. get_telemart_products(query) - Scrapes Telemart search results
  3. get_ishopping_products(query) - Scrapes iShopping catalog

šŸ“ Project Structure

PriceHunt-MCP/
ā”œā”€ā”€ project/             # Client-side code
│   └── app.py              # Streamlit web interface
|   └── mcp_client.py          # MCP Client with LangChain integration
|   └── mcp_server.py          # MCP Server with 3 e-commerce tools
ā”œā”€ā”€ python-version         # Python version specification
ā”œā”€ā”€ pyproject.toml         # Python project configuration
ā”œā”€ā”€ README.md             # This file
└── uv.lock               # UV dependency lock file

šŸš€ Installation & Setup

1. Clone the Repository

git clone https://github.com/FassihShah/PriceHunt-MCP.git
cd PriceHunt-MCP

2. Create Virtual Environment

# Create virtual environment
python -m venv venv

# Activate virtual environment
venv\Scripts\activate

3. Install Dependencies

Since we're using uv, install dependencies with:

# If using uv (recommended)
uv install

# Or using pip with requirements.txt
pip install -r requirements.txt

If you don't have uv installed:

# Install uv first
pip install uv
# Then install dependencies
uv install

4. Set Up Environment Variables

Create a .env file in the project root:

GOOGLE_API_KEY=your_google_gemini_api_key_here

šŸ–„ļø Using with Claude Desktop

This MCP server can also be integrated directly with Claude Desktop application, allowing to use the e-commerce tools directly in your conversations with Claude!

Setup for Claude Desktop:

1. Install Claude Desktop:

2. Configure Claude Desktop: Open the Claude Desktop configuration file:

Windows:

code %APPDATA%\Claude\claude_desktop_config.json

3. Add Your MCP Server: Create or update the claude_desktop_config.json file:

{
  "mcpServers": {
    "ecommerce-scraper": {
      "command": "python",
      "args": ["/path/to/your/project/mcp_server.py"],
      "env": {
        "PYTHONPA

Tools (3)

get_daraz_productsScrapes Daraz with 4+ rating filter
get_telemart_productsScrapes Telemart search results
get_ishopping_productsScrapes iShopping catalog

Environment Variables

GOOGLE_API_KEYrequiredAPI key for Google Gemini integration

Configuration

claude_desktop_config.json
{"mcpServers": {"ecommerce-scraper": {"command": "python", "args": ["/path/to/your/project/mcp_server.py"]}}}

Try it

→Find the lowest priced wireless headphones on Daraz with at least a 4 star rating.
→Search for the best deals on smartphones on Telemart.
→Compare prices for a mechanical keyboard across Daraz and iShopping.
→Find highly rated gaming mice available on iShopping.

Frequently Asked Questions

What are the key features of E-Commerce Product Hunt?

Multi-platform search across Daraz, Telemart, and iShopping. Quality filtering for products with 4+ star ratings. Price-focused search to find the lowest-priced genuine products. AI-powered intelligent product matching.

What can I use E-Commerce Product Hunt for?

Comparing prices for electronics across multiple Pakistani retailers. Finding high-quality, well-rated products within a specific budget. Automating product research for online shopping in Pakistan.

How do I install E-Commerce Product Hunt?

Install E-Commerce Product Hunt by running: git clone https://github.com/FassihShah/PriceHunt-MCP.git && cd PriceHunt-MCP && uv install

What MCP clients work with E-Commerce Product Hunt?

E-Commerce Product Hunt works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep E-Commerce Product Hunt docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare