TikTok Shop connector for Claude Code

Use Porter’s TikTok Shop connector for Claude Code to pull GMV, orders and product results into your terminal, then turn them into files, scripts and scheduled reports in your own project.

  • Save weekly GMV by channel as CSV in your repo
  • Rank products by Product GMV
  • Split GMV across LIVE, video and product cards
  • Run a weekly TikTok Shop report from a script
G2★★★★★Rated 4.6/5 from 288 G2 reviews (October 2026) · Used by 1,600+ marketing teams and agencies

By · Last updated November 26, 2026

Claude Codeporter connected
Rank my TikTok Shop products by Product GMV for the last 30 days and save them to reports/tts-products.csv
porter / TikTok Shop / Trailgear Demo✓ 4 rows
Saved reports/tts-products.csv. The headlamp leads Product GMV; the water filter has clicks but few orders.
ProductProduct GMVProduct orders
Headlamp 400lm$18,420612
Camp mug set$11,380498
Rain shell$9,960142
Water filter$2,14038
Demo data, Trailgear Demo account
148 TikTok Shop fields
01Setup

How to connect TikTok Shop to Claude Code

Connecting TikTok Shop to Claude Code takes 3 steps and no API keys: connect your TikTok Shop seller accounts in Porter with TikTok Shop, add Porter’s MCP server to Claude Code with one command, then sign in from /mcp and ask. The same server also works in Cursor, VS Code and Codex, as Porter’s TikTok Shop MCP server page shows. Using the Claude app instead? See the TikTok Shop connector for Claude.

Before you start

  • You need Claude Code installed (Anthropic’s Claude Code overview), a free Porter account and a TikTok Shop seller account that can approve app authorizations.
  • Works with any Claude model in Claude Code, from Opus to Sonnet and Haiku.
  1. Step 1: Connect TikTok Shop in Porter

    Sign up free at Porter, pick TikTok Shop as the source and sign in with TikTok Shop. Tick every shop you want Claude Code to read.

  2. Step 2: Add Porter to Claude Code

    In your terminal, run this command. It adds Porter for every project on your machine; drop --scope user to add it to the current project only.

    Terminal
    claude mcp add --transport http --scope user porter https://mcp.portermetrics.com/mcp

    Or, inside Claude Code, install Porter’s plugin, which adds the server and Porter’s skill together: /plugin marketplace add portermetrics/porter, then /plugin install porter-metrics@portermetrics.

  3. Step 3: Sign in and ask

    Start claude, type /mcp, pick porter and sign in with the Google account you use in Porter. When porter shows as connected, paste this prompt:

    Prompt
    Which TikTok Shop accounts can you see? For the last 4 full weeks, show GMV, Paid orders and Items sold by week and save it to reports/tts-weekly.csv.

Guides and videos

app.portermetrics.com / create
Porter's Connect your TikTok Shop form with the region picker
First, pick the region your TikTok Shop is registered in.
TikTok Shop log-in screen you see when you connect it to Porter
Then, log in to TikTok Shop and approve access.
$ claude mcp add --transport http --scope user porter https://mcp.portermetrics.com/mcp

$ claude mcp list
porter: https://mcp.portermetrics.com/mcp (HTTP)
Then, add Porter's MCP server from your terminal.
> /mcp
porter · needs authentication → Authenticate

> Which TikTok Shop accounts can you see?
● porter - list_accounts (MCP)
Trailgear Demo
After you sign in from /mcp, Claude Code lists your TikTok Shop accounts.
02Use cases and prompts

What you can do in Claude Code

Claude Code works inside your project, so TikTok Shop answers can become files, scripts and dashboards instead of chat replies. Each use case has a prompt to copy and uses the TikTok Shop fields Porter reads.

Can Claude Code export TikTok Shop GMV?

The problemSeller Center shows GMV channels on separate screens.

What Claude Code doesClaude Code pulls GMV, GMV from LIVE, GMV from video, GMV from product card, Paid orders, Items sold and Refunds by week and writes them to a CSV.

What you getOne weekly file that shows where sales come from.

Prompt
For the last 12 full weeks, show GMV, GMV from LIVE, GMV from video, GMV from product card, Paid orders, Items sold and Refunds by week, and save it as data/tts-weekly.csv.

Which TikTok Shop products sell best?

The problemProducts with many views can still convert poorly.

What Claude Code doesClaude Code ranks products by Product GMV with Product impressions, Product clicks, Product CTR and Product orders.

What you getA product list that shows sellers and leaks side by side.

Prompt
For the last 30 days, rank my TikTok Shop products by Product GMV with Product impressions, Product clicks, Product CTR and Product orders, and save it to reports/tts-products.csv.

Can I schedule a TikTok Shop report with Claude Code?

The problemTikTok Shop splits GMV across LIVE and video, so the weekly view takes several screens.

What Claude Code doesEach week claude -p compares GMV, GMV from LIVE, GMV from video, Paid orders and Refunds with the week before.

What you getreports/tts-weekly.md showing where this week’s GMV came from.

Prompt
claude -p "Compare last week with the week before for my TikTok Shop: GMV, GMV from LIVE, GMV from video, Paid orders and Refunds. Write it to reports/tts-weekly.md" --allowedTools "mcp__porter" "Write"

Is my TikTok Shop spend paying off?

The problemShop GMV lives in Seller Center and GMV Max spend lives in TikTok Ads.

What Claude Code doesClaude Code pulls weekly Shop GMV and GMV Max Cost through the same porter server and works out return by week.

What you getReturn on GMV Max spend, week by week.

Prompt
For the last 8 weeks, pull weekly GMV from TikTok Shop and weekly GMV Max Cost from TikTok Ads, and write return by week to reports/tts-return.csv.
03Why Porter

Why Porter for TikTok Shop in Claude Code

Porter connects TikTok Shop with one app authorization, and puts Shop GMV next to TikTok Ads, Shopify and 30+ other sources behind the same server.

✓

One server for all your sources

The same porter server answers about TikTok Shop, Meta Ads, Google Ads, GA4 and Shopify, so one script can pull every channel.

⊞

Changes only after you approve

Claude Code can make changes through Porter where the platform allows them, and each change waits for your yes.

⚙

No partner app to build

You authorize Porter in TikTok Shop and sign in with Google in Claude Code. There is no TikTok Shop partner app or token to maintain.

↻

Hosted dashboards when a file isn’t enough

Ask for a Porter AI dashboard and it is published at its own link, synced automatically and ready to share with a client.

04Dashboard

Dashboard template

Start from a ready-made TikTok Shop template, or ask Claude Code to build a live one with AI dashboards.

AI dashboards

Build a live TikTok Shop dashboard from your terminal

Describe the dashboard in one sentence and Porter builds it. A client-ready dashboard in minutes, with no chart dragging and no BI tool to learn. Ask Claude Code:

Prompt
Build a live TikTok Shop dashboard for my account with the last 30 days, the main KPIs and a weekly trend.
Live URLEach dashboard at its own link: no login, no app, no download
Auto-syncFresh TikTok Shop data, nobody re-exports each period
Scheduled deliveryEmail or PDF sends on a set day
White labelYour logo and branding for clients
Sharing permissionsView or edit access per person
TikTok Shop dashboard template by Porter
Template

The TikTok Shop dashboard template

Start from Porter’s official TikTok Shop dashboard template, or run the prompt above in Claude Code and Porter publishes the dashboard at its own link.

Or start from a template

05Pricing

Pricing

You can start free, since Porter’s TikTok Shop connector for Claude comes with every plan. Use the calculator for your number of accounts, or see Porter pricing for every plan.

What you get

  • Free plan: never expires, with unlimited connected accounts and the last 15 days of data in Claude (30 days in Data Studio and Sheets)
  • Reporting: from $12.50 per account a month billed annually, or $15 month to month for one account
  • Billing: each TikTok Shop counts as one account, and each region connects separately, with volume discounts and no per-seat fee
  • No credits needed: Claude’s TikTok Shop questions are reads, so they use no AI credits
  • Trial: 14 days of full access, no card

Price calculator

$33.33/mo$6.67 per account

An account is one ad account, Stripe account, store, page or GA4 property. The Free plan never expires and has unlimited accounts, with the last 15 days of data in AI chats.

06Data and actions

TikTok Shop data Claude can use

Through the TikTok Shop connector, Claude can read order/product data, as well as videos, LIVE sessions and payouts: 148 fields in seven kinds of data. Those are orders and order line items, as well as daily statements, shop performance, product performance, shoppable videos and LIVE sessions. Finally, labels and IDs for each are in the full list of TikTok Shop fields.

The 12 TikTok Shop fields Claude uses most

Amounts come in the shop's currency.

FieldWhat it's for
GMVtiktok_shop_gmvDaily shop sales, cancelled and refunded orders included
GMV from LIVE · GMV from video · GMV from product cardtiktok_shop_gmv_live · tiktok_shop_gmv_video · tiktok_shop_gmv_product_cardWhere daily GMV came from
Paid orderstiktok_shop_paid_orders_countOrders paid that day
Refundstiktok_shop_refundsRefunds by day
Product GMVtiktok_shop_product_gmvSales per product for the period
Product refunded itemstiktok_shop_product_refunded_itemsRefunded units per product
Video GMVtiktok_shop_video_gmvSales per shoppable video
Video GPMtiktok_shop_video_gpmGMV per thousand video views
Creator typetiktok_shop_video_creator_typeOwn account or affiliate creator
LIVE GMVtiktok_shop_live_gmvSales per LIVE session
Settlement amounttiktok_shop_settlement_amountWhat TikTok Shop pays out per statement
Fee amounttiktok_shop_fee_amountTikTok Shop's fees, as a negative number

How far back can Claude read TikTok Shop data?

In Porter's tests, orders and statements go back 2 years, while shop performance goes back about 11 months. Products and videos reach 3–6 months, while LIVE sessions reach 4–6 months.

Analytics for a day arrive the next day (TikTok Shop's analytics API docs), while each daily statement opens at 00:00 UTC (TikTok Shop's finance API overview).

Product stats

WhatTikTok Shop connector
Fields148 in seven kinds of data: orders, line items, statements, shop, product, video and LIVE performance
ActionsReads only, so your shop stays exactly as you set it
FreshnessAnalytics for a day arrive the next day
HistoryOrders and statements 2 years; shop performance about 11 months; products and videos 3–6 months; LIVE 4–6 months
QuestionsOne kind of data per question; Claude combines two answers
CurrenciesAmounts stay in the shop's local currency
AccessSeller authorization you approve; renews every 7 days

See all 148 TikTok Shop fields

07Security

Is it safe?

Yes. Porter reads your shop through the authorization you approve, and your products, prices, inventory and orders stay exactly as you set them. Porter sees only the shop you choose.

What the connector needs before reading TikTok Shop

Porter needs TikTok Shop's seller authorization (a sign-in you approve) before it reads each shop. US shops and rest-of-world shops, however, authorize on different TikTok Shop domains.

Access renews automatically

Access renews every 7 days until the authorization period you granted ends. Then you approve the shop again (TikTok Shop's authorization overview).

08FAQ

FAQ

Answers on setup, scope, scripts and credits, plus fixes for the most common Claude Code errors with TikTok Shop. Setup questions every source shares, like where Claude Code saves the server and how to share it with your team, are in the Claude Code hub FAQ.

Can I add TikTok Ads spend to the Shop report?

Yes. Connect TikTok Ads in Porter and ask for Spend next to GMV. Claude Code reads both through one server and writes them to the same file.

Is this the same as TikTok Ads?

No. TikTok Shop reads your shop’s GMV, orders and products. Ad spend, including GMV Max, comes from the TikTok Ads connector, and Claude Code can use both together.

Do Claude Code questions use Porter credits?

Reading TikTok Shop data uses no AI credits, so questions and reports on this page are free on every plan.

Troubleshooting

Why does /mcp show porter as needing authentication?

Claude Code adds the server before you sign in. Pick porter in /mcp, choose Authenticate and sign in with the Google account you use in Porter.

Why does my claude -p script stop and ask for permission?

Scripts can’t answer permission prompts. Pass the tools the script may use, for example --allowedTools "mcp__porter" "Write", so Claude Code can read Porter and save files without stopping.

Why does Claude Code see my shop but return no data?

Usually the account that authorized Porter lost access to the shop, or the range had no orders. Reconnect TikTok Shop in Porter, then ask again.

09Next

More Claude connectors

Porter brings your other stores and marketing sources into Claude through the same MCP URL, so a shop question can grow into a cross-channel one. Then add the other stores you sell through next to the TikTok Shop connector, or browse every source Porter connects to Claude.

Not only Claude. Send TikTok Shop data anywhere

The same Porter account and connection also send TikTok Shop data to these destinations, at no extra cost.

Try the connector in Claude Code

Porter’s TikTok Shop connector for Claude Code takes one command, so your first GMV file can land in your project today.

Free plan · 14-day trial · No card needed

E-commerce marketers: GMV by channel and product lands in one file.

Paid social managers: GMV Max spend meets real shop sales.

Agencies: one script builds the weekly report for every client shop.