Skip to main content
Glama
README.md
# dtclens-mcp — Shopify DTC Intelligence & Meta Ad Library MCP Server

Zero-dependency Model Context Protocol (MCP) server connecting AI agents (Claude Desktop, Cursor, Windsurf, VS Code, Antigravity) to live e-commerce competitive intelligence:

- **[ShopLens (`https://dtclens.com`)](https://dtclens.com)**: Live Shopify theme detection, installed app & ad pixel fingerprinting, catalog stockout & markdown audits, and 2026 DTC benchmark aggregations.
- **[AdPulse (`https://adpulse.dtclens.com`)](https://adpulse.dtclens.com)**: Curated high-scoring Facebook & Meta Ad Library DTC winning creatives, 0–3s hook breakdowns, and public swipe boards.

---

## Quick Start (`stdio` via `npx`, Zero Install Required)

Add this to your `claude_desktop_config.json`, `.cursor/mcp.json`, or `mcp_config.json`:

```json
{
  "mcpServers": {
    "dtclens": {
      "command": "npx",
      "args": ["-y", "github:YungeG/dtclens-mcp"]
    }
  }
}
```

### Direct Streamable HTTP Endpoints (No Local Node Process Needed)

If your MCP client supports remote Streamable HTTP directly:

- **Shopify Storefront & Benchmark MCP**: `https://dtclens.com/mcp`
- **Meta Ad Library & Swipe Board MCP**: `https://adpulse.dtclens.com/mcp`

---

## Included Tools (6 Tools)

### Shopify Intelligence (`dtclens.com`)
| Tool | Purpose | Parameters |
| :--- | :--- | :--- |
| `inspect_shopify_store` | Detect active Shopify theme, installed apps, ad pixels, price band, and best-sellers for any public Shopify store. | `domain` (required, e.g. `gymshark.com`) |
| `audit_shopify_stockouts` | Check catalog out-of-stock hero SKUs, availability rate, and compare-at markdown rates. | `domain` (required, e.g. `loopearplugs.com`) |
| `get_shopify_dtc_benchmarks` | Live theme market share, top app/pixel adoption rates, and median DTC pricing across indexed stores. | `category` (optional) |
| `search_dtc_brands_by_tech` | Search verified DTC stores by app/pixel ID (e.g. `klaviyo`, `recharge`, `meta-pixel`), category, or keyword. | `tech`, `category`, `q`, `limit` |

### Meta Ad Creative Intelligence (`adpulse.dtclens.com`)
| Tool | Purpose | Parameters |
| :--- | :--- | :--- |
| `search_winning_meta_ads` | Search curated Meta Ad Library creatives by copy/brand keyword, format, and minimum Winner Score. | `query`, `format`, `minScore`, `limit` |
| `list_public_swipe_boards` | List public DTC ad swipe boards and one-click ZIP creative pack URLs. | — |

---

## Example Prompts

- *"Inspect `ridge.com` with `inspect_shopify_store` and check its out-of-stock rate with `audit_shopify_stockouts`."*
- *"Find top Skincare Shopify stores using both Klaviyo and Meta Pixel via `search_dtc_brands_by_tech`."*
- *"Search active winning video ads for skincare hooks with `search_winning_meta_ads` (`minScore: 60`)."*

---

## Companion Open-Source Resources & Chrome Extensions

- **ShopLens Chrome Extension**: [Chrome Web Store](https://chromewebstore.google.com/detail/gilbidopchlleliopglkmbhpdefcefng) · [Free Shopify Tools](https://dtclens.com/tools/shopify-theme-detector)
- **AdPulse Chrome Extension**: [Chrome Web Store](https://chromewebstore.google.com/detail/bihldgkonnkekgpmlpijoabgblodfach) · [Discover Winning Ads](https://adpulse.dtclens.com/discover)
- **Weekly Automated Benchmark Dataset**: [`YungeG/shopify-dtc-tech-stack-2026`](https://github.com/YungeG/shopify-dtc-tech-stack-2026)

---

## License

MIT