Shopping_Agent_Using_MCP_Server
An intelligent, conversational shopping assistant built to revolutionize the online shopping experience. Powered by the Groq AI model and seamlessly integrated with the Model Context Protocol (MCP), this assistant offers smart, multi-context product discovery tailored to your needs. It engages in natural, context-aware conversations to help you
claude mcp add --transport stdio sakshirajeshirke-shopping_agent_using_mcp_server npx -y @openbnb/mcp-server-airbnb
How to use
The Shopping_Agent_Using_MCP_Server is an AI-powered shopping assistant that uses the Groq LLM and MCP to perform real-time shopping searches, compare products and services, and provide price guidance. It relies on MCP-enabled search engines (Playwright, Airbnb, and DuckDuckGo search servers) to fetch up-to-date information from supported shopping platforms. You can start the Python-based assistant, which will interact with these MCP endpoints to gather and summarize product data, helping users make smarter buying decisions. Typical workflows include query-based product searches, feature analysis, and price comparison across different vendors.
To use the MCP-backed capabilities, ensure your MCP configuration (browser_mcp.json) is in place and that the GROQ_API_KEY is available in your environment. The tool supports commands to manage context and session state, enabling context-aware conversations and resumable searches. When asking for product recommendations, the agent will run searches, analyze features, compare options, and present recommendations with provenance from the MCP search results.
How to install
Prerequisites:
- Python 3.8+ and npm/node installed
- Access to GROQ API key
- Git installed
Step-by-step installation:
- Clone the repository and enter the project folder:
git clone <repository-url>
cd ai-shopping-assistant
- Create and activate a virtual environment (optional but recommended):
python -m venv venv
# macOS/Linux
source venv/bin/activate
# Windows
venv\Scripts\activate
- Install Python dependencies:
pip install -r requirements.txt
- Install MCP Node.js dependencies globally (for MCP search servers):
npm install -g @playwright/mcp @openbnb/mcp-server-airbnb duckduckgo-mcp-server
- Set up environment variables (example):
echo "GROQ_API_KEY=your-api-key-here" > .env
- Prepare MCP configuration file (example):
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest"]
},
"airbnb": {
"command": "npx",
"args": ["-y", "@openbnb/mcp-server-airbnb"]
},
"duckduckgo-search": {
"command": "npx",
"args": ["-y", "duckduckgo-mcp-server"]
}
}
}
- Start the assistant:
python shopping_assistant.py
- Ensure your browser MCP configuration path is set in the code if needed, for example:
self.config_file = r"path/to/your/browser_mcp.json"
Additional notes
Tips and troubleshooting: ensure internet access for MCP searches and GROQ API usage. If a search fails, MCP can retry or fall back; you can adjust retries and delay settings in your MCP config. Keep the GROQ_API_KEY secure and loaded in your environment (.env). The Node MCP servers (Playwright, Airbnb, DuckDuckGo) are used to drive browser-based searches across supported platforms; make sure Node.js and npm are installed and that the MCP packages are accessible. If you encounter MCP mismatch errors, verify that the browser_mcp.json structure matches the expected format and that the commands/args align with your environment. The tool supports context commands to view the latest summary and status commands to check rate limits.
Related MCP Servers
mcp-vegalite
MCP server from isaacwasserman/mcp-vegalite-server
github-chat
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
pagerduty
PagerDuty's official local MCP (Model Context Protocol) server which provides tools to interact with your PagerDuty account directly from your MCP-enabled client.
futu-stock
mcp server for futuniuniu stock
mcp -boilerplate
Boilerplate using one of the 'better' ways to build MCP Servers. Written using FastMCP