npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

shopify-analytics-mcp-server

v1.0.3

Published

MCP server for Shopify Admin GraphQL API — products, orders, customers, inventory, analytics and more

Readme

shopify-analytics-mcp

MCP server for the Shopify Admin GraphQL API. Gives Claude full access to your store — products, orders, customers, inventory, analytics, discounts, metafields, and more.

Installation

npx shopify-analytics-mcp

Claude Desktop Configuration

Add to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "shopify": {
      "command": "npx",
      "args": ["-y", "shopify-analytics-mcp"],
      "env": {
        "SHOPIFY_STORE_DOMAIN": "your-store.myshopify.com",
        "SHOPIFY_ACCESS_TOKEN": "shpat_your_access_token_here"
      }
    }
  }
}

Getting Your Shopify Credentials

  1. Log in to your Shopify admin panel
  2. Go to Settings → Apps and sales channels → Develop apps
  3. Click Create an app, give it a name
  4. Under Configuration, enable the Admin API scopes you need:
    • read_products, write_products
    • read_orders, write_orders
    • read_customers, write_customers
    • read_inventory, write_inventory
    • read_discounts
    • read_fulfillments
    • read_analytics
  5. Click Install app
  6. Copy the Admin API access token (shown only once)

Available Tools

| Tool | Description | |------|-------------| | test_connection | Test connectivity and return store info | | get_shop_info | Full shop details: name, plan, currency, timezone | | list_products | List/search products with pagination | | get_product | Single product details with variants and images | | list_orders | List orders with filters and sorting | | get_order | Single order with line items, shipping, payment | | list_customers | List/search customers | | get_customer | Customer details with order history | | list_collections | Product collections (smart + custom) | | get_inventory_levels | Inventory levels across all locations | | list_locations | All store locations | | get_sales_analytics | Revenue, order count, AOV for a date range | | list_discounts | Discount codes and price rules | | list_pages | Store pages | | list_blogs | Blogs and articles | | list_metafields | Metafields for any resource | | list_webhooks | Registered webhook subscriptions | | get_fulfillments | Fulfillment details for an order | | list_refunds | Refunds for an order | | execute_graphql | Run any custom GraphQL query |

Example Usage

Once connected, ask Claude things like:

  • "Show me all unfulfilled orders from the last 7 days"
  • "Which products are low on inventory?"
  • "What was the total revenue this month?"
  • "Find customers who spent more than $500"
  • "List all active discount codes"

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | SHOPIFY_STORE_DOMAIN | ✅ | Your store domain e.g. mystore.myshopify.com | | SHOPIFY_ACCESS_TOKEN | ✅ | Admin API access token starting with shpat_ |

License

MIT