MCP server

Let your AI assistant use Virlo for you. Ask Claude, Cursor, or another assistant to research a niche or find trending sounds, and it fetches the data itself.

At a glance
What it does
Gives your AI assistant 44 Virlo tools. MCP (Model Context Protocol) is the standard way AI apps use outside tools.
You send
Questions in plain words to your assistant, after a one-time setup.
You get back
Answers built on real Virlo data, such as this week's top TikTok hooks for food content, each with its source video.
Cost
Connecting and re-reading results are free. Quick data (Topic Trends, Content Trends, trending videos, hashtags, sounds, hooks) costs $0.05 to $0.25 a call, and live raw data $0.01 a call. New research or a lookup starts at $0.50.
How long
Most tools answer in seconds. A Content Research Agent can take about 20 minutes; ask the assistant to check back.

Quick setup

Pick your app's tab. If it uses an API key, paste the key first so the setup code includes it. Cursor then gets a one-click install button.

Paste your virlo_tkn_ key to get ready-to-use configs with one-click install for Cursor. Claude Desktop, claude.ai, and Claude Code users can skip this — they connect via OAuth and a key is created automatically.

Enter your API key above to enable one-click Cursor install.

Or add to .cursor/mcp.json:

{
  "mcpServers": {
    "virlo": {
      "url": "https://dev.virlo.ai/api/mcp/mcp",
      "headers": {
        "Authorization": "Bearer virlo_tkn_YOUR_KEY"
      }
    }
  }
}

Any other MCP app

Any app that supports remote MCP servers can connect with:

SettingValue
Server URLhttps://dev.virlo.ai/api/mcp/mcp
TransportStreamable HTTP (some apps say "HTTP")
HeaderAuthorization: Bearer YOUR_API_KEY

If your app supports MCP sign-in (OAuth), skip the header and sign in. If it only runs local servers, use the mcp-remote bridge on the Windsurf and Codex tabs.

Details for developers
  • The server is stateless. Use POST (a GET returns 405) and send Accept: application/json, text/event-stream (or get 406).
  • 401 means a missing Authorization header or a key without the virlo_tkn_ prefix. 403 Origin not allowed means a browser app sent an unapproved Origin. Native apps should send none.
  • Tool errors come back as normal replies with the error text inside.
  • OAuth discovery: https://dev.virlo.ai/.well-known/oauth-protected-resource (dynamic client registration, PKCE S256).

If something goes wrong

  • Connected, but every tool says "Invalid or inactive API key". Setup only checks the virlo_tkn_ prefix. The real check comes on the first call. Copy the key again from your dashboard.
  • Paid tools fail with error 402, free ones work. Your balance is too low. The reply includes a checkout link your AI app can hand you, or add funds on the Billing page. Once you've paid, ask again.
  • A filter does nothing. Tools silently ignore settings they don't know, such as a misspelled name. Ask the assistant which settings it sent.

Content Research Agents

A Content Research Agent collects and analyzes short-form videos on a topic you describe. It runs once, or on a daily, weekly, or monthly cadence. Each collection is a run.

create_research_agent creates both kinds. See Content Research Agents.

Getting good results from an agent

  1. Describe the goal in one sentence. This intent is required. Say who it's for and what you want to learn, like "beginner skincare routines that name drugstore products." See the Intent cookbook.
  2. Choose keywords: 7 to 12 specific phrases, plus words to exclude (up to 50 keywords, same price).
  3. Start the agent once you say yes to its proposal.
  4. Wait for finalized: true, then read data_type: "summary" first.

Reading results is free. Ask to filter by views, dates, platform, sort order, or country (beta).

Data Intelligence (+$1.00 per run): AI tags collected videos with 79 details (70 for slideshows), such as hook, format, and tone. Turn it on when you start the agent (data_intelligence_enabled: true), or later with update_agent. It never applies to past runs. See Data Intelligence.

More options
  • Other languages. Set english_only: false, and write the keywords and intent in that language.
  • Meta ads. meta_ads_enabled: true adds Meta ads at no extra cost. Runs can then take longer, up to about 45 minutes.
  • Partial results. Status partial_failure is usable: one platform or keyword failed.

Available tools

Prices are per call. Older tool names from earlier versions keep working for saved scripts.

Search videos and creators

Ready videos and creators Virlo has already analysed, found by description. See Search videos and creators.

  • find_videos ($0.05 per library page of 25, free for an empty page and for your own research): videos by topic, look in plain words ("faceless", "talking head"), platform, dates, creator size, views, engagement, Virality Score, region and language. Says which filters it applied and which it could not; a thin result offers a research agent with its price.
  • find_creators ($0.05 per page of 25, free for an empty page): creators by what their videos are about, a bio word, platform, followers and account type.
  • find_places ($0.05 per call, free when nothing matches, beta): the places creators tag on TikTok and Instagram posts, by name, suburb, postcode or country, most tagged first. With place_id it returns the videos tagged there. To filter a search by place, use places or near on find_videos. See Places.
  • ask_virlo (free itself; the data it reads costs what that read costs): a question about your own research, niche or data, in your words. It finds your agent on that topic and never starts one.

Trends and hashtags

Topic Trends: what people are talking about right now, by region. Content Trends: video formats creators are copying. See Content Trends.

  • get_content_trends ($0.25, or $0.05 with id for one format and its 30-day history): the published formats, live ones by default, with filters for stage, platform, client type, and brand safety.
  • get_topic_trends ($0.25): Topic Trends, each topic with a category. view is today (the default), emerging (rising, by momentum), or range (by date). Regions are global (the default), us, gb, au, and sg. category keeps only some categories and exclude_category leaves some out (for example politics and news). See Topic Trends.
  • search_hashtags ($0.05): top hashtags for a period, or with hashtag, views, likes, and comments for one hashtag.

Research agents

  • create_research_agent ($0.50 per run, or $1.50 with Data Intelligence): needs intent. The first call returns a proposal and starts nothing; user_approved: true starts it. recurring: true with a cadence of daily, weekly, or monthly keeps it running, and the first run starts right away and is billed.
  • list_my_research (free): kind is agents (the default), lookups, or tracked.
  • get_agent_report (free): the one-call report for any agent.
  • get_agent_data (free, except hooks at $0.25 without Data Intelligence): reads results by data_type: overview (the default), summary, videos, slideshows, ads, outliers, analysis, trends, sounds, hashtags, benchmarks, affinity (related topics, beta), similar (look-alike creators, beta), hooks, activity (what autopilot changed and why), or events (breaking stories, scored 0 to 10).
  • update_agent (free): changes settings. is_active: false pauses the agent, true resumes it, and autopilot turns autopilot on or off.
  • delete_agent (free): deletes the agent for good and stops billing. It drops off your list, but past results stay readable by ID, so save it. To stop for a while, pause instead.

Outliers are creators whose videos get far more views than their follower count predicts.

How autopilot works

After each run, a recurring agent rewords its searches and adds keywords so it keeps finding new videos. Autopilot is on by default, with nothing to unlock. It never removes the keywords or exclude terms you set, never adds charges, and never changes the schedule. To turn it off, pass autopilot: false to create_research_agent or update_agent. More on autopilot.

Creator, video, sound, and hashtag lookups

A lookup is a one-time deep dive on one creator, video, sound, or hashtag, saved as a run you can re-read for free.

  • lookup_creator ($0.50, up to $1.75): profile, recent videos, and top performers. Add-ons: trend_analysis (+$0.50), data_intelligence (+$0.25), and audience data (+$0.50). creators takes up to 25 at once, at $0.50 per creator, free if looked up in the last 6 hours with at least the same options.
  • analyze_video ($0.50, free for the same video within 6 hours): how far one video beat the creator's usual numbers, and what set it apart.
  • lookup_sound ($0.50, or $1.00 with trend analysis): up to 100 videos using a TikTok or Instagram sound, or about 300 with trend analysis, from the sound's music_id (the number at the end of its link). With sound_id it reads a stored sound: view is details ($0.05), history ($0.05), or videos ($0.25). With handle and platform it lists the sounds a creator owns ($0.25).
  • lookup_hashtag ($0.50, up to $2.50 with more videos and trend analysis): videos and stats for a TikTok, Instagram, or YouTube hashtag. Repeats within 6 hours are free.
  • lookup_place ($0.50 per lookup started, beta): the posts tagged at one TikTok place, fresh from TikTok plus the ones Virlo stored, with TikTok's own tag count and what changed since your last lookup of the place. A name that matches several places returns the candidates, free. See Place lookup.
  • check_job_status (free): checks any background job. With run_id it re-reads a past lookup; each paid lookup has its own run, so older ones stay. Add data_type: "compare" to see what changed against an earlier run of the same thing, with previous_run_id to pick the run, or data_type: "posts" to page through its posts.
  • To run a saved lookup again with the options it used, send its run_id to the lookup tool of that type. It costs what that lookup costs today ($0.50 plus any add-ons, up to $2.50), and is free if a run from the last 6 hours covers it.

Tracking

Tracking checks a creator or video on a schedule (daily by default, from every 6 hours to monthly) and writes a short AI report.

  • track_creator and track_video ($0.25 per check): start tracking. collection_depth also pulls a creator's older posts once, for $0.50 to $2.00.
  • get_tracking_data (free, except a fresh audience read at $0.50): view is report (the default), details, snapshots, or signals (alerts such as outlier videos and follower spikes). For a creator, also posts, cadence, demographics, and geography.
  • collect_creator_posts ($0.50, $1.00, or $2.00): pulls up to 50, 200, or 500 more posts now. Refunded if it finds none.
  • update_tracking_settings (free): pauses, resumes, or changes how often it checks. Paused items stay listed and stop costing.
  • untrack_creator and untrack_video (free): stop tracking. Tracking a creator again restores the history. A video can't be tracked again.

Audience data describes who comments on a creator's videos: age, gender, language, and location. It covers creators you track. For others, add it to lookup_creator.

Sounds

  • get_trending_sounds ($0.25, or $0.10 with q): view is trending (the default, most used in the last 7 days) or breakout (fastest-growing from a small start). q searches titles; spelling must match, case doesn't.

Agent-collected sounds are free with get_agent_data and data_type: "sounds".

Hooks and writing

A hook is a video's opening line or shot. They're ranked by Virality Score: how far a video beat its creator's follower count. See Hooks.

  • search_hooks: view is search ($0.25, by phrase or type), trending ($0.25, the best opening lines right now), library ($0.10, fill-in-the-blank templates), or types (free, which hook styles win most often).
  • show_hooks and show_script (free): lay out hooks, video ideas, or a script your assistant wrote, each with its source video.

Top hooks from your own agent come from get_agent_data with data_type: "hooks".

Raw data

Live, unprocessed data from the platform, with the same fields on TikTok, YouTube Shorts, and Instagram Reels. Each call costs $0.01, even when it finds nothing. See Raw data.

  • raw_search: videos for a keyword.
  • raw_hashtag: videos under a hashtag.
  • raw_video: one video's details and counts right now.
  • raw_comments: a video's comments.
  • raw_transcript: what is said in a TikTok or YouTube video.
  • raw_creator: a creator's profile and counts right now.
  • raw_creator_videos: a creator's videos.

From the Meta Ad Library, at the same $0.01 a call. Ad lists filter by country, status (active, inactive or all) and media type. Image and video links in ads expire after a few days.

  • raw_ad_search: ads for a keyword.
  • raw_advertiser_ads: one advertiser's ads, by page ID or name.

Lists come one page per call. To get the next page, the assistant passes the next_cursor it got back as cursor, and each page is charged.

Balance

  • get_credit_balance (free): your balance in dollars and credits (1 credit = $0.01), plus prices and whether auto top-up is on.
  • top_up_credits (free): a Stripe checkout link that adds balance. Nothing is charged until you pay on that page. If you own the team and auto top-up is off, the page also asks whether to refill automatically when your balance runs low.
  • set_auto_top_up (free, team owner): turning auto top-up off, or making refills smaller, applies at once. Turning it on or making refills bigger sends you a link to confirm on dev.virlo.ai first.

Long-running jobs

Agents, lookups, post collection, and audience snapshots run in the background.

  • lookup_creator, analyze_video, lookup_sound, lookup_hashtag, lookup_place, and one-time agents wait up to 25 seconds, checking every 2.5 seconds. If the job isn't done, you get status: "processing" and a job ID to check later with check_job_status, not in a loop.
  • Recurring agents, lookups of several creators, and collect_creator_posts return an ID right away.

A job is done when finalized: true. completed can mean the AI report is still being written, so empty analysis fields mean "not yet". A video with intelligence_status: "skipped" is the exception: it was left out on purpose.

Half of agent runs finish collecting in under 8 minutes, and 9 in 10 in under 20. The AI report follows within minutes. Lookups take under a minute to about 3 minutes.

In a chat app, ask the assistant to check back in 10 to 20 minutes. Developers can use the content_research_agent.run.completed webhook instead.

Guides your assistant can read

The server has four read-only guides (MCP resources). Many apps don't read them unprompted, so start big research with "Read Virlo's agent playbook and intent cookbook first."

  • virlo://docs/intent-cookbook: how to write a good intent.
  • virlo://docs/agent-playbook: which tool fits which question, and how to avoid wasted spend.
  • virlo://docs/api-overview: the tool catalog.
  • virlo://docs/credit-costs: the price of each tool.

The first two are also plain text for AI assistants (/intent-cookbook.txt, /agent-playbook.txt) and pages for people (Intent cookbook, Research playbook).

Workflow prompts

These are built-in, multi-step research plans. Pick one from your app's menu or ask by name: "Use the full_niche_analysis prompt for viral cooking content."

  • start (optional website and goal): a first-run tour. Checks what the assistant knows about you, reads your website, drafts keywords, and asks before it spends anything. $0.50 if you say yes to the first research run.
  • full_niche_analysis (you give niche): drafts keywords, runs a one-time agent, looks up the top 2 or 3 creators, and sets up a weekly agent. About $2.00 to $2.50, then $0.50 a week.
  • creator_deep_dive (platform, username): looks up the creator and writes a profile, then asks before tracking them. $0.50, plus $0.25 per check if you track them.
  • trend_scout (optional platform: youtube, tiktok, instagram, or all): turns emerging trends, today's digest, viral videos, and hashtag momentum into a trend report. About $0.90 to $1.25.
  • genre_monitor (genre): drafts keywords, creates a weekly TikTok agent, and writes a genre brief. $0.50 a week until you stop it.
  • competitor_landscape (subject, a creator or niche; optional platform): runs an agent with Data Intelligence, shortlists 3 to 5 competitors, looks each up after you confirm, and writes a positioning brief. About $3.00 to $4.50.

What it costs

MCP tools cost the same as the Virlo API and draw from your prepaid API balance. It's separate from any Virlo app plan. Recurring agents and tracking bill every run until you pause or stop them.

MCP replies don't show what a call cost. Run get_credit_balance before and after, or open Usage.

Was this page helpful?