HasData

Shopify MCP Server

Connect your AI agents to HasData's Shopify MCP server. Scrape any store's catalogue, per-variant prices and stock flags, and collection structure in structured JSON over streamable HTTP.

https://mcp.hasdata.com/api/mcp?apis=shopify
Transport
Streamable HTTP
Auth
OAuth or API key
Tools
2 Shopify tools
Price
5 credits / call
Get API Key Read the docs 1,000 free credits. No credit card required.
Data teams at
ClientsClients
Playground

See the Shopify MCP server in action

Select a sample prompt to inspect the tool it chooses and the JSON payload your agent receives.

Shopify · 2 tools Enter to send
List the products on allbirds.com with their prices
shopify_products · 200 OK sample call
Page one of the catalogue, every variant priced.
Allbirds Slipper - Dark Grey · Shoes · $75.00 · 12 sizes
Anytime Ankle Sock - Basin Blue · Socks · $16.00 · 4 sizes
Anytime Ankle Sock - Blizzard · Socks · $16.00 · 4 sizes
All twelve slipper sizes are currently out of stock.
shopify_products { "url": "https://www.allbirds.com", "limit": 5 }
{
"url": "https://api.hasdata.com/scrape/shopify/products?url=https%3A%2F%2Fwww.allbirds.com&limit=5",
"status": 200,
"json": { "products": [
{ "id": 7204716838992, "title": "Allbirds Slipper - Dark Grey", "handle": "allbirds-slipper-dark-grey-tweed",
"vendor": "Allbirds", "product_type": "Shoes",
"variants": [
{ "id": 41268080345168, "title": "W4.5/M3", "sku": "A11582U030", "price": "75.00",
"compare_at_price": null, "available": false, "grams": 422 }
],
"options": [{ "name": "Size", "values": ["W4.5/M3", "W5.5/M4", "…"] }] }
] }
}
List the products on allbirds.com with their prices
shopify_products · 200 OK sample call
Page one of the catalogue, every variant priced.
Allbirds Slipper - Dark Grey · Shoes · $75.00 · 12 sizes
Anytime Ankle Sock - Basin Blue · Socks · $16.00 · 4 sizes
Anytime Ankle Sock - Blizzard · Socks · $16.00 · 4 sizes
All twelve slipper sizes are currently out of stock.
shopify_products { "url": "https://www.allbirds.com", "limit": 5 }
{
"url": "https://api.hasdata.com/scrape/shopify/products?url=https%3A%2F%2Fwww.allbirds.com&limit=5",
"status": 200,
"json": { "products": [
{ "id": 7204716838992, "title": "Allbirds Slipper - Dark Grey", "handle": "allbirds-slipper-dark-grey-tweed",
"vendor": "Allbirds", "product_type": "Shoes",
"variants": [
{ "id": 41268080345168, "title": "W4.5/M3", "sku": "A11582U030", "price": "75.00",
"compare_at_price": null, "available": false, "grams": 422 }
],
"options": [{ "name": "Size", "values": ["W4.5/M3", "W5.5/M4", "…"] }] }
] }
}
What collections does allbirds.com have, and how big are they?
shopify_collections · 200 OK sample call
Twenty collections on page one, with a product count for each.
All Products · 4,143
All Shoes - Men's and Women's · 3,056
All Apparel - Excluding Face Masks · 529
30% Off Tree Runner Go & Tree Gliders · 107
Found 20 collections. Note that some promotional categories currently show 0 products.
shopify_collections { "url": "https://www.allbirds.com" }
{
"url": "https://api.hasdata.com/scrape/shopify/collections?url=https%3A%2F%2Fwww.allbirds.com",
"status": 200,
"json": { "collections": [
{ "id": 270995030096, "title": "30% Off Tree Runner Go & Tree Gliders",
"handle": "30-off-tree-runner-go-tree-gliders", "products_count": 107,
"published_at": "2024-09-07T20:37:09-07:00", "updated_at": "2026-09-02T04:02:20-07:00" },
{ "title": "All Products", "handle": "all-products-1", "products_count": 4143 },
{ "title": "$109 Tree Dashers for Outlet Discount Code", "products_count": 0 }
] }
}
Show me what's in the Tree Runner Go & Tree Gliders sale collection on allbirds.com
shopify_products · 200 OK sample call
Men's Tree Gliders, $140.00 in every colour, thirteen sizes each.
Men's Tree Glider - Blizzard (Blizzard Sole)
Men's Tree Glider - Deep Navy (Blizzard Sole)
Men's Tree Glider - Medium Grey (Light Grey Sole)
Original prices are not crossed out on the product cards, so the 30% discount is likely applied at checkout.
shopify_products { "url": "https://www.allbirds.com", "collection": "30-off-tree-runner-go-tree-gliders", "limit": 5 }
{
"url": "https://api.hasdata.com/scrape/shopify/products?url=https%3A%2F%2Fwww.allbirds.com&collection=30-off-tree-runner-go-tree-gliders&limit=5",
"status": 200,
"json": { "products": [
{ "id": 7082683039824, "title": "Men's Tree Glider - Blizzard (Blizzard Sole)",
"handle": "mens-tree-gliders-blizzard", "product_type": "Shoes",
"tags": ["allbirds::carbon-score => 4.19", "…"],
"variants": [{ "title": "8", "sku": "A11072M080", "price": "140.00", "compare_at_price": null, "available": false }] }
] }
}
Give me page two of the allbirds.com catalogue
shopify_products · 200 OK sample call
Socks, five more colours.
Anytime Ankle Sock - Blizzard/Sienna Blush · $16.00
Anytime Ankle Sock - Blizzard/Thunder Green · $16.00
Anytime Ankle Sock - Calm Teal · $16.00
shopify_products { "url": "https://www.allbirds.com", "limit": 5, "page": 2 }
{
"url": "https://api.hasdata.com/scrape/shopify/products?url=https%3A%2F%2Fwww.allbirds.com&limit=5&page=2",
"status": 200,
"json": { "products": [
{ "id": 7194715291728, "title": "Anytime Ankle Sock - Blizzard/Sienna Blush",
"product_type": "Socks", "variants": [{ "title": "S (W5-7)", "price": "16.00", "available": false }] },
{ "id": 7194715521104, "title": "Anytime Ankle Sock - Blizzard/Thunder Green", "product_type": "Socks" }
] }
}
Tools

The Shopify tools your agent can call

2 tools

Typed parameters, required flags, and structured JSON fields for each tool. Give it a storefront URL and it lists the products with every variant's price, SKU and availability, or maps the collections so you can walk the catalogue one collection at a time.

+ hasdata_shopify_products_getProducts Catalogue with variants and prices 4 params 5 creditsTry
Parameters of hasdata_shopify_products_getProducts
ParameterTypeRequiredExample
urlstringrequired"https://www.allbirds.com"
collectionstringoptional"womens-accessories"
limitnumberoptional50
pagenumberoptional2
response
  • products
  • title
  • handle
  • vendor
  • product_type
  • tags
  • variants
  • price
  • compare_at_price
  • available
  • options
+ hasdata_shopify_collections_getCollections Every collection with its product count 3 params 5 creditsTry
Parameters of hasdata_shopify_collections_getCollections
ParameterTypeRequiredExample
urlstringrequired"https://www.allbirds.com"
limitnumberoptional50
pagenumberoptional2
response
  • collections
  • title
  • handle
  • description
  • products_count
  • published_at
  • updated_at

Base calls cost 5 credits. Failed calls are not billed.

Connect

One endpoint, any MCP client

A config block for every major MCP client, in its native format. Authenticate with browser OAuth or an x-api-key header.

Claude Code

zsh — hasdata-shopify
$claude mcp add --transport http hasdata-shopify \
> https://mcp.hasdata.com/api/mcp?apis=shopify \
> --header "x-api-key: YOUR_API_KEY"
· One line, no restart. Run /mcp to confirm 2 tools.
Check the tools are thereIn the session
/mcp
hasdata-shopify · connected · 2 tools

Cursor

~/.cursor/mcp.json
{
"mcpServers": { "hasdata-shopify": {
"url": "https://mcp.hasdata.com/api/mcp?apis=shopify",
"headers": { "x-api-key": "YOUR_API_KEY" }
} }
}
· Add this entry to ~/.cursor/mcp.json. Servers already in the file stay as they are.
· Project-level config also works at .cursor/mcp.json
Check the tools are thereAfter saving the file
Settings → MCP
hasdata-shopify · 2 tools enabled

Claude Desktop

Recommended · OAuth connector
1.Settings → Connectors → Add custom connector
2.Paste https://mcp.hasdata.com/api/mcp?apis=shopify
3.Sign in with HasData
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": { "hasdata-shopify": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.hasdata.com/api/mcp?apis=shopify",
"--header", "x-api-key:YOUR_API_KEY"]
} }
}
· Add this entry to ~/Library/Application Support/Claude/claude_desktop_config.json. Servers already in the file stay as they are.
· The config file only takes stdio servers, so a static key rides the mcp-remote bridge. On Windows the file lives at %APPDATA%\Claude\claude_desktop_config.json.
Check the tools are thereReopen the app
Settings → Connectors
hasdata-shopify · connected · 2 tools

VS Code / Copilot

.vscode/mcp.json
{
"servers": { "hasdata-shopify": {
"type": "http",
"url": "https://mcp.hasdata.com/api/mcp?apis=shopify",
"headers": { "x-api-key": "YOUR_API_KEY" }
} }
}
· Add this entry to .vscode/mcp.json. Servers already in the file stay as they are.
· Agent mode picks the server up on save.
Check the tools are thereAgent mode
Ctrl/⌘ + Shift + P → MCP: List Servers
hasdata-shopify · running · 2 tools

Windsurf

~/.codeium/windsurf/mcp_config.json
{
"mcpServers": { "hasdata-shopify": {
"serverUrl": "https://mcp.hasdata.com/api/mcp?apis=shopify",
"headers": { "x-api-key": "YOUR_API_KEY" }
} }
}
· Add this entry to ~/.codeium/windsurf/mcp_config.json. Servers already in the file stay as they are.
· Windsurf reads serverUrl, not url. Header auth only.
Check the tools are thereIn Cascade
Cascade → MCP servers
hasdata-shopify · 2 tools

Cline

cline_mcp_settings.json
{
"mcpServers": { "hasdata-shopify": {
"type": "streamableHttp",
"url": "https://mcp.hasdata.com/api/mcp?apis=shopify",
"headers": { "x-api-key": "YOUR_API_KEY" }
} }
}
· Add this entry to cline_mcp_settings.json. Servers already in the file stay as they are.
· Header auth only. The type field tells Cline this is a remote server, not a command.
Check the tools are thereIn the MCP panel
MCP Servers → Installed
hasdata-shopify · 2 tools

ChatGPT / Agents SDK

Recommended · OAuth connector
1.Settings → Security and login → Developer mode
2.Plugins → + → developer-mode app, paste https://mcp.hasdata.com/api/mcp?apis=shopify
3.Sign in with HasData
agent.py
from agents import Agent, HostedMCPTool
tool = HostedMCPTool(tool_config={
"type": "mcp",
"server_label": "hasdata-shopify",
"server_url": "https://mcp.hasdata.com/api/mcp?apis=shopify",
"authorization": "YOUR_API_KEY",
"require_approval": "never",
})
agent = Agent(name="Researcher", tools=[tool])
· The Agents SDK sends authorization as a Bearer token, which the endpoint accepts. The ChatGPT route needs no key: it signs in with OAuth.
Check the tools are thereRun the agent
Runner.run(agent, "…")
hasdata-shopify · 2 tools listed

Codex CLI

~/.codex/config.toml
[mcp_servers.hasdata-shopify]
url = "https://mcp.hasdata.com/api/mcp?apis=shopify"
env_http_headers = { "x-api-key" = "HASDATA_API_KEY" }
· Add this entry to ~/.codex/config.toml. Servers already in the file stay as they are.
· TOML, not JSON. Codex reads the key from the HASDATA_API_KEY environment variable, so export it in the shell that starts Codex.
Check the tools are thereIn the terminal
codex mcp list
hasdata-shopify · 2 tools

Gemini CLI

~/.gemini/settings.json
{
"mcpServers": { "hasdata-shopify": {
"httpUrl": "https://mcp.hasdata.com/api/mcp?apis=shopify",
"headers": { "x-api-key": "YOUR_API_KEY" }
} }
}
· Add this entry to ~/.gemini/settings.json. Servers already in the file stay as they are.
· httpUrl, not url: Gemini keeps url for SSE servers. Header auth only.
Check the tools are thereIn the session
/mcp
hasdata-shopify · 2 tools

Raw HTTP / curl

zsh — hasdata-shopify
$curl -N https://mcp.hasdata.com/api/mcp?apis=shopify \
> -H "x-api-key: YOUR_API_KEY" \
> -H "Content-Type: application/json" \
> -H "Accept: application/json, text/event-stream" \
> -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
· Fallback for any client not listed. Streamable HTTP wants both Accept types, and leaving one out returns 406.
Check the tools are thereCall it yourself
curl … tools/list
{ "tools": [ … 2 items ] }
Scope

Shopify plus whatever else you need

Name the services in the query string and the server exposes only their tools. Every one draws from the same key and the same balance.

Shopify 2 tools See the full MCP server →
https://mcp.hasdata.com/api/mcp?apis=shopify,amazon,web_scraping
7tools in your server
Build vs Buy

Free on GitHub, paid in hours

Anyone can clone a free MCP to scrape a Shopify store. Whether that stays free depends on the shape of your project.

Scenario

A script I run once

Self-hosted from GitHubyour machine, your upkeep
$0/ mo, runs locally
+ 3–6 h onceof someone’s time
Setup (clone, wire, run)3–6 h once
Markup changesnot yet
Retries and concurrencynot needed
Proxy and hosting$0
Nothing to own. You get the answer and delete the folder.
mcp.hasdata.comFree tier
$0/ mo
+ 0 hof someone’s time
Setup one line
Parser upkeep included
Retries and concurrency included
~50 calls 250 of 1,000 credits
The free tier renews every month. No card.
leans self-hosted
Take the free repo
Nothing has to keep working tomorrow, so upkeep never appears. Both cost nothing, so take whichever is already in front of you.

A weekly report

Self-hosted from GitHubyour machine, your upkeep
$0–40/ mo
+ 2–4 h / moof someone’s time
Setup (proxy, hosting, wiring)3–6 h once
Markup changes2–4 h / mo
Retries and concurrency2–4 h once
Proxy and hosting$0–40 / mo
Someone looks at it when the numbers come back wrong, which is how you find out.
mcp.hasdata.comFree tier
$0/ mo
+ 0 hof someone’s time
Setup one line
Parser upkeep included
Retries and concurrency included
~200 calls a month 1,000 of 1,000 credits
Exactly the free tier, so a heavier month moves you to Startup.
dead even
Either works
The repo is free if you have somewhere to run it, ours is free up to the credit ceiling. The two to four hours a month decide it.

A pipeline in production

Self-hosted from GitHubyour machine, your upkeep
$40–120/ mo
+ 6–10 h / moof someone’s time
Setup (proxy, hosting, wiring)3–6 h once
Markup changes2–4 h / mo
Retries, concurrency, rate limits4–8 h once
Proxy and hosting$40–120 / mo
Someone owns this permanently, and it is never the top of their list.
mcp.hasdata.comStartup, 200K credits, 5 concurrent
$49/ mo
+ 0 hof someone’s time
Setup one line
Parser upkeep included
Retries and concurrency included
10,000 calls 50K of 200K credits
A quarter of the plan used, and the rest is headroom.
leans hosted
Use the hosted server
The proxy and hosting bill alone is in the range of the whole plan, and that is before anyone spends the six to ten hours.

A feature in my product

Self-hosted from GitHubyour machine, your upkeep
$300+/ mo
+ on-callof someone’s time
Setup (proxy, hosting, wiring)3–6 h once
Markup changes, plus on-call2–4 h / mo
Retries, concurrency, rate limitsongoing
Proxy and hosting$300+ / mo
The thing your customers touch depends on one volunteer's spare evening.
mcp.hasdata.comBasic, 1M credits, 15 concurrent
$99/ mo
+ 0 hof someone’s time
Setup one line
Parser upkeep included
Retries and concurrency included
100,000 calls 500K of 1M credits
Same endpoint at ten calls and at ten million. One invoice.
leans hosted
Use the hosted server
A third of the price, and nobody has to carry a pager for a dependency your customers touch.
Pricing

One balance, every interface

A flat monthly price against a known credit ceiling. Move up a plan when you outgrow it.

Free
$0 /mo
Free forever
200 tool calls / month
1,000 credits / month
1 concurrent request
Every MCP tool on every plan
Failed calls are not billed
One balance across MCP and REST
Community support
Start free
Startup
$49 /mo
$1.23 / 1k tool calls
40K tool calls / month
200K credits / month
5 concurrent requests
Every MCP tool on every plan
Failed calls are not billed
One balance across MCP and REST
Email support
Get started
Basic
Recommended
$99 /mo
$0.50 / 1k tool calls
200K tool calls / month
1M credits / month
15 concurrent requests
Every MCP tool on every plan
Failed calls are not billed
One balance across MCP and REST
Priority email support
Get started
Growth
$208 /mo
$0.35 / 1k tool calls
3M credits / month
50 concurrent requests
Every MCP tool on every plan
Failed calls are not billed
One balance across MCP and REST
Dedicated account manager
Get started
Monthly tool call volume
Free 200K 1M 4M
Best fit
Basic
tool calls / mo
200K
Concurrency
15
$ / 1k tool calls
$0.50
$99 /mo
Get Started
Enterprise
Custom price based on required volume

Past 20M credits a month, or terms the self-serve plans do not cover. We shape the contract around your workload.

Credits rollover
Unused credits carry into the next billing period.
Concurrency 2000+
Parallel request limits set to your peak load.
#1 request priority
Highest speed, always first in the queue.
Personal manager
A direct line to the founding team.
SSO
SAML single sign-on for the whole team.
SOC-2 compliance
Security review, DPA, and audit reports.
Talk to sales Quote within one business day
FAQ

Before you wire it in

Do I need the store's API key or a Storefront token?

No. The tools read the catalogue a shopper's browser sees, so the only credential is your HasData key. Nothing has to be installed in the store and the owner is not involved.

Does it work on any Shopify store?

Any storefront that serves its public catalogue, custom domains included. Pass the address shoppers use, such as www.allbirds.com, not the myshopify.com one. A store that has switched off its public product feed returns an empty list.

Are prices and stock per variant?

Yes. Every variant carries price, compare_at_price, sku, available and grams, so a size that has sold out is visible while its siblings are not.

Which currency are the prices in?

The store's own, as the storefront serves it. Prices are strings with two decimals and no symbol, so a US store returns 75.00 and a UK store 65.00. Nothing is converted.

How do I scrape one collection?

Call the collections tool for the list, take the handle of the one you want, and pass it as collection to the products tool. The count on each collection tells you how many pages to expect.

How do I page through a big catalogue?

limit sets the page size and page the page number, on each tool. The order is stable between calls, so walking page by page does not skip or repeat products.

How fresh is the data? Is anything cached?

Every tool call fetches the store at that moment, so a price change or a sell-out from an hour ago is already reflected. Nothing is served from a cache.

How many calls can run in parallel?

One on the free tier, five on Startup, fifteen on Basic, and fifty on Growth. The larger Growth volumes raise it to 200, 300 and 500.

What happens when I run out of credits?

Nothing is charged on top of the plan. Calls stop until the billing cycle renews.

Does it work with Claude Desktop, Cursor, VS Code and Claude Code?

Yes, all four, plus anything else that speaks MCP over streamable HTTP. Claude Desktop connects through OAuth, and the rest take the URL and an API key header.

Is HasData affiliated with Shopify?

No. HasData is an independent service and is not affiliated with, endorsed by, or sponsored by Shopify Inc. Shopify is a trademark of its respective owner.