Skip to main content

Overview

AudienceLab provides a remote Model Context Protocol (MCP) server that lets AI assistants interact with the AudienceLab API. Create audiences, enrich contacts, manage pixels, and more — all through natural language.
Curious how this MCP server was built? It’s generated from our OpenAPI spec — check out openapi-to-mcp on GitHub to see how it works under the hood.

Quick Setup

Add the following to your MCP client configuration:
claude mcp add audiencelab --transport http https://mcp.audiencelab.io/mcp --header "X-Api-Key: YOUR_API_KEY"
Replace YOUR_API_KEY with your AudienceLab API key.

stdio-only Clients

For MCP clients that only support stdio transport, use mcp-remote as a proxy:
{
  "mcpServers": {
    "audiencelab": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.audiencelab.io/mcp",
        "--header",
        "X-Api-Key:YOUR_API_KEY"
      ]
    }
  }
}

Available Tools

The MCP server exposes all AudienceLab API endpoints as tools:
ToolDescription
create_audienceCreate an audience with filters
get_audiencesList all audiences
audience_lookupGet audience data by ID
preview_audiencePreview audience count before creating
create_custom_audienceCreate a custom intent audience
audience_attributesGet available filter attribute values
audience_deleteDelete an audience
enrich_contactReal-time contact enrichment
create_enrichment_jobUpload records for batch enrichment
get_enrichmentsList enrichment jobs
create_pixelCreate a new pixel
get_pixelsList all pixels
pixel_lookupGet pixel events
pixel_deleteDelete a pixel

Authentication

The MCP server uses your AudienceLab API key for authentication. Pass it in the X-Api-Key header. The server forwards it to the AudienceLab API on each request. Your API key is never stored on the MCP server.