Shopify MCP Server

Shopify MCP Server

This MCP server connects clients with Shopify store data, enabling retrieval of product and customer information via exposed tools.

siddhantbajaj

Ecommerce & Retail
Visit Server

README

Shopify MCP Server

A Model Context Protocol (MCP) server to connect clients like Claude with Shopify store data. This server exposes tools for retrieving product and customer information from your Shopify store.

Tools

  • get-product-list: Retrieve a list of products from your Shopify store
  • get-customer-list: Retrieve a list of customers from your Shopify store
  • More to come soon

Prerequisites

  • Python 3.12 or higher
  • A Shopify store with API access
  • Shopify API credentials (API Key, Password, and Access Token)

Installation

  1. Clone the repository:
git clone https://github.com/siddhantbajaj/shopify-mcp-server.git
cd shopify-mcp-server
  1. Create and activate a virtual environment using uv:
uv venv
source .venv/bin/activate  # On Unix/MacOS
# or
.venv\Scripts\activate  # On Windows
  1. Install the package:
uv pip install -e .

Configuration

  1. Create a .env file in the root directory with your Shopify credentials:
SHOPIFY_SHOP_URL="your-store.myshopify.com"
SHOPIFY_API_KEY="your_api_key"
SHOPIFY_PASSWORD="your_api_password"
SHOPIFY_ACCESS_TOKEN="your_access_token"

Replace the placeholder values with your actual Shopify API credentials.

Usage

  1. Start the MCP server:
python -m shopify_mcp_server.server
  1. The server exposes two tools:

get-product-list

Retrieves a list of products from your Shopify store.

  • Optional parameter: limit (default: 10) - Maximum number of products to return

get-customer-list

Retrieves a list of customers from your Shopify store.

  • Optional parameter: limit (default: 10) - Maximum number of customers to return

Tool Response Format

Products

Products (showing X):

Title: Product Name
ID: 123456789
Product Type: Type
Vendor: Vendor Name
Status: active
Price: $XX.XX
---

Customers

Customers (showing X):

Name: John Doe
ID: 123456789
Email: john@example.com
Orders Count: X
Total Spent: $XX.XX
---

Development

This project uses:

Security

  • Never commit your .env file to version control
  • Keep your Shopify API credentials secure
  • Use environment variables for sensitive information

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Recommended Servers

TripleWhale MCP Server

TripleWhale MCP Server

An implementation of Model Context Protocol (MCP) that allows users to interact with TripleWhale's e-commerce analytics platform using natural language queries through Claude Desktop.

Official
Local
TypeScript
actors-mcp-server

actors-mcp-server

Use 3,000+ pre-built cloud tools from Apify, known as Actors, to extract data from websites, e-commerce, social media, search engines, maps, and more

Official
TypeScript
BigGo MCP Server

BigGo MCP Server

A Model Context Protocol server enabling product searches across e-commerce platforms, price history tracking, and product specification-based searches using natural language prompts.

Official
Python
Bitrefill Search and Shop

Bitrefill Search and Shop

This MCP wraps Bitrefill public API to allow agents to search for products and shop using cryptocurrencies like Bitcoin, Ethereum, Solana, and many more.

Official
TypeScript
Uber Eats MCP Server

Uber Eats MCP Server

A proof-of-concept server implementing the Model Context Protocol that enables LLM applications to interact with Uber Eats functionality.

Local
Python
MCP Server for Ticketmaster Events

MCP Server for Ticketmaster Events

Provides tools for discovering events at Madison Square Garden via the Ticketmaster API, returning structured data with event details like name, date, price, and ticket purchase links.

TypeScript
Webflow MCP Server

Webflow MCP Server

Enables Claude to interact with Webflow's APIs for managing sites, retrieving information, and executing tasks using natural language.

TypeScript
Rami Levy MCP Server

Rami Levy MCP Server

Enables interaction with the Rami Levy Online Grocery Store API, allowing users to perform product searches, add or remove items from their cart, and prepare for checkout, all while integrating with MCP-enabled LLMs.

TypeScript
WooCommerce MCP Server

WooCommerce MCP Server

WooCommerce MCP Server enables interaction with WooCommerce stores through the WordPress REST API. It provides comprehensive tools for managing all aspects of products, orders, customers, shipping, taxes, discounts, and store configuration using JSON-RPC 2.0 protocol.

JavaScript
MercadoLibre MCP Server

MercadoLibre MCP Server

Enables interaction with MercadoLibre's API for product search, reviews, descriptions, and seller reputation insights.

TypeScript