Skip to main content
Glama

MCP4Amazon

by Jeremy-33456

1 项目介绍

本项目主要给亚马逊运营使用,可以让大模型直接读取亚马逊上的数据进行分析。
目前已有的功能:

1.1 get_product_info

获取该asin的产品信息, 包括: 产品标题, 产品描述, 所有变体信息
参数:
asin: 亚马逊asin码

1.2 get_product_review

获取该asin的评论信息, 字符总数不超过max_length
参数:
asin: 亚马逊asin码
max_length: 字符总数

2 项目环境搭建

Python安装以及git clone操作不再赘述(我这里使用的Python版本为3.11)

2.1 安装uv

打开CMD
pip install uv

2.2 创建虚拟环境

cd E:\My Project\MCP4Amazon(替换成你实际的项目路径)
uv venv
.\.venv\Scripts\activate

2.3 安装依赖

uv pip install -r requirements.txt

3 配置谷歌浏览器

本项目使用Playwright通过9222端口操作谷歌浏览器来获取数据。
右击桌面上的谷歌浏览器快捷方式 -> 属性 -> 在目标栏中加入以下字符:
--remote-debugging-port=9222
示例:"D:\Program Files\chrome-win64\chrome.exe" --remote-debugging-port=9222
保存后双击快捷方式打开浏览器

4 使用Cherry Studio来调用

免费使用的模型中只有Claude Desktop开放了mcp的接口,但国内无法使用。
目前可行的方案就是使用Cherry Studio调用大模型api(需要付费)或Ollama来使用。

4.1 配置MCP服务器

进入Cherry Studio,来到设置 -> MCP服务器 -> 添加服务器
按以下设置:

名称类型命令超时
MCP4AmazonStdiouv600

参数:
--directory
E:\My Project\MCP4Amazon(替换成你实际的项目路径)
run
mcp4amazon.py

最后保存即可

4.2 配置大模型api或Ollama

具体操作看Cherry Sutio的教程

5 效果

描述

-
security - not tested
F
license - not found
-
quality - not tested

An MCP server that enables large language models to directly access and analyze Amazon product information, including product details, variants, and reviews.

  1. 1.1 get_product_info
    1. 1.2 get_product_review
      1. 2 项目环境搭建
        1. 2.1 安装uv
        2. 2.2 创建虚拟环境
        3. 2.3 安装依赖
      2. 3 配置谷歌浏览器
        1. 4 使用Cherry Studio来调用
          1. 4.1 配置MCP服务器
          2. 4.2 配置大模型api或Ollama
        2. 5 效果

          Related MCP Servers

          • Amazon Web Services
            aws-mcp

            A
            security
            F
            license
            A
            quality
            A Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with your AWS environment. This allows for natural language querying and management of your AWS resources during conversations. Think of better Amazon Q alternative.
            Last updated -
            3
            264
            TypeScript
            • Apple
          • -
            security
            -
            license
            -
            quality
            A server that enables communication with multiple unichat-based MCP servers simultaneously, allowing users to query different language models and combine their responses for more comprehensive results.
            Last updated -
            JavaScript
          • -
            security
            F
            license
            -
            quality
            An MCP server that connects AI assistants to SearchAgora, enabling users to search for, discover, and purchase products across the web through natural language conversations.
            Last updated -
            1
            Python
            • Apple
          • -
            security
            -
            license
            -
            quality
            Provides an MCP server that allows large language models to access real-time and historical Bitcoin market data from Binance, including current prices, order book data, recent trades, and price history through a standardized interface.
            Last updated -
            1
            JavaScript
            MIT License

          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/Jeremy-33456/MCP4Amazon'

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