MCP.so
Sign In
D

DTC MCP

@rafaelsztutman

About DTC MCP

Context-optimized MCP server for DTC e-commerce brands. Connect Claude (or any MCP client) to your Klaviyo and Shopify data with 16 pre-built analytics tools.

Overview

What is DTC MCP?

DTC MCP is a context-optimized MCP server for DTC e-commerce brands that connects Claude (or any MCP client) to Klaviyo and Shopify data via 16 pre-built analytics tools. It pre-aggregates data server-side and returns only actionable fields, using roughly 80% less context than raw API wrappers. It runs on any system with Node.js and is designed for DTC merchants, marketers, and operators.

How to use DTC MCP?

Install globally with npm install -g dtc-mcp or run directly via npx dtc-mcp. For Claude Desktop, either download the .mcpb file from GitHub Releases and double-click for one-click install, or manually add the server to claude_desktop_config.json with your Klaviyo API key and optional Shopify credentials. For ChatGPT, you need an MCP-to-HTTP bridge to expose the local server remotely. Environment variables such as KLAVIYO_API_KEY, SHOPIFY_STORE, SHOPIFY_CLIENT_ID, and SHOPIFY_CLIENT_SECRET are configured in the server settings.

Key features of DTC MCP

  • 8 Klaviyo tools for campaigns, flows, and subscriber analytics
  • 7 Shopify tools for sales, products, inventory, and orders
  • 2 cross-platform tools for email revenue attribution and full DTC dashboard
  • Dual revenue metrics – gross and net on every sales query
  • Smart fallbacks between ShopifyQL and GraphQL pagination
  • Aggressive caching to respect Klaviyo’s rate limits (1 req/s on reporting)

Use cases of DTC MCP

  • Analyze top email campaigns and flows by revenue, open rate, or click rate
  • Track daily, weekly, or monthly sales trends with gross vs net revenue
  • Identify best-selling products and low-stock inventory alerts
  • Measure email marketing contribution to total Shopify revenue
  • Get a complete DTC health dashboard combining sales, email, and subscriber metrics

FAQ from DTC MCP

What data sources does DTC MCP connect to?

It connects to Klaviyo (required) and Shopify (optional). With both configured, you get 17 tools; with only Klaviyo, you get 8 Klaviyo tools and subscriber analytics.

How does DTC MCP differ from raw API wrappers?

Unlike raw API wrappers, DTC MCP pre-aggregates data server-side and returns only actionable fields, using approximately 80% less context than dumping raw API responses into conversations.

Does DTC MCP support ChatGPT?

Yes, but you need an MCP-to-HTTP bridge because DTC MCP uses stdio transport. OpenAI’s MCP documentation explains how to connect remote MCP servers.

Can I use DTC MCP with only Klaviyo (no Shopify)?

Yes. Just omit the Shopify environment variables. The 8 Klaviyo tools and subscriber health tools work standalone. Shopify tools will return a helpful “not configured” message.

What credentials do I need and what scopes are required?

Klaviyo requires a private API key with read-only scopes for campaigns, flows, lists, segments, profiles, metrics, and events. Shopify requires either a Dev Dashboard app (Client ID + Secret) with scopes read_orders, read_products, read_customers, read_inventory, or a legacy custom app with an Admin API access token.

Comments

More Desktop Chat MCP clients