Skip to main content
MCP server CX Codex

HasData Shopify — Claude Code MCP server: what it does, how to install

HasData Shopify is an MCP server for Claude Code that reads products and collections from any public Shopify storefront and returns them as JSON for agents.

MIT ★ 5 updated 2026-10-12

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add shopify -e HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/shopify-mcp
Open on GitHub

What HasData Shopify does

The tools are read-only and there are two of them. hasdata_shopify_collections_getCollections hands back collections with id, title, handle, description and image. hasdata_shopify_products_getProducts returns products with vendor, type, tags, images, plus variants carrying prices, SKUs and stock status. Paging runs on limit and page; limit tops out at 250.

It is hosted at https://mcp.hasdata.com/mcp?apis=shopify and authenticates with an x-api-key header set to your HasData API key. A client that speaks only stdio goes through a launcher, @hasdata/shopify-mcp on npm or hasdata-shopify-mcp on PyPI. Successful calls cost 10 credits each, and the free tier hands out 1,000 credits a month with no card.

What gets read is the signed-out view of a classic Shopify storefront. Point a request at a headless store's own domain and the answer is empty; use its myshopify.com address instead.

What it helps with

  • pull another shop's Shopify catalogue into JSON
  • compare what two storefronts charge for the same item
  • spot variants that show zero stock
  • walk a collection page by page and collect every product
  • filter discounted items against compare_at_price

Example prompts for the agent

  • Show me the collections on allbirds.com, largest one first.
  • Grab the first 250 products from allbirds.com and group them by product_type.
  • Which variants are sold out right now in that store?

How to install HasData Shopify

1Platform CLI

claude mcp add shopify -e HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/shopify-mcp

Replace <…> with your own values

2Platform CLI: remote server

claude mcp add --transport http hasdata-shopify 'https://mcp.hasdata.com/mcp?apis=shopify'

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about HasData Shopify

How do I install HasData Shopify in Claude Code?

Grab a HasData API key from the dashboard, then run claude mcp add shopify -e HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/shopify-mcp. That pulls the npm launcher and runs it over stdio.

What does HasData Shopify do?

Exposes two read-only tools for the products and collections of a public Shopify storefront. Every result comes back as structured JSON, with no app installed in the shop.

Do I need a merchant token or an app install?

Neither. It reads the catalogue any logged-out visitor can browse, and only from a classic Shopify storefront. A headless shop has to be requested through its myshopify.com domain.

Similar MCP servers

All MCP servers for Browser and scraping →

Project sponsors

Companies that keep this analytics open