mind.extractor

Marketing analytics in Claude Code with 5 MCP servers

What it solves5 MCP servers bring competitor posts, your stats, your site, YouTube and web research into one chat.

GuideAgents and Claude CodeUpdated November 13, 2026

Your reach dropped and you don't know why. Let an agent work it out: competitor posts, your own stats, your site, YouTube and web research, all in one chat.

Here are 5 MCP servers for Claude Code. Each one installs with a single command.

What you need first

  • Claude Code. Install it from code.claude.com. Metricool needs a Claude Pro or Max plan.
  • Node.js for the YouTube MCP.
  • Python and pipx for the Google Analytics MCP.
  • Accounts: Apify, Metricool, Google (Analytics and Cloud).

How it works: add a server with claude mcp add, then type /mcp in Claude Code, pick the server and sign in. To check, run claude mcp list. It shows what's connected and what's waiting for sign-in. The general syntax is in the Claude Code documentation.

1. Competitors: Apify MCP

What it does: collects data from social networks, search engines, maps and websites through ready-made "actors" from the Apify Store. There are Instagram and TikTok scrapers.

The command from the official README:

Command
claude mcp add apify "https://mcp.apify.com" -t http

On the first request, Claude Code opens the Apify sign-in. No account? Create a free one right there.

Example request:

Prompt
Collect the last 30 Instagram posts from @competitor with likes and comments. Which topics and formats get more than average?

Price: connecting is free. Actor runs are charged to your Apify account at each actor's price, which you see before the run. The free plan includes $5 of usage a month (pricing).

2. Your stats: Metricool MCP

What it does: metrics for your accounts and ads, best time to post, viewing and creating scheduled posts, right in the chat. Comments and direct messages are not available through the MCP.

The command from the Metricool help center:

Command
claude mcp add --transport http metricool https://ai.metricool.com/mcp

Then: claude → /mcp → Metricool → Authenticate → Grant access in the browser.

Example request:

Prompt
Compare my Instagram reach for October and September. Which posts dropped the most, and what time is best to post?

Price: the MCP works on any Metricool plan, including the free one, but your plan's limits apply.

3. Your site: Google Analytics MCP

What it does: reports, funnels and real-time data for your site without opening the dashboard. Tools include run_report, run_funnel_report, run_realtime_report and others. The project is officially marked experimental.

Setup follows the README and is the longest in the pack:

  1. Install pipx.
  2. In your Google Cloud project, enable Google Analytics Admin API and Google Analytics Data API.
  3. Create an OAuth client (the README links to instructions) and sign in:
Command
gcloud auth application-default login \--scopes https://www.googleapis.com/auth/analytics.readonly,https://www.googleapis.com/auth/cloud-platform \--client-id-file=YOUR_CLIENT_JSON_FILE
  1. Copy the file path the command prints after "Credentials saved to file:".
  2. Connect it to Claude Code:
Command
claude mcp add analytics-mcp \--scope user \-e "GOOGLE_APPLICATION_CREDENTIALS=PATH_TO_CREDENTIALS_JSON" \-e "GOOGLE_CLOUD_PROJECT=YOUR_PROJECT_ID" \-- pipx run analytics-mcp

Example request:

Prompt
Where did site visitors come from in the last 30 days, and at which step of the home → pricing → sign-up funnel do we lose the most?

Price: free.

4. Video: YouTube MCP

What it does: video and channel data, video and channel search, transcripts, playlists. It's a community server: github.com/ZubeidHendricks/youtube-mcp-server.

First you need a YouTube Data API key:

  1. Create a project in Google Cloud Console.
  2. Enable YouTube Data API in the API library.
  3. Create an API key under credentials.

The README gives settings for Claude Desktop and has no ready command for Claude Code. Following the general Claude Code format, the connection looks like this:

Command
claude mcp add --env YOUTUBE_API_KEY=your_key --transport stdio youtube -- npx -y zubeid-youtube-mcp-server

Example request:

Prompt
Find 10 home baking channels under 50,000 subscribers that grew in the last 6 months. Take the transcript of each one's most popular video and list the hooks.

Price: free. The YouTube Data API has a daily quota: by default 10,000 units and 100 search requests a day (Google documentation).

5. Research: Exa MCP

What it does: web search that returns clean page text, and full-page reading. With a key, multi-step research.

Install it as a plugin (from the Exa README):

Command
claude plugin install exa@claude-plugins-official

Server address for manual setup: https://mcp.exa.ai/mcp.

Example request:

Prompt
Find recent breakdowns of why Reels reach is dropping in 2026. Put the main explanations and sources in a table.

Price: basic search works without a key but is rate-limited. A key or sign-in gets you higher limits and multi-step research. Plans are on exa.ai.

Common mistakes

  • The server is "waiting for sign-in". claude mcp list shows Needs authentication. Type /mcp and sign in.
  • A key pasted into the chat. Keys go only into the connect command or environment variables.
  • Apify with no limit. Scraping costs money. Ask Claude to show the actor's price before it runs.
  • Expecting Google Analytics MCP to be stable. It's experimental, and things may change.

Cost

Google Analytics MCP and YouTube MCP are free (the YouTube API has a daily quota). Apify gives $5 a month free, Metricool has a free plan, Exa has free rate-limited search. Claude Code costs whatever your Claude plan costs.

more in agents and claude codeall solutions →
in the blog
free express audit
Find the leak

I build these setups for my own marketing work. If you want them wired into your sales and ads, start with a free express audit.