Spiral gives your agent every tool with one account. Browse the tools →

Windsurf · E-commerce

How to Use Amazon product reviews in Windsurf

Get written reviews, stars, dates, purchase verification, and rating distribution from the public product-page sample. Use it to investigate specific praise and complaints rather than relying on rating totals alone.

Prompts to try with Amazon product reviews in Windsurf

Copy an example into Windsurf, or ask in your own words.

Use Amazon product reviews for https://www.amazon.com/dp/B09B8V1LZ3 and create a report of recurring complaints, with dates and star ratings from the returned sample.

Amazon product reviewsWindsurf
Try asking
  • Use Amazon product reviews to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Amazon product reviews and tell me what changed since last week.

  • Check Amazon product reviews and summarize what you find in three bullet points.

  • Pull the newest data from Amazon product reviews and give me the result as a table.

How to set up Amazon product reviews in Windsurf

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

    {
      "mcpServers": {
        "spiral": {
          "url": "https://api.spiral.ai/mcp"
        }
      }
    }
  2. Sign in

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Amazon product reviews

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "amazon-com/products/reviews",
        "input": {
          "asin": "<asin>"
        }
      }'

Then paste one of the prompts above: Windsurf finds Amazon product reviews on Spiral, shows the price and runs it.

Amazon product reviews providers and prices

Spiral runs Amazon product reviews through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
Amazon US · Reviews
amazon-com/products/reviews

Settings you can ask for

Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Ordertop or recenttop

top keeps Amazon's display order (most helpful first). recent sorts the returned sample by review date, newest first.

Stars1 to 5

Keep only reviews with this star rating. Applied to the page sample; Amazon's full star filter requires sign-in.

Verified onlyon or off

Keep only reviews marked Verified Purchase. Applied to the page sample.

Include internationalon or off

Include the 'Top reviews from other countries' section. Set false for United States reviews only.

Every API field of Amazon US · Reviews is on its tool page: open its card above.

What can you do with Amazon product reviews in Windsurf?

Build an Amazon.com product comparison report from public listing data. A coding agent can organize category research, product attributes, offer observations, images, and customer feedback into the project's existing data format.

Build a competitor listing audit

Use search phrases and category rankings to select competing coffee makers. Compare their listing details, specifications, galleries, featured offers, prices, rating totals, and sampled review themes in one research brief.

Prepare a buying guide

Discover headphones through search suggestions, search results, and category rankings. Check product attributes, listing images, current offers, price comparisons, rating totals, and sampled reviews before drafting recommendations with product links.

Produce a weekly category brief

Compare successive research runs for the portable speaker category. Report changes in discovered products, category positions, search suggestions, listing details, images, specifications, rating totals, and sampled review themes.

Audit a brand's listing content

Review a public product listing's gallery, details, specifications, rating totals, and sampled customer complaints. Use relevant search suggestions to identify shopping questions the listing could answer more clearly.

Follow a public product launch

Check how a new product appears in search and category lists alongside its displayed offer, comparative price, gallery, rating totals, and sampled reviews. Compare observations over time to prepare a launch report.

Plan product comparison content

Research standing desk search suggestions and category leaders to choose comparison topics. Use search results, published specifications, listing galleries, and sampled reviews to outline concrete differences and questions for further testing.

Questions about Amazon product reviews in Windsurf

Can Windsurf use Amazon product reviews?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Amazon product reviews like any built-in tool.

How much does Amazon product reviews cost in Windsurf?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

Do I need an Alexandria account to use Amazon product reviews in Windsurf?

No. Spiral runs Amazon product reviews on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Amazon product reviews in Windsurf?

About two minutes: add the server, then sign in, then check it.

Does Windsurf wait while Amazon product reviews runs?

Amazon product reviews runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

Does Amazon's sales rank measure only recent purchases?

No. Amazon includes both recent sales and all-time sales in Best Sellers Rank.

Is the displayed star rating a simple average?

No. Amazon calculates ratings with models, and newer reviews carry more weight than older ones.

Why can the rating count exceed the number of written reviews?

Amazon lets customers submit a star rating without writing a review. Those ratings contribute to the displayed totals even though there is no corresponding review text.

Does one product page represent just one seller?

No. Multiple sellers can offer the same product through one Amazon detail page, so the listing's identity and its currently featured seller are different things.

Get started

Start using Amazon product reviews in Windsurf

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Windsurf:

Set up Windsurf

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options