Skip to content
MCP server

Klaviyo MCP

Klaviyo MCP: campaigns, flows, segments, metrics, reports, profiles across many…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.0
Listing updated
4 days ago

About Klaviyo MCP

Klaviyo MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Klaviyo MCP: campaigns, flows, segments, metrics, reports, profiles across many accounts. 24 tools.

Install

Run in a terminal

claude mcp add klaviyo-mcp --env KLAVIYO_KEY_MAIN='<KLAVIYO_KEY_MAIN>' -- npx -y @scalably-io/klaviyo-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "klaviyo-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@scalably-io/klaviyo-mcp"
      ],
      "env": {
        "KLAVIYO_KEY_MAIN": "<KLAVIYO_KEY_MAIN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "klaviyo-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@scalably-io/klaviyo-mcp"
      ],
      "env": {
        "KLAVIYO_KEY_MAIN": "<KLAVIYO_KEY_MAIN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "klaviyo-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@scalably-io/klaviyo-mcp"
      ],
      "env": {
        "KLAVIYO_KEY_MAIN": "<KLAVIYO_KEY_MAIN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "klaviyo-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@scalably-io/klaviyo-mcp"
      ],
      "env": {
        "KLAVIYO_KEY_MAIN": "<KLAVIYO_KEY_MAIN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "klaviyo-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@scalably-io/klaviyo-mcp"
      ],
      "env": {
        "KLAVIYO_KEY_MAIN": "<KLAVIYO_KEY_MAIN>"
      }
    }
  }
}

Configuration

  • KLAVIYO_KEY_MAINPrivate API key for your main Klaviyo account. Add more accounts with extra KLAVIYO_KEY_<name> variables.Required
  • KLAVIYO_API_BASEKlaviyo API base URL, default https://a.klaviyo.com/api
  • KLAVIYO_RETRY_BASE_MSBase delay in milliseconds for the retry backoff, default 1000

Pricing

Open source

Prices change. Check scalably.io before you buy.

Klaviyo MCP FAQ

Is Klaviyo MCP free?

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

How do I add Klaviyo MCP to Claude Code?

Run this command in your terminal: claude mcp add klaviyo-mcp --env KLAVIYO_KEY_MAIN='<KLAVIYO_KEY_MAIN>' -- npx -y @scalably-io/klaviyo-mcp