Amazon MCP Server
Scrapes and searches for products on Amazon.
Amazon MCP Server
This is a Model Context Protocol (MCP) server for scraping Amazon products and searching for products on Amazon.
Setup
-
Clone the repository:
git clone https://github.com/r123singh/amazon-mcp-server.git -
Navigate to the project directory:
cd amazon-mcp-server -
Create a virtual environment:
python -m venv venv -
Activate the virtual environment:
- On Linux/macOS:
source venv/bin/activate - On Windows:
venv\Scripts\activate
- On Linux/macOS:
-
Install dependencies:
pip install -r requirements.txt -
No API keys or tokens are required.
-
Configure MCP JSON: Create a
mcp.jsonfile with:{ "mcpServers": { "amazon": { "command": "{PATH_TO_DIRECTORY}\\amazon-mcp-server\\venv\\Scripts\\python.exe", "args": [ "{PATH_TO_DIRECTORY}\\amazon-mcp-server\\server.py" ] } } }Replace
{PATH_TO_DIRECTORY}with the absolute path to this directory (usepwdorcdto get the path).
Available Tools
The server provides the following tools for interacting with Amazon:
-
Scrape a product:
scrape_product(product_url)
Scrape product details (name, price, image, rating, reviews, availability, description) from a given Amazon product URL. -
Search for products:
search_products(query, max_results)
Search for products on Amazon by keyword and return a list of results.
Usage
Once configured, the MCP server can be started using the standard MCP client configuration. The server provides a natural language interface to interact with Amazon through the available tools.
Example usage:
- "Get details for this Amazon product: [product URL]"
- "Search Amazon for 'wireless headphones', show top 3 results"
Notes
- No API key or authentication is required.
- The server scrapes publicly available Amazon product and search pages.
- For best results, use valid Amazon product URLs and clear search queries.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Похожие серверы
Bright Data
спонсорDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
Deepwiki
Fetches content from deepwiki.com and converts it into LLM-readable markdown.
WebSearch
An advanced web search and content extraction tool powered by the Firecrawl API for web scraping and analysis.
B2Proxy
1GB Free Trial, World's Leading Proxy Service Platform, Efficient Data Collection
Oxylabs AI Studio
AI-powered tools for web scraping, crawling, and browser automation.
Document Extractor MCP Server
Extracts document content from Microsoft Learn and GitHub URLs and stores it in PocketBase for retrieval and search.
SABIS MCP Server
Access academic grades from the Sakarya University SABIS system via automated web scraping.
Oxylabs AI Studio
AI tools for web scraping, crawling, browser control, and web search via the Oxylabs AI Studio API.
Urlbox Full Page Screenshots
An MCP server for the Urlbox Screenshot API. It enables your client to take screenshots, generate PDFs, extract HTML/markdown, and more from websites.
Bilibili Comments
Fetch Bilibili video comments in bulk, including nested replies. Requires a Bilibili cookie for authentication.
Scrapezy
Extract structured data from websites using the Scrapezy API.