# HasData Shopify

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5 repo stars
- Author: HasData
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/HasData/shopify-mcp
- Updated: 2026-10-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/hasdata-shopify

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.hasdata.com/mcp?apis=shopify`
- Environment variables: `HASDATA_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add shopify -e HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/shopify-mcp
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http hasdata-shopify 'https://mcp.hasdata.com/mcp?apis=shopify'
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add hasdata-shopify --url 'https://mcp.hasdata.com/mcp?apis=shopify'
```

2. **Platform CLI**
```bash
codex mcp add hasdata-shopify --env HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/shopify-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "hasdata-shopify": {
            "url": "https://mcp.hasdata.com/mcp?apis=shopify"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "hasdata-shopify": {
            "command": "npx",
            "args": [
                "-y",
                "@hasdata/shopify-mcp"
            ],
            "env": {
                "HASDATA_API_KEY": "<HASDATA_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "hasdata-shopify": {
            "type": "http",
            "url": "https://mcp.hasdata.com/mcp?apis=shopify"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "hasdata-shopify": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@hasdata/shopify-mcp"
            ],
            "env": {
                "HASDATA_API_KEY": "<HASDATA_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http hasdata-shopify 'https://mcp.hasdata.com/mcp?apis=shopify'
```

2. **Platform CLI**
```bash
gemini mcp add -e HASDATA_API_KEY=<HASDATA_API_KEY> hasdata-shopify npx -y @hasdata/shopify-mcp
```
Replace <…> with your own values

## When to use it
- 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
- 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?

## Similar
- [HasData](https://affpapa.org/en/nevibecode/mcp/hasdata.md) — MCP server · ★ 16 repo stars
- [HasData Walmart](https://affpapa.org/en/nevibecode/mcp/hasdata-walmart.md) — MCP server · ★ 4 repo stars
- [taobao-shop-catalog](https://affpapa.org/en/nevibecode/skills/taobao-shop-catalog.md) — skill · 1 install
- [shopify-onboarding-merchant](https://affpapa.org/en/nevibecode/skills/shopify-shopify-onboarding-merchant.md) — skill · 8200 installs
- [shopify](https://affpapa.org/en/nevibecode/skills/membrane-shopify.md) — skill · 240 installs
- [mcp-shopify](https://affpapa.org/en/nevibecode/mcp/mcp-shopify.md) — MCP server · ★ 279 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
