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:\MyProject\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服务器

{ "mcpServers": { "MCP4Amazon": { "type": "stdio", "command": "uv", "args": [ "--directory", "E:\\MyProject\\MCP4Amazon", "run", "mcp4amazon.py" ] } } }

添加服务器 -> 从json导入 -> 复制粘贴上述文本
args中第二行替换为你实际的项目路径
最后保存即可

4.2 配置大模型api或Ollama

具体操作看Cherry Sutio的教程

5 效果

描述

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

local-only server

The server can only run on the client's local machine because it depends on local resources.

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

          • -
            security
            A
            license
            -
            quality
            An MCP server that enables large language models to interact directly with MongoDB databases, allowing them to query collections, inspect schemas, and manage data through natural language.
            Last updated -
            340
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol (MCP) compliant server that allows Large Language Models (LLMs) to search and retrieve content from microCMS APIs.
            Last updated -
            TypeScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            An MCP server that fetches real-time documentation for popular libraries like Langchain, Llama-Index, MCP, and OpenAI, allowing LLMs to access updated library information beyond their knowledge cut-off dates.
            Last updated -
            Python
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that exposes over 200+ APIs from API.market as MCP resources, allowing large language models to discover and interact with various APIs through natural language commands.
            Last updated -
            111
            2
            TypeScript
            MIT License
            • Apple

          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