JUHE API Marketplace
Noyonchandrasaha avatar
MCP Server

E-commerce MCP Server

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.

0
GitHub Stars
11/23/2025
Last Updated
No Configuration
Please check the documentation below.
  1. Home
  2. MCP Servers
  3. MCP-E-commerce-Chatbot

README Documentation

E-commerce Chatbot with MCP Server (Model Context Protocol)

This project refactors your existing LangChain + FAISS vector database e-commerce chatbot to use MCP (Model Context Protocol) server for real-time product data access.

Key Changes

Removed:

  • FAISS vector database and embeddings
  • Static JSON file loading
  • Vector similarity search

Added:

  • MCP Server for MongoDB integration
  • Real-time product queries
  • Structured database operations
  • MongoDB text search indexing

Features

  • Real-time Data: Always up-to-date product information
  • Structured Queries: Price range, category filtering
  • Product Recommendations: Based on category and price similarity
  • Text Input: Supports text queries
  • Session Management: Maintains conversation context
  • Coreference Resolution: Handles pronouns and references

Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables in .env

  2. Start MongoDB:

docker-compose up mongodb -d
  1. Run the application:
uvicorn main:app --reload

API Endpoints

  • POST /api/v1/chat/ - Text-based chat

Benefits of MCP Integration

  1. Real-time Inventory: Always current stock levels
  2. Complex Queries: Price ranges, category filters
  3. Better Performance: Optimized database queries
  4. Scalability: Direct MongoDB connection
  5. Flexibility: Easy to extend with new query types

The MCP server provides a clean abstraction layer between your LLM and database, enabling more sophisticated product queries while maintaining the conversational interface your users expect.

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved