Install skill
Setup
Pick the app you use. Every route starts by connecting Porter Metrics, because the skill reads all its data through it.
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Download tiktok-scraper.zip.
- 3Open claude.ai or Claude Desktop, go to Customize › Skills, click +, then Upload a skill and pick the zip.
- 4Ask: Use the TikTok Scraper skill to pull the latest videos of [TikTok accounts].
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Install the skill with one command:COMMAND
npx skills add portermetrics/marketing-skills --skill tiktok-scraper
- 3Or unzip the download into
~/.claude/skills/. - 4Ask: Use the TikTok Scraper skill to pull the latest videos of [TikTok accounts].
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Download tiktok-scraper.zip.
- 3Open ChatGPT, go to Skills › Create › Upload from your computer and pick the zip. Your workspace admin may need to allow skill uploads.
- 4Ask: Use the TikTok Scraper skill to pull the latest videos of [TikTok accounts].
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Install for your agent (replace
codexwithcursoror another agent):COMMANDnpx skills add portermetrics/marketing-skills --skill tiktok-scraper -a codex
- 3Ask: Use the TikTok Scraper skill to pull the latest videos of [TikTok accounts].
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Copy the full skill with the Copy skill button and paste it into a new chat or a project’s instructions.
- 3Ask: Use the TikTok Scraper skill to pull the latest videos of [TikTok accounts].
Prompt
Once the skill and Porter Metrics are connected, paste this and replace the company name.
Use the TikTok Scraper skill to pull the latest videos of [TikTok accounts].Example output
The cleaned file the skill hands over, one row per video from an account and a hashtag. Shown with sample data for a fictional brand, Acme Skincare.
{
"sources": ["@acmeskincare", "#skincareroutine"],
"run_date": "2026-12-03",
"videos": [
{
"url": "https://www.tiktok.com/@acmeskincare/video/7000000000000000001",
"author": "acmeskincare",
"posted_at": "2026-11-29T19:12:00Z",
"caption": "3 steps, 2 minutes, every night #skincareroutine #nightroutine",
"hashtags": ["skincareroutine", "nightroutine"],
"views": 214000,
"likes": 18300,
"comments": 402,
"shares": 1260,
"saves": 2950,
"duration": 34,
"sound": "original sound - acmeskincare",
"video_url": ""
},
{
"url": "https://www.tiktok.com/@northwindglow/video/7000000000000000002",
"author": "northwindglow",
"posted_at": "2026-11-26T08:40:00Z",
"caption": "Dermatologist reacts to my morning routine #skincareroutine",
"hashtags": ["skincareroutine"],
"views": 58700,
"likes": 4100,
"comments": 133,
"shares": 210,
"saves": 640,
"duration": 52,
"sound": "Soft Morning - Globex Music",
"video_url": ""
}
]
}name: tiktok-scraper
- objective: One file with public TikTok videos: caption, views, likes, comments, shares, date, sound and video file.
- trigger: Ask to scrape, download or list TikTok videos, by account, hashtag, search or video link. To find which videos outperform, use Short-Form Video Outlier Research.
- parameters: Accounts, hashtags, searches or video links. Optional: videos per source and the oldest date.
- output: A videos JSON file and the raw result in a run folder, plus the count in the chat.
- reference: Every step runs through the Porter Metrics MCP (
https://mcp.portermetrics.com/mcp).
Index
| Item | Part | Use it when |
|---|---|---|
| Connect Porter Metrics | Start | Starting any run |
| Shared rules | Start | Applying the scope, cost and run folder rules to every step |
| Ask for the input | Setup | Listing the accounts, hashtags, searches or videos |
| Run the scraper | Scrape | Running the TikTok scraper |
| Clean the output | Scrape | Turning the raw result into one row per item |
| Hand over | Finish | Giving the user the file and the summary |
| Tools | Reference | Finding the Porter Metrics action for each job |
Connect Porter Metrics
Index ↑Run this before any other step.
| Rule | What to do |
|---|---|
| Check | Call the Porter Metrics MCP whoami tool. A reply with an account means the connection works. |
| Not connected | Stop the task and help the user connect: add the MCP server https://mcp.portermetrics.com/mcp to their AI app, sign in with Google, then run the check again. |
| Resume | Continue with Ask for the input once the check passes. |
| Porter first | Every job in the Tools table runs through the Porter Metrics MCP, so no other tool or key is needed. |
Shared rules
Index ↑These rules apply to every step.
| Rule | What to do |
|---|---|
| Public data only | Read only what anyone sees logged out. Never sign in, never use the user’s cookies or accounts. |
| Extract, never judge | Every field holds what the source shows. Scores, winners and advice stay out; they belong to the skills in Part of these skills on this page. |
| Start small | The first run uses the default limit. Tell the user the count before raising it, because every result is billed. |
| Dropped call | A dropped call may already be billed. Run it again with a smaller input, never the same heavy call twice. |
| Empty field | A field the source does not show stays empty. Never fill it from a guess. |
| Run folder | Save what the action returned, untouched, in tiktok-scraper/[date]/[target]/raw/, and the cleaned file next to it. |
Ask for the input
Index ↑Ask only for what to pull; take the defaults for the rest.
| Input | Required | Default |
|---|---|---|
| Accounts, hashtags, searches or video links | Yes | none |
| Videos per source | No | 30 |
| Oldest date | No | No limit |
| Transcripts | No | Off; each one adds a cost |
Run the scraper
Index ↑Pull public videos only.
| Rule | What to do |
|---|---|
| Run | Run web_scraping.call_actor with actor clockworks/tiktok-scraper and the input from the Tools table. |
| Wait | When the call returns before the run ends, poll web_scraping.get_actor_run until it finishes. |
| Read | Read the items with web_scraping.get_dataset_items, in pages, and save them untouched in raw/. |
| Accounts | Pass the handles in profiles with resultsPerPage. |
| Hashtags and searches | Pass them in hashtags or searchQueries with resultsPerPage. |
| Single videos | Pass the links in postURLs. |
| Date limit | Pass oldestPostDateUnified when the user names an oldest date. |
| Transcripts and files | Turn on subtitles or video downloads only when the user asks; each is billed per video. |
Clean the output
Index ↑Keep one row per video with these fields, in this order.
| Field | What it holds |
|---|---|
| url | The video link |
| author | The account handle |
| posted_at | Publish date and time |
| caption | The caption as published |
| hashtags | Each hashtag in the caption |
| views | Play count |
| likes | Likes |
| comments | Comment count |
| shares | Shares |
| saves | Saves |
| duration | Length in seconds |
| sound | The sound’s name and author |
| video_url | The video file, when downloaded |
Output (JSON)
{"sources": [], "run_date": "", "videos": [{"url": "", "author": "", "posted_at": "", "caption": "", "hashtags": [], "views": 0, "likes": 0, "comments": 0, "shares": 0, "saves": 0, "duration": 0, "sound": "", "video_url": ""}]}
Hand over
Index ↑| Rule | What to do |
|---|---|
| Files | Give the user the path of the cleaned file and the raw folder. |
| Summary | Say in the chat how many items came back, the date range they cover and any field that came back empty for every item. |
| Next step | When the user wants analysis, name the full skill that reads this file (Part of these skills on this page). |
Tools
Index ↑Porter Metrics MCP actions run through execute_action.
| Use | Tool | Parameters |
|---|---|---|
| Connection check | whoami |
none |
| Run the scraper | web_scraping.call_actor |
actor clockworks/tiktok-scraper · input profiles or hashtags or searchQueries or postURLs · resultsPerPage · oldestPostDateUnified |
| Run status | web_scraping.get_actor_run |
runId; call again while the run is still going |
| Read the results | web_scraping.get_dataset_items |
datasetId from the run · limit · offset to read in pages |
FAQ
Yes. The skill is free to copy, download and change. It reads data through the Porter Metrics MCP, which you can connect for free.
Yes. Every step reads or publishes data through the Porter Metrics MCP. Without it the skill stops at its first step, Connect Porter Metrics, and walks you through connecting.
Claude (web, desktop and Claude Code), ChatGPT, Codex, Cursor and any app that reads skill files or lets you paste instructions, as long as the Porter Metrics MCP is connected there.