mcpField
A
apify-influencer-discovery

apify-influencer-discovery

github.com/apifyMarketing & growth2.5k2.5k installsUpdated 1w ago
Repository

About apify-influencer-discovery

A skill for discovering and analyzing influencers across platforms with Apify Actors. It helps marketing teams find creators by niche, hashtag, or brand mentions, then review or export the results.

Key features

  1. 01Select Apify Actors by discovery need
  2. 02Fetch Actor input schemas dynamically
  3. 03Run discovery and summarize results
  4. 04Display results or export as CSV or JSON

Use cases

  1. 01Find Instagram creators by keyword or niche
  2. 02Locate accounts using hashtags or mentioning a brand
  3. 03Discover YouTube and TikTok creators and view metrics

MCP support

Uses mcpc to connect to mcp.apify.com and retrieve details and input schemas for selected Actors, which the skill then runs.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/apify/agent-skills --skill apify-influencer-discovery

After installing, type/apify-influencer-discoveryin Claude Code to confirm it loaded.

Bundled filesreference/scripts/run_actor.js

Details

From the project README

Influencer Discovery

Discover and analyze influencers across multiple platforms using Apify Actors.

Prerequisites

(No need to check it upfront)

  • .env file with APIFY_TOKEN
  • Node.js 20.6+ (for native --env-file support)
  • mcpc CLI tool: npm install -g @apify/mcpc

Workflow

Copy this checklist and track progress:

Task Progress:
- [ ] Step 1: Determine discovery source (select Actor)
- [ ] Step 2: Fetch Actor schema via mcpc
- [ ] Step 3: Ask user preferences (format, filename)
- [ ] Step 4: Run the discovery script
- [ ] Step 5: Summarize results
Step 1: Determine Discovery Source

Select the appropriate Actor based on user needs:

User NeedActor IDBest For
Influencer profilesapify/instagram-profile-scraperProfile metrics, bio, follower counts
Find by hashtagapify/instagram-hashtag-scraperDiscover influencers using specific hashtags
Reel engagementapify/instagram-reel-scraperAnalyze reel performance and engagement
Discovery by nicheapify/instagram-search-scraperSearch for influencers by keyword/niche
Brand mentionsapify/instagram-tagged-scraperTrack who tags brands/products
Comprehensive dataapify/instagram-scraperFull profile, posts, comments analysis
API-based discoveryapify/instagram-api-scraperFast API-based data extraction
Engagement analysisapify/export-instagram-comments-postsExport comments for sentiment analysis
Facebook contentapify/facebook-posts-scraperAnalyze Facebook post performance
Micro-influencersapify/facebook-groups-scraperFind influencers in niche groups
Influential pagesapify/facebook-search-scraperSearch for influential pages
YouTube creatorsstreamers/youtube-channel-scraperChannel metrics and subscriber data
TikTok influencersclockworks/tiktok-scraperComprehensive TikTok data extraction
TikTok (free)clockworks/free-tiktok-scraperFree TikTok data extractor
Live streamersclockworks/tiktok-live-scraperDiscover live streaming influencers
Step 2: Fetch Actor Schema

Fetch the Actor's input schema and details dynamically using mcpc:

export $(grep APIFY_TOKEN .env | xargs) && mcpc --json mcp.apify.com --header "Authorization: Bearer $APIFY_TOKEN" tools-call fetch-actor-details actor:="ACTOR_ID" | jq -r ".content"

Replace ACTOR_ID with the selected Actor (e.g., apify/instagram-profile-scraper).

This returns:

  • Actor description and README
  • Required and optional input parameters
  • Output fields (if available)
Step 3: Ask User Preferences

Before running, ask:

  1. Output format:
    • Quick answer - Display top few results in chat (no file saved)
    • CSV - Full export with all fields
    • JSON - Full export in JSON format
  2. Number of results: Based on character of use case
Step 4: Run the Script

Quick answer (display in chat, no file):

node --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
  --actor "ACTOR_ID" \
  --input 'JSON_INPUT'

CSV:

node --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
  --actor "ACTOR_ID" \
  --input 'JSON_INPUT' \
  --output YYYY-MM-DD_OUTPUT_FILE.csv \
  --format csv

JSON:

node --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
  --actor "ACTOR_ID" \
  --input 'JSON_INPUT' \
  --output YYYY-MM-DD_OUTPUT_FILE.json \
  --format json
Step 5: Summarize Results

After completion, report:

  • Number of influencers found
  • File location and name
  • Key metrics available (followers, engagement rate, etc.)
  • Suggested next steps (filtering, outreach, deeper analysis)

Error Handling

APIFY_TOKEN not found - Ask user to create .env with APIFY_TOKEN=your_token mcpc not found - Ask user to install npm install -g @apify/mcpc Actor not found - Check Actor ID spelling Run FAILED - Ask user to check Apify console link in error output Timeout - Reduce input size or increase --timeout

Comments

Markdown supported