Skip to main content
Glama

Bargainer MCP Server

Bargainer MCP Client πŸ›οΈ

A powerful Model Context Protocol (MCP) client for finding and comparing deals from multiple sources including Slickdeals, RapidAPI marketplace, and web scraping. Features a modern web-based chat interface for interactive deal searching.

Features ✨

  • Multi-Source Deal Aggregation: Integrates with Slickdeals API, RapidAPI marketplace, and web scraping

  • Interactive Chat Interface: Modern web UI with real-time messaging via Socket.IO

  • Intelligent Deal Filtering: Filter by price, rating, store, and category

  • Deal Comparison: Compare deals across multiple sources

  • MCP Protocol Integration: Full Model Context Protocol implementation with 6 specialized tools

  • Provider Pattern Architecture: Extensible design for adding new deal sources

  • TypeScript: Fully typed codebase with strict type checking

Quick Start πŸš€

Prerequisites

  • Node.js 18+

  • npm or yarn

  • API keys for external services (optional, fallback to mock data)

Installation

# Clone the repository git clone https://github.com/karthiksivaramms/bargainer-mcp-client.git cd bargainer-mcp-client # Install dependencies npm install # Build the project npm run build

Usage

Web Chat Interface

# Start the web interface npm run web # Or with auto-reload for development npm run dev:web

Then open http://localhost:3001 in your browser and start chatting!

MCP Server

# Start the MCP server npm run dev # Or run the built version npm start

Demo & Testing

# Run interactive demo npm run demo # Test the server npm run test:server

Available Commands πŸ’¬

Use these natural language commands in the chat interface:

  • Search deals: "Find laptop deals under $500"

  • Get top deals: "Show me today's top electronics deals"

  • Filter deals: "Gaming headphones under $100 with 4+ stars"

  • Deal details: "Tell me more about this iPhone deal"

  • Compare deals: "Compare iPad deals across sources"

  • List sources: "What deal sources are available?"

MCP Tools πŸ› οΈ

The server provides 6 specialized tools:

  1. search_deals - Search for deals by product name or keywords

  2. get_top_deals - Get trending deals from all sources

  3. filter_deals - Filter deals by price, rating, store, category

  4. get_deal_details - Get detailed information about specific deals

  5. compare_deals - Compare deals across multiple sources

  6. get_available_sources - List all configured deal sources

Architecture πŸ—οΈ

src/ β”œβ”€β”€ server.ts # Main MCP server β”œβ”€β”€ providers/ # Deal source providers β”‚ β”œβ”€β”€ base.ts # Base provider interface β”‚ β”œβ”€β”€ slickdeals.ts # Slickdeals API provider β”‚ β”œβ”€β”€ rapidapi.ts # RapidAPI marketplace provider β”‚ └── webscraping.ts # Web scraping provider β”œβ”€β”€ services/ β”‚ └── aggregator.ts # Deal aggregation service └── types/ # TypeScript type definitions ui/ β”œβ”€β”€ index.html # Chat interface β”œβ”€β”€ chat-interface.js # Frontend JavaScript └── server.js # Express server with Socket.IO test/ # Test files scripts/ # Utility scripts

Contributing 🀝

Contributions are welcome! Please feel free to submit a Pull Request.

Development Setup

# Install dependencies npm install # Start development with auto-reload npm run dev # Start web interface with auto-reload npm run dev:web # Run linting npm run lint # Format code npm run format

Adding New Deal Sources

  1. Create a new provider in src/providers/

  2. Extend BaseDealProvider

  3. Implement required methods

  4. Register in aggregator.ts

API Documentation πŸ“š

Deal Object Structure

interface Deal { id: string; title: string; price: number; originalPrice?: number; discount?: number; rating?: number; store: string; url: string; imageUrl?: string; description?: string; category?: string; source: string; timestamp: Date; }

License πŸ“„

This project is licensed under the MIT License - see the LICENSE file for details.

Author πŸ‘¨β€πŸ’»

Karthik Sivaram M

Support πŸ’‘

If you have any questions or run into issues, please open an issue on GitHub.

Roadmap πŸ—ΊοΈ

  • More deal source integrations

  • Deal alerts and notifications

  • Price history tracking

  • Advanced filtering options

  • Mobile app version

  • Deal sharing features


Made with ❀️ for bargain hunters everywhere!

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A Model Context Protocol server that aggregates and compares deals from multiple sources including Slickdeals, RapidAPI marketplace, and web scraping, enabling users to search, filter, and compare deals through a chat interface.

  1. Features ✨
    1. Quick Start πŸš€
      1. Prerequisites
      2. Installation
      3. Usage
    2. Available Commands πŸ’¬
      1. MCP Tools πŸ› οΈ
        1. Architecture πŸ—οΈ
          1. Contributing 🀝
            1. Development Setup
            2. Adding New Deal Sources
          2. API Documentation πŸ“š
            1. Deal Object Structure
          3. License πŸ“„
            1. Author πŸ‘¨β€πŸ’»
              1. Support πŸ’‘
                1. Roadmap πŸ—ΊοΈ

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server enabling product searches across e-commerce platforms, price history tracking, and product specification-based searches using natural language prompts.
                    Last updated -
                    2
                    14
                    MIT License
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server that enables web search, scraping, crawling, and content extraction through multiple engines including SearXNG, Firecrawl, and Tavily.
                    Last updated -
                    4
                    28
                    57
                    MIT License
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that enables price lookup and trading across multiple cryptocurrency exchanges including Upbit, Gate.io, and Binance.
                    Last updated -
                    10
                    MIT License
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol server that provides real-time access to MongoDB product data, enabling sophisticated e-commerce queries with price range filters, category searching, and product recommendations through a conversational interface.
                    Last updated -

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/karthiksivaramms/bargainer-mcp-client'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server