Skip to main content
Last updated: February 17, 2026

What is the Detrics MCP Server?

Detrics integrates with AI assistants through the Model Context Protocol (MCP). This lets you query your marketing data using natural language — from the terminal, your IDE, or directly in web-based AI chat interfaces like Claude and ChatGPT. Once connected, your AI assistant can pull metrics, list accounts, browse available fields, and even connect new platforms — all through conversational prompts.

Web Chat Interfaces

Connect Detrics to Claude or ChatGPT with no installation required. Uses OAuth — just log in with your Detrics account.

Coding Agents (Terminal & IDE)

Set up Detrics in your terminal-based coding agent with a single command and an API key.

What You Can Do

With Detrics connected to any AI assistant, you can:
  • Query marketing data — ask for spend, ROAS, conversions, revenue, and more across any connected platform
  • List your connections — see which platforms and accounts are linked to your workspace
  • Browse available fields — discover metrics and dimensions for any data source
  • List platform accounts — see all ad accounts, properties, or stores under a connection
  • Use AI Contexts — pre-select which accounts to query so you don’t have to specify them every time
  • Use Prompt Templates — 40+ pre-built prompts for common marketing analysis tasks
  • Connect new platforms — initiate OAuth flows to add new data sources
  • Check connection status — verify that a platform connection completed successfully

How It Works

Your AI Assistant (Claude / ChatGPT / Claude Code / Gemini CLI / Codex)
        |
   Detrics MCP Server (authenticated via OAuth or API key)
        |
   Detrics API (fetches data from your connected platforms)
        |
   Platform APIs (Facebook, Google, TikTok, Shopify, etc.)
For web chat interfaces (Claude, ChatGPT): You connect through OAuth directly from the Detrics web app — no API key or installation needed. For coding agents (terminal/IDE): You generate an API key, register the Detrics MCP server with a single command, and start querying.

Getting Started