Skip to main content
Glama
Amazon Review Research MCP
by openanysi
README.md
# Amazon Review Research MCP

Research Amazon products and customer feedback with focused data tools and on-demand task guides. Powered by [OpenAny](https://openany.si/).

[![npm version](https://img.shields.io/npm/v/@openanysi/amazon-review-research-mcp.svg)](https://www.npmjs.com/package/@openanysi/amazon-review-research-mcp)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
[![Node.js](https://img.shields.io/badge/node-%3E%3D22-brightgreen.svg)](https://nodejs.org/)

## Quick Start

### Prerequisites

- Node.js 22 or later.
- An MCP client that supports local stdio commands (e.g., Claude Desktop, Cursor, Windsurf, or Claude Code).
- An OpenAny API key for data requests. Create one in [API Keys](https://openany.si/dashboard/?page=api-keys), follow the [setup guide](https://openany.si/setup.md), and review [usage and costs](https://openany.si/dashboard/?page=usage).

### Configure your client

This example uses the `mcpServers` format. Save it in your client's private settings and replace the placeholder there.

```json
{
  "mcpServers": {
    "amazon-review-research-mcp": {
      "command": "npx",
      "args": ["-y", "@openanysi/amazon-review-research-mcp"],
      "env": {
        "OPENANY_API_KEY": "YOUR_OPENANY_API_KEY"
      }
    }
  }
}
```

A client secret manager or inherited environment can also supply the key. For utility-only use, omit `env`. Keep real keys out of prompts and repositories.

Restart or refresh your client, then choose a first prompt:

- **Without an API key:** “Inspect `get_reviews` parameters and pricing with `get_tool_info`, then load `review_research` with `get_workflow` and `language: "en"`.”
- **With an API key:** “For the Amazon product URL I provide, inspect the relevant tools and prices, agree on a small US review sample within my budget, then organize purchase concerns with supporting evidence.”

## Features / Use Cases

| Task | What the MCP provides | What your agent can deliver |
| --- | --- | --- |
| Understand a known product | Product details and a selected review sample | Feedback themes with available product and variant context |
| Compare known competitors | Separate samples for supplied products | A comparison matrix with consistent sampling rules |
| Investigate improvements | Ordinary or top-review evidence and a research guide | Improvement hypotheses, uncertainties and validation questions |

Your agent chooses the calls, interprets returned data, writes the brief and exports local Markdown or CSV when it has file tools.

## Example Prompts

- “Use the ASIN and marketplace I supply to research customer feedback. Separate observed complaints from your interpretation.”
- “Compare reviews of these known products with the same storefront and sampling method. Show the actual sample counts and missing information.”
- “Using only the review excerpts I have supplied, draft product-improvement hypotheses without making a new data request.”

## Tools

The server exposes **6 tools**: three data tools and three free utility tools. Each data tool maps to one request.

### Data tools

| Tool | Inputs | Purpose |
| --- | --- | --- |
| `get_product` | Required `url`; optional `max_cost_usd` | Read available product details from a supported HTTPS product URL |
| `get_reviews` | Required `product`, `region`; optional `sort`, `ratings`, `limit`, `keyword`, `start_date`, `end_date`, `verified_only`, `max_cost_usd` | Read one ordinary review sample using the supported filters |
| `get_top_reviews` | Required `asin`, `country` | Read a platform-selected top-review sample |

Use uppercase, ten-character ASINs. Supported HTTPS product URLs contain the ASIN after `/dp/`, `/gp/product/` or `/product-reviews/`; search pages and short links are not accepted.

For ordinary reviews, `region` is a storefront hostname such as `amazon.com` or `amazon.co.uk` and must match a supplied product URL. For top reviews, `country` is a country code such as `US`, `GB` or `JP`. Coverage differs by tool; inspect its current information.

Ordinary review options: `sort` is `helpful` or `recent`; `ratings` is an array of strings from `"1"` to `"5"`; `limit` is 1–50 (the service documents 50 when omitted). Date boundaries use inclusive YYYY-MM-DD dates. Check real calendar dates and start/end order before calling. `verified_only` is a boolean.

Neither review tool exposes pagination. Top reviews have no rating, date, sort or count controls. A service's actual coverage and filtering must be checked against its returned data.

### Utility tools — no API key required

| Tool | Inputs | Purpose |
| --- | --- | --- |
| `get_tool_info` | Required `tool_name` | Inspect inputs, current pricing and known limits before requesting data |
| `get_workflow` | Required `workflow`; optional `language` | Load a research guide and output templates |
| `search_openany_capabilities` | Required `query`; optional `limit` | Find related OpenAny capabilities without executing them |

Guide language defaults to `zh`; pass `language: "en"` for English. Capability search accepts a 1–256-character query and a limit of 1–10, default 5.

## Workflow Guides

| Guide ID | Use it for |
| --- | --- |
| `review_research` | Research feedback on one known product |
| `competitor_review_comparison` | Compare samples from known competitor products |
| `product_improvement_brief` | Turn observed feedback into testable improvement hypotheses |

Guides are available in English and Chinese. They return instructions for your agent; loading one does not start a research job or call a model.

## Example Workflow

1. Supply a product identifier or URL, storefront, question and request budget.
2. Load `review_research` in your preferred language and inspect the needed tools.
3. Choose an ordinary filtered sample or a top-review sample, then request only the agreed data.
4. Check product identity, actual counts, dates and variant context; retain available source references.
5. Ask your agent to summarize evidence and uncertainties, then save a local brief if needed.

## Limitations & Billing

- **Scope:** This package researches known products. It does not search for products, post reviews or run background monitoring. Your agent performs analysis and export.
- **Sampling:** Top reviews are not all negative reviews or a random sample. Selected samples cannot establish defect rates, return rates or sales; missing data stays unknown.
- **Pricing:** Data calls use current OpenAny prices and charge conditions. Inspect `get_tool_info` first; empty results may still be chargeable. Where supported, `max_cost_usd` is a decimal string for one request, not a total workflow budget. Analysis and writing use your client's model.
- **Request recovery:** If an outcome is unclear, keep the request ID and check the original request before deciding on another call. Do not automatically retry or switch tools.
- **Privacy:** The server runs locally; catalog queries and data-tool inputs are sent to OpenAny.
- **More capabilities:** Use capability search or connect the [OpenAny MCP](https://mcp.openany.si/) with the [setup guide](https://openany.si/setup.md).

## FAQ

### Which MCP clients are supported?

Any MCP client that supports local `stdio` servers, including Claude Desktop, Cursor, Windsurf, and Claude Code.

### What inputs do I need to research an Amazon product or its reviews?

Supply an uppercase 10-character ASIN or a supported HTTPS Amazon product URL, plus the storefront `region` (such as `amazon.com`) for ordinary reviews or `country` code (such as `US`) for top reviews.

### Can I filter Amazon reviews by rating, date, keyword, or verified purchase?

Yes. `get_reviews` supports optional `sort`, `ratings`, `limit`, `keyword`, `start_date`, `end_date`, `verified_only`, and `max_cost_usd`.

### Can I try it without an API key or export Voice of Customer findings?

Yes. Omit `env` to inspect live pricing via `get_tool_info` and load bilingual VoC guides via `get_workflow`. Your MCP client can export collected findings to Markdown or CSV when file tools are available.

## Development

```sh
npm ci --ignore-scripts
npm test
npm run check
```

See [CONTRIBUTING.md](CONTRIBUTING.md) for runtime maintenance, packaging and release checks.

## About OpenAny

[OpenAny](https://openany.si/) provides APIs and models for agents and developers. This package focuses on Amazon product and review research with task-specific data tools and guides.

## License

[Apache-2.0](LICENSE).