Skip to main content
Glama
Amazon Product Research MCP Server

Amazon Product Research MCP Server

by ludodelot

Amazon Product Research MCP Server

Model Context Protocol(MCP) 서버로, stdio를 통해 AI 어시스턴트(예: Claude Code)에게 Amazon 제품 데이터를 검색하고 조사할 수 있는 도구를 제공합니다.

기능

  • search_products — 키워드로 제품을 검색합니다.

  • get_product — ID로 단일 제품의 전체 세부 정보를 가져옵니다.

  • 엄격한 TypeScript로 작성되었으며, Zod로 런타임 검증을 수행합니다.

  • Vitest로 단위 테스트를 수행합니다.

  • ESLint(typescript-eslint)로 린트하고 Prettier로 포맷합니다.

Related MCP server: Amazon Product Intelligence Agent

프로젝트 구조

src/
├── index.ts              # Entry point: wires the server to a stdio transport
├── server.ts              # Registers MCP tools on the McpServer instance
├── types/
│   └── product.ts         # Shared Product type
└── tools/
    ├── product-data.ts     # In-memory product catalog (mock data)
    ├── search-products.ts  # search_products tool: input schema + handler
    └── get-product.ts      # get_product tool: input schema + handler
tests/
├── search-products.test.ts
└── get-product.test.ts

요구 사항

  • Node.js 20+

  • npm

시작하기

npm install
npm run dev

이 명령은 tsx를 사용하여 stdio로 서버를 시작하며, MCP 클라이언트가 연결할 준비가 됩니다.

Claude Code에서 연결하기

claude mcp add amazon-research -- npx tsx /absolute/path/to/amazon-product-research-mcp/src/index.ts

스크립트

명령어

설명

npm run dev

TypeScript 소스에서 직접 서버를 실행합니다.

npm run build

타입 검사 및 dist/로 컴파일합니다.

npm start

dist/에서 컴파일된 서버를 실행합니다.

npm test

단위 테스트 스위트(Vitest)를 실행합니다.

npm run lint

ESLint로 코드베이스를 린트합니다.

npm run format

Prettier로 코드베이스를 포맷합니다.

npm run format:check

변경 사항을 쓰지 않고 포맷을 확인합니다.

도구 참조

search_products

키워드로 Amazon 제품을 검색합니다(제품 이름에 대해 대소문자를 구분하지 않고 일치).

입력

{ "query": "kindle" }

출력

[
  {
    "id": "kindle-paperwhite",
    "name": "Kindle Paperwhite",
    "price": 169.99,
    "currency": "USD",
    "rating": 4.7,
    "reviewCount": 12543,
    "description": "A high-resolution e-reader designed for reading comfortably indoors and outdoors."
  }
]

get_product

ID로 단일 제품의 전체 세부 정보를 가져옵니다.

입력

{ "product_id": "kindle-paperwhite" }

출력: 단일 Product 객체 또는 일치하는 제품이 없으면 null입니다.

데이터

제품 데이터는 현재 실제 Amazon API 대신 작은 인메모리 목업 카탈로그(src/tools/product-data.ts)에 있습니다. 이렇게 하면 프로젝트가 자체 포함되어 자격 증명 없이도 안전하게 실행할 수 있습니다. .env.example은 실제 API 통합에 필요한 환경 변수를 문서화합니다.

라이선스

MIT © Ludovic Delot Bravo

Available Tools

2 tools
get_productC

Get detailed information about an Amazon product.

Inputs: product_id (required).

search_productsB

Search Amazon products by keyword.

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools are clearly distinct: search_products finds products by keyword, while get_product retrieves detailed information for a specific product. No overlap or ambiguity exists between them.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern using snake_case (search_products, get_product), making the naming predictable and easily understandable.

    Tool Count3/5

    With only 2 tools, the set feels thin for a product research server. While it covers the basic search-and-detail flow, it lacks breadth seen in more comprehensive servers, but it is not extreme enough to be a 1 or 2.

    Completeness3/5

    The tool surface provides the minimum necessary for product research—searching and retrieving details—but notably lacks capabilities like browsing categories, accessing reviews, or comparing products, which are expected in a full research context.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables large language models to directly access and analyze Amazon product information, including product details, variants, and reviews.
      -
    • A
      license
      A
      quality
      B
      maintenance
      An MCP server connecting AI agents to Google, YouTube, Amazon, Walmart, TikTok, and Reddit. 21 tools for web search, product lookup, video discovery, and social media analysis.
      21
      5,283 npm
      9
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for Amazon Selling Partner API and Advertising API, enabling access to orders, inventory, pricing, ads, and reports via natural language.
      2
      MIT