- Home
- MCP servers
- MCP4Amazon Server
MCP4Amazon Server
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"jeremy-33456-mcp4amazon": {
"command": "uv",
"args": [
"--directory",
"E:\\MyProject\\MCP4Amazon",
"run",
"mcp4amazon.py"
]
}
}
}This MCP server enables a large model to read and analyze data from Amazon, using the ASIN to fetch product information and reviews. It streamlines data access for Amazon operations by providing structured endpoints you can invoke from an MCP client.
How to use
You run the MCP server locally and connect to it from your MCP client to retrieve Amazon product data. You can request product details for a given ASIN, including the product title, description, and all variants, as well as reviews limited by character length. Use the available MCP endpoints to fetch the information you need and feed it into your workflows, reports, or analysis pipelines.
How to install
Prerequisites you need before installation: Python is installed on your system. You will also use uv (a convenient tool to manage virtual environments and command execution) and pip to install dependencies.
-
Install uv if you have not already:
pip install uv -
Create and activate a virtual environment for the project. Replace the path with your actual project location.
cd E:\MyProject\MCP4Amazon uv venv ..venv\Scripts\activate
- Install project dependencies listed in the requirements file.
uv pip install -r requirements.txt
- Configure a browser for data access if your setup requires Playwright control via a remote debugging port. For example, enable remote debugging on Chrome by adjusting the target in the browser shortcut to include: --remote-debugging-port=9222
Configuration and tools
You can run the MCP server locally using uv with the Python script that contains the MCP entrypoint. The following configuration snippet shows how to define the local server that uv should run.
{
"mcpServers": {
"MCP4Amazon": {
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"E:\\MyProject\\MCP4Amazon",
"run",
"mcp4amazon.py"
]
}
}
}
Notes on usage and environment
The server configuration is designed for local operation via a standard input/output (stdio) channel using the uv tool. If you need to adjust paths, replace the directory value with your actual project path. Environment variables are not required by default in this setup, but you may extend the environment section if your deployment requires additional settings.
Tools and endpoints
This MCP server exposes two primary capabilities for Amazon data extraction and analysis.
Additional setup and security
Keep your dependencies up to date and ensure the local environment is secured for handling Amazon data. Do not expose the local server to untrusted networks without appropriate authentication and access controls.
Available tools
get_product_info
Fetches product information for a given ASIN, including product title, description, and all variants.
get_product_review
Fetches reviews for a given ASIN, constrained by a specified maximum character length.