Skip to content
MCP server

AgentFirstStack

Gateway to AgentFirstStack: analytics, tags, mail and replay that an agent sets up itself

Pricing
Open source
Platforms
API, self-hosted, Web
Runs
Remotely
Version
0.1.1
Listing updated
3 days ago

About AgentFirstStack

AgentFirstStack is an open-source MCP server for analytics and data. It runs as a hosted remote server, so there is nothing to install locally.

This is the umbrella endpoint at agentfirststack.com/mcp, covering all four services behind one key rather than a single product. Each one replaces a familiar tool: analytics instead of Google Analytics or Plausible, a tag manager and server-side conversion router instead of Google Tag Manager, agent-created inboxes instead of a Gmail account per project, and session replay instead of Hotjar or Clarity.

A coding agent follows a setup file: it maps your pages and actions, creates an inbox, sets up analytics goals and a weekly report, builds a tag container with an event per main action, adds replay, then tests with real traffic. Tags can send one conversion to GA4, Google Ads, Meta, TikTok, LinkedIn, Pinterest, Reddit, Snap or X with a shared event id. The mail tool wait_for_email returns as soon as a message arrives, with verification codes and links already extracted.

A human gets a claim link at the end and signs in with Google to see a dashboard, manage keys and teammates, or delete the project. It is open source and can be self-hosted on Cloudflare Workers.

Install

Run in a terminal

claude mcp add --transport http mcp https://agentfirststack.com/mcp

Add to Settings → Connectors → Add custom connector

https://agentfirststack.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://agentfirststack.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://agentfirststack.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://agentfirststack.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://agentfirststack.com/mcp"
    }
  }
}

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

wait_for_email
Returns when an email arrives, with codes and links extracted.

What it does

Four services, one key
Analytics, tags, mail and replay share an account.
Server-side conversions
Sends one conversion to many ad platforms without double counting.
Agent inboxes
Creates inboxes and extracts codes and links from mail.
Session replay
Masked recordings as readable transcripts.
Setup verification
Agent tests each part and runs a setup check.
Human claim link
A person can take over via a dashboard.

Good for

  • Let a coding agent set up the whole marketing stack on a new site
  • Create an inbox to receive a verification email in a workflow
  • Migrate a GTM container and test conversions
  • Get a handover dashboard for a client

Pricing

Open source

Free hosted; open source and self-hostable

Prices change. Check agentfirststack.com before you buy.

AgentFirstStack FAQ

Is it free?

Hosted use is described as free and the project is open source.

Can I self-host?

Yes, on Cloudflare Workers.

Which ad platforms does Tags support?

GA4, Google Ads, Meta, TikTok, LinkedIn, Pinterest, Reddit, Snap and X.

How does a person take over?

Through a claim link and Google sign-in.

Is AgentFirstStack free?

Yes. AgentFirstStack is open source, so you can use and self-host it for free.

How do I add AgentFirstStack to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://agentfirststack.com/mcp

What are the best alternatives to AgentFirstStack?

The closest alternatives to AgentFirstStack are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and Calven.

Alternatives to AgentFirstStack

  1. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data
  2. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  3. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  4. World Monitor

    MCP server

    Live geopolitical intelligence dashboard with an API and MCP server for agents

    • Remote
    • Freemium
    • Analytics and data
  5. Calven

    MCP server

    Product marketing context from Calven delivered into Claude, ChatGPT and other AI tools

    Not checked yet
    • Remote
    • Free trial
    • 3 GitHub stars
    • Marketing and SEO
  6. CompanyData

    MCP server

    Search and enrich company records from official registers via the CompanyData API

    • 3 tools
    • Remote
    • Paid
    • 3 GitHub stars
    • Analytics and data