Connector guide8-minute read18 MCP tools7 languages

Connect Metricool to Gemini CLI via MCP: Post Metrics

Metricool social media analytics and planner: brands, posts, reels and stories with metrics for Instagram, Facebook, TikTok, LinkedIn, YouTube, X and more, follower and reach time series, competitors, Meta, Google and TikTok ad campaigns, best times to post and scheduled posts. API token.

HCBy HelpCode teamUpdated 8 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Metricool

Metricool

Metricool social media analytics and planner: brands, posts, reels and stories with metrics for Instagram, Facebook, TikTok, LinkedIn, YouTube, X and more, follower and reach time series, competitors, Meta, Google and TikTok ad campaigns, best times to post and scheduled posts. API token.

tools

18

Region

INTL

Category

Social Media

Authentication

API Key

Required env vars

METRICOOL_USER_TOKENMETRICOOL_USER_ID
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Metricool social media analytics and planner: brands, posts, reels and stories with metrics for Instagram, Facebook, TikTok, LinkedIn, YouTube, X and more, follower and reach time series, competitors, Meta, Google and TikTok ad campaigns, best times to post and scheduled posts. API token.

Guided setup

Connect Metricool to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Metricool in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for Metricool

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Metricool · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Metricool, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Metricool + Gemini

Metricool social media analytics and planner: brands, posts, reels and stories with metrics for Instagram, Facebook, TikTok, LinkedIn, YouTube, X and more, follower and reach time series, competitors, Meta, Google and TikTok ad campaigns, best times to post and scheduled posts. API token.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

METRICOOL_USER_TOKEN, METRICOOL_USER_ID

Step 1 — Get credentials

Setting up takes about 3 minutes.

  1. API access needs a Metricool Advanced or Custom plan; Free and Starter accounts have no API.
  2. In Metricool open Account settings, API and copy the API access token into METRICOOL_USER_TOKEN.
  3. Open any brand in Metricool and look at the address bar: https://app.metricool.com/evolution/web?blogId=12345&userId=678901. Put the number after userId= into METRICOOL_USER_ID.
  4. Optional: put the number after blogId= of the brand you mostly work with into METRICOOL_BLOG_ID. It is then used whenever a call names no brand.

Every call sends the token in the header X-Mc-Auth and the ids as the query parameters userId and blogId. The token reaches every brand of the account, including shared ones, so treat it like a password.

Where to start: metricool_list_brands returns the brands with their id (pass it as blog_id), their timezone and the connected networks. Only networks connected to a brand return data.

Published content: metricool_list_posts (Instagram, Facebook, TikTok, LinkedIn, YouTube, X, Threads, Bluesky, Pinterest), metricool_list_reels and metricool_list_stories (Instagram, Facebook), and metricool_list_brand_posts for all networks in one call.

Metrics over time: metricool_get_metric_timeline returns one metric per call as daily values; metricool_get_metric_total returns it as one value for the period.

Metrics (pass as metric, with subject where named):

  • Instagram account: delta_followers, followers_gained, followers_lost, postsCount, postsInteractions, clicks_total. Posts: count, interactions, engagement, reach, impressions, likes, comments, saves, shares. Reels: count, comments, likes, saved, shares, engagement, impressions, reach, interactions, videoviews.
  • Facebook account: pageFollows, likes, pageImpressions, pageViews, postsCount, postsInteractions, page_daily_follows_unique, page_daily_unfollows_unique. Posts: count, interactions, engagement, impressions, impressionsunique, clicks, comments, shares, reactions. Reels: count, engagement, blue_reels_play_count, post_impressions_unique. Stories: storiesCount.
  • TikTok account: followers_count, followers_delta_count, video_views, profile_views, likes, comments, shares. Videos: videos, views, comments, shares, interactions, likes, reach, engagement, averageVideoViews.
  • LinkedIn company account: followers, deltaFollowers, companyImpressions, impressionCount, clickCount, likeCount, commentCount, shareCount, postsCount. Posts: posts, clicks, likes, comments, shares, engagement, impressions, interactions.
  • YouTube: views, interactions, likes, dislikes, comments, shares. X account: followers, friends, postsCount; posts: engagement, impressions, interactions, likes, retweets, replies, quotes, profileClicks, linkClicks.
  • Threads posts: count, views, likes, replies, reposts, quotes, shares, engagement, interactions. Bluesky posts: posts_count, interactions, likes, replies, reposts, quotes. Pinterest account: followers, following; pins: impression, save, pin_click, outbound_click.
  • Google Business Profile (gmb): business_impressions_total, business_impressions_maps, business_impressions_search, website_clicks, call_clicks, business_direction_requests. TikTok Ads: impressions, cost, clicks, conversions, cpm, cpc, ctr.

Competitors: metricool_list_competitors, metricool_list_competitor_posts, metricool_list_instagram_competitor_posts. Competitors are chosen in the Metricool app.

Ads: metricool_list_meta_ads_campaigns, metricool_list_google_ads_campaigns, metricool_list_tiktok_ads_campaigns. The connector reads campaign figures and never changes campaigns, budgets or boosts.

Planner: metricool_get_best_times for the best slots, metricool_list_scheduled_posts and metricool_get_scheduled_post to read the plan, metricool_schedule_post to plan a post. metricool_delete_scheduled_post is installed switched off. A planned post is published on the real profiles of the brand, so confirm it with the user before scheduling.

Dates and time zones: content, ads and planner tools take local date-times without offset (2026-10-01T00:00:00) plus timezone; the two metric tools take date-times with offset (2026-10-01T00:00:00+02:00). Use the time zone of the brand, or the days will be cut at the wrong hour.

Answers: lists come under data. Instagram story and some reach figures only exist from the day the profile was connected to Metricool; a period before that returns nothing rather than an error.

Errors: a failed call answers status, code, title and detail. 401 or an access denied answer means the token is wrong, or the userId or brand id does not belong to the account of the token. An empty data usually means the network is not connected to that brand. Metricool publishes no rate limit: ask for a whole month in one call instead of day by day.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Gemini

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of YOUR_MCP_API_KEY.
  2. Save the file and restart gemini.
  3. Run /mcp inside Gemini CLI (or gemini mcp list in your shell) — anythingmcp should show as connected.
  4. Start prompting — Gemini CLI can now call the Metricool tools.

Available tools

ToolWhat it does
metricool_list_brandsList the brands of the Metricool account, own and shared: id (the brand id every other tool takes as blog_id), label, title, timezone…
metricool_list_postsList the posts a brand published on one network in a period, with their metrics. Instagram: postId, type, publishedAt, url, content, likes…
metricool_list_reelsList the reels a brand published on Instagram or Facebook in a period, with their metrics. Instagram: reelId, publishedAt, url, content…
metricool_list_storiesList the stories a brand published on Instagram or Facebook in a period, with their metrics. Instagram: postId, type, publishedAt…
metricool_list_brand_postsList everything a brand published in a period across all its connected networks in one call: per post id, network, networkConnection, text…
metricool_get_metric_timelineRead one metric of a brand as a daily time series, e.g. followers, reach, impressions or engagement of the account or of its posts. One…
metricool_get_metric_totalRead one metric of a brand as a single aggregated value for a period instead of daily points. Takes the same network, metric and subject…
metricool_list_competitorsList the competitor profiles a brand tracks on one network with their figures for a period: id, screenName, displayName, followers…
metricool_list_competitor_postsList the posts the tracked competitors of a brand published on Facebook, X, YouTube, Twitch or Bluesky in a period, with their public…
metricool_list_instagram_competitor_postsList the posts and reels the tracked Instagram competitors of a brand published in a period, with their public metrics (likes, comments…
metricool_list_meta_ads_campaignsList the Meta Ads (Facebook and Instagram Ads) campaigns of a brand that ran in a period, with the figures Metricool collected for each…
metricool_list_google_ads_campaignsList the Google Ads campaigns of a brand for a period: id, name, objective, status, start, stop, impressions, clicks, spent, conversions…
metricool_list_tiktok_ads_campaignsList the TikTok Ads campaigns of a brand for a period: providerCampaignId, name, objective, currency and the requested metrics. Reads only.…
metricool_get_best_timesRead the best times to publish for a brand on one network, from the activity of its own audience: per dayOfWeek (1 Sunday to 7 Saturday)…
metricool_list_scheduled_postsList the posts in the planner of a brand between two dates: id, uuid, text, publicationDate (dateTime and timezone), providers (network and…
metricool_get_scheduled_postRead one post of the planner by id with everything set on it: text, publication date, networks with their status and public URL, media…
metricool_schedule_postPut a post into the planner of a brand for one or several networks at a date and time in the future. With auto_publish true Metricool…
metricool_delete_scheduled_postDelete a post from the planner of a brand. If it is the first post of a thread, the whole thread is deleted. A post that was already…

Example prompts

  • "How did our Instagram followers develop last month?"
  • "Which of our LinkedIn posts had the highest engagement in October?"
  • "Compare our reels with the posts of our tracked competitors this month."
  • "What are the best times to post on TikTok for our brand?"
  • "List the posts scheduled for next week."

FAQ

Which plan do I need? API access needs a Metricool Advanced or Custom plan; Free and Starter have no API. Copy the API access token from Account settings, API, and take your user id (and optionally a default brand id) from the address bar when a brand is open. The token reaches every brand of the account, so treat it like a password.

What does it cover? Brands, posts, reels and stories with their metrics on Instagram, Facebook, TikTok, LinkedIn, YouTube, X, Threads, Bluesky and Pinterest, daily metric time series and totals, tracked competitors, Meta, Google and TikTok ad campaign figures, best times to post and the planner. It never changes campaigns, budgets or boosts, and only networks connected to a brand return data.

Which tools install switched off? metricool_delete_scheduled_post. Switch it on on the connector page only if the AI should use it. metricool_schedule_post is on, and a planned post is published on the brand's real profiles, so the AI confirms it with you first.

Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.

Next steps

Was this guide helpful?

Connect Metricool to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Metricool in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

Related guides

Connectors

Connect Metricool to ChatGPT via MCP: Posts and Metrics

Metricool social media analytics and planner: brands, posts, reels and stories with metrics for Instagram, Facebook, TikTok, LinkedIn, YouTube, X and more, follower and reach time series, competitors, Meta, Google and TikTok ad campaigns, best times to post and scheduled posts. API token.

Connectors

Connect Metricool to Claude via MCP: Social Metrics

Metricool social media analytics and planner: brands, posts, reels and stories with metrics for Instagram, Facebook, TikTok, LinkedIn, YouTube, X and more, follower and reach time series, competitors, Meta, Google and TikTok ad campaigns, best times to post and scheduled posts. API token.

Connectors

Connect Metricool to Microsoft Copilot via MCP

Metricool social media analytics and planner: brands, posts, reels and stories with metrics for Instagram, Facebook, TikTok, LinkedIn, YouTube, X and more, follower and reach time series, competitors, Meta, Google and TikTok ad campaigns, best times to post and scheduled posts. API token.

Connectors

Connect Metricool to Cursor via MCP: Social Analytics

Metricool social media analytics and planner: brands, posts, reels and stories with metrics for Instagram, Facebook, TikTok, LinkedIn, YouTube, X and more, follower and reach time series, competitors, Meta, Google and TikTok ad campaigns, best times to post and scheduled posts. API token.

Connectors

Connect Metricool to Meta Muse via MCP: Social Metrics

Metricool social media analytics and planner: brands, posts, reels and stories with metrics for Instagram, Facebook, TikTok, LinkedIn, YouTube, X and more, follower and reach time series, competitors, Meta, Google and TikTok ad campaigns, best times to post and scheduled posts. API token.

Connectors

Metricool MCP Server: Social Metrics and Posts

Metricool social media analytics and planner: brands, posts, reels and stories with metrics for Instagram, Facebook, TikTok, LinkedIn, YouTube, X and more, follower and reach time series, competitors, Meta, Google and TikTok ad campaigns, best times to post and scheduled posts. API token.