Shopify용 Analytics MCP
스토어 운영 MCP 서버는 제품과 주문을 관리할 수 있게 해줍니다. Analytics MCP 서버는 한 단계 더 나아갑니다 -- 매출 보고서, 트래픽 데이터, 마케팅 성과, 크로스 플랫폼 비즈니스 인텔리전스에 대한 접근을 제공합니다. Shopify Analytics, Google Analytics, 광고 플랫폼 대시보드를 번갈아 볼 필요 없이, MCP를 통해 모든 데이터를 대화형으로 쿼리할 수 있습니다.
분석 MCP 현황
Shopify 판매자와 개발자에게 관련된 분석 기능을 제공하는 여러 MCP 서버가 있습니다:
| 서버 | 초점 | 데이터 소스 | 전송 방식 |
|---|---|---|---|
| Adzviser MCP | 마케팅 & 매출 분석 | Shopify, Google Ads, Meta Ads, GA4 | stdio |
| CData Code Assist | 데이터베이스 스타일 쿼리 | Shopify + 200개 커넥터 | stdio |
| Composio Tool Router | 멀티 플랫폼 오케스트레이션 | Shopify + 100개 이상 연동 | stdio/HTTP |
| Custom MCP | 맞춤 요구 사항 | 직접 구축 | 모두 |
Adzviser MCP for Shopify Analytics
Adzviser는 Shopify 분석을 마케팅 플랫폼과 함께 연결하는 MCP 서버를 제공하며, 자연어 쿼리를 통해 스토어 성과에 대한 통합 뷰를 제공합니다.
Adzviser 제공 기능
- 매출 분석: 기간별 매출, 주문 수, AOV, 전환율
- 제품 성과: 베스트셀러, 저조한 제품, 제품/컬렉션별 매출
- 마케팅 기여 분석: Google Ads, Meta Ads, TikTok Ads에 걸친 광고비 대 매출
- 고객 분석: 신규 vs 재방문, LTV 추정, 지역별 분포
- 트래픽 분석: 세션, 페이지 뷰, 이탈률, 트래픽 소스 (GA4 연동을 통해)
설정
claude mcp add adzviser -- npx -- -y @adzviser/mcp-server
설치 후 Adzviser 계정으로 인증해야 합니다. Adzviser가 다양한 데이터 소스(Shopify, Google Ads 등)에 대한 OAuth 연결을 처리합니다.
{
"mcpServers": {
"adzviser": {
"command": "npx",
"args": ["-y", "@adzviser/mcp-server"],
"env": {
"ADZVISER_API_KEY": "your-api-key"
}
}
}
}
쿼리 예시
연결되면 자연어로 분석 질문을 할 수 있습니다:
> What was our total revenue, order count, and average order value
for the last 30 days? Compare it to the previous 30-day period.
> Which 10 products generated the most revenue this month?
Include units sold and average selling price for each.
> Compare our Google Ads and Meta Ads performance for Q1.
Show spend, revenue attributed, ROAS, and cost per acquisition
for each platform.
> What percentage of our revenue comes from returning customers
vs first-time buyers? Show the trend over the last 6 months.
MCP를 통한 분석 데이터는 일반적으로 몇 시간마다 업데이트되며, 실시간이 아닙니다. 실시간 주문 알림이나 재고 경고가 필요하면 Shopify Webhook을 직접 사용하십시오. MCP 분석은 보고서 작성, 트렌드 분석, 전략적 의사결정에 가장 적합합니다.
보고서 작성
Claude Code에게 분석 데이터를 사용하여 구조화된 보고서를 작성하도록 요청할 수 있습니다:
> Generate a weekly performance report covering:
1. Revenue and order summary (vs last week and vs same week last year)
2. Top 5 products by revenue
3. Marketing spend and ROAS by channel
4. Customer acquisition cost trend
5. Inventory alerts (products with < 2 weeks of stock)
Format it as a Markdown document I can share with the team.
CData Code Assist MCP
CData는 분석에 대해 다른 접근 방식을 제공합니다 -- 미리 만들어진 대시보드 대신, Shopify 데이터(및 200개 이상의 다른 데이터 소스)에 대한 SQL과 유사한 쿼리 기능을 제공합니다.
CData 제공 기능
CData Code Assist MCP는 Shopify를 쿼리 가능한 데이터베이스로 취급합니다. 익숙한 SQL과 유사한 구문을 사용하여 제품, 주문, 고객 및 기타 Shopify 리소스에 대해 구조화된 쿼리를 실행할 수 있습니다.
설정
claude mcp add cdata -- npx -- -y @cdata/code-assist-mcp
설정하려면 CData Cloud 인스턴스에 연결해야 합니다:
{
"mcpServers": {
"cdata": {
"command": "npx",
"args": ["-y", "@cdata/code-assist-mcp"],
"env": {
"CDATA_INSTANCE_URL": "https://your-instance.cdata.com",
"CDATA_AUTH_TOKEN": "your-auth-token"
}
}
}
}
사용 사례
CData는 단순한 보고서 쿼리를 넘어서는 복잡한 데이터 분석이 필요할 때 빛을 발합니다:
> Query our Shopify order data to build a monthly cohort analysis.
Group customers by their first order month, then show retention
(repeat purchase rate) for each subsequent month.
> Join our Shopify order data with our Google Analytics session
data to calculate true conversion rate by traffic source,
accounting for multi-session purchase journeys.
> Pull the last 12 months of daily sales velocity for our top
50 products. I want to calculate reorder points based on
average daily sales and lead time.
Adzviser는 표준 마케팅 및 매출 보고서에 더 적합합니다 -- 일반적인 판매자 질문에 최적화된 사전 구축 분석을 제공합니다. CData는 커스텀 분석, 크로스 플랫폼 데이터 조인, 표준 보고서가 지원하지 않는 방식으로 데이터를 쿼리해야 할 때 더 적합합니다. 많은 팀이 둘 다 사용합니다.
Composio Tool Router
Composio는 더 폭넓은 접근 방식을 취합니다 -- Shopify, Slack, Google Sheets, 이메일, CRM을 포함한 100개 이상의 플랫폼에 AI 에이전트를 연결하는 도구 라우팅 레이어입니다.
Composio 제공 기능
Shopify에 특화되기보다, Composio는 멀티 플랫폼 분석 워크플로우를 구축할 수 있게 해줍니다:
- Shopify 매출 데이터를 가져와 Slack에 요약을 전송
- 주문 데이터를 쿼리하고 결과를 Google Sheet에 업데이트
- 재고 수준을 모니터링하고 프로젝트 관리 도구에 작업을 생성
- 여러 Shopify 스토어의 데이터를 통합 뷰로 집계
설정
claude mcp add composio -- npx -- -y composio-mcp
{
"mcpServers": {
"composio": {
"command": "npx",
"args": ["-y", "composio-mcp"],
"env": {
"COMPOSIO_API_KEY": "your-composio-key"
}
}
}
}
멀티 플랫폼 워크플로우 예시
> Pull today's Shopify sales total, top 3 selling products,
and any orders over $500. Format this as a daily digest
and post it to our #sales-updates Slack channel.
> Check inventory levels for all products. Export any products
with less than 20 units in stock to our "Reorder Alerts"
Google Sheet, including product name, SKU, current stock,
and 30-day average sales velocity.
> I manage 3 Shopify stores (US, UK, EU). Pull this week's
revenue from each store, convert to USD, and create a
comparison table showing performance by region.
Composio는 강력하지만 범위가 넓습니다. Shopify에 특화된 분석에는 전용 서버(Adzviser, CData)가 더 깊은 기능을 제공합니다. Composio는 워크플로우가 본질적으로 여러 플랫폼에 걸쳐 있을 때 가장 적합합니다.
MCP 데이터로 커스텀 분석 대시보드 구축
성숙한 Shopify 비즈니스에 가장 강력한 접근 방식은 MCP 데이터 접근과 커스텀 대시보드를 결합하는 것입니다.
아키텍처 패턴
1. Claude Code (with MCP servers) queries data from multiple sources
2. Data is processed and structured into a standardized format
3. Results are written to a local database or JSON files
4. A frontend dashboard (React, Next.js, or even simple HTML) visualizes the data
Claude Code를 사용한 구현
> Create a data pipeline script that:
1. Uses the Shopify MCP to pull the last 30 days of orders
2. Calculates daily revenue, order count, and AOV
3. Groups products by collection and calculates revenue per collection
4. Computes customer segmentation (new vs returning)
5. Writes all results to JSON files in data/analytics/
6. Create a simple React dashboard component that reads and
visualizes these JSON files using Recharts
예약된 데이터 갱신
프로덕션 대시보드의 경우, MCP 데이터 수집을 cron 작업과 결합하십시오:
import { exec } from 'child_process';
// Run via cron: 0 */4 * * * (every 4 hours)
// This script asks Claude Code to refresh analytics data
// using MCP servers and write updated JSON files
async function refreshAnalytics() {
// Fetch order data via Shopify Store MCP
const orders = await fetchRecentOrders(30); // last 30 days
// Calculate metrics
const dailyRevenue = aggregateByDay(orders);
const topProducts = rankByRevenue(orders);
const customerSegments = segmentCustomers(orders);
// Write to data files for dashboard consumption
await writeJSON('data/daily-revenue.json', dailyRevenue);
await writeJSON('data/top-products.json', topProducts);
await writeJSON('data/customer-segments.json', customerSegments);
console.log(`Analytics refreshed: ${orders.length} orders processed`);
}
첫날부터 포괄적인 분석 플랫폼을 구축하려고 하지 마십시오. 단일 지표(일일 매출)로 시작하여 데이터가 정확한지 확인한 다음, 점진적으로 더 많은 지표를 추가하십시오. 각 MCP 쿼리는 토큰과 시간이 소요됩니다 -- 점진적으로 구축하십시오.
올바른 분석 MCP 선택
| 시나리오 | 권장 접근 방식 |
|---|---|
| 빠른 매출 확인 | Shopify Store MCP (직접 주문 쿼리) |
| 마케팅 ROI 보고서 | Adzviser MCP |
| 커스텀 데이터 분석 | CData Code Assist MCP |
| 멀티 플랫폼 워크플로우 | Composio Tool Router |
| 프로덕션 대시보드 | Custom MCP + 데이터 파이프라인 |
| 일회성 심층 분석 | Claude Code + Store MCP (수동 세션) |
제한 사항 및 고려 사항
토큰 비용
대규모 데이터셋을 처리하는 분석 쿼리는 상당한 토큰을 소비합니다. 1,000건의 주문을 가져와 분석하는 쿼리는 API 토큰 비용이 $1-3에 달할 수 있습니다. 빈번한 분석의 경우 다음을 고려하십시오:
- 불필요한 반복 호출을 피하기 위한 결과 캐싱
- 서버 측 데이터 사전 집계
- 표준 지표에는 Shopify 기본 분석 사용
데이터 정확성
MCP 분석은 정확한 트랜잭션 데이터를 제공하는 Shopify의 API를 쿼리합니다. 그러나 다음을 유의하십시오:
- 매출 수치는 타이밍 및 시간대 차이로 인해 Shopify 대시보드와 다를 수 있습니다
- 트래픽 데이터는 별도의 GA4 또는 유사한 연동이 필요합니다
- 마케팅 채널 간 기여 분석은 본질적으로 근사치입니다
- 중요한 재무 수치는 항상 Shopify 공식 보고서와 교차 검증하십시오
레이트 리밋
대량 분석 쿼리는 Shopify의 API Rate Limit에 도달할 수 있습니다. Admin API는 초당 약 40개의 REST 요청 또는 초당 2,000 GraphQL 비용 포인트를 허용합니다. 대량 데이터 가져오기를 이에 맞게 계획하십시오:
> Fetch all orders from last quarter, but pace the API calls
to stay under 50% of the rate limit. I don't need real-time
speed -- accuracy and completeness matter more.
다음 단계
분석을 다루었으므로, 이제 완전한 MCP 도구 세트를 갖추게 되었습니다: 개발 지식(Dev MCP), 스토어 운영(Store MCP), 비즈니스 인텔리전스(Analytics MCP). 마지막 단계는 자체 커스텀 MCP 서버를 구축하는 것입니다. 커스텀 MCP 서버 구축으로 진행하여 방법을 알아보십시오.