# Klaviyo (MCP Server)

> Analyze Klaviyo campaigns, flows and audiences with an AI assistant

- Type: MCP server
- Publisher: Klaviyo (official)
- Categories: Marketing, Sales & CRM
- Website: https://developers.klaviyo.com/en/docs/klaviyo_mcp_server
- Docs: https://developers.klaviyo.com/en/docs/connect_to_the_klaviyo_mcp_server
- Transport: streamable-http
- Server URL: https://mcp.klaviyo.com/mcp
- Launch command: uvx klaviyo-mcp-server@latest
- Sign-in: oauth
- Environment variables: PRIVATE_API_KEY, READ_ONLY
- Listed: 2025-08-01

## About

Klaviyo's official MCP server connects AI tools to your Klaviyo account so they can work with your email and SMS marketing data. The recommended setup is the remote server with OAuth and dynamic client registration; a local server is also available via uvx using a private API key, with read-only mode as an option.

## Install

1. **Connect it in ChatGPT** Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://mcp.klaviyo.com/mcp as the MCP server URL, then sign in with OAuth. Add it to a chat from the composer's tools menu.

2. **Or add it to Codex or the API**

   Codex CLI:

   ```bash
   codex mcp add klaviyo --url https://mcp.klaviyo.com/mcp
   codex mcp login klaviyo
   ```

   config.toml:

   ```toml
   [mcp_servers.klaviyo]
   url = "https://mcp.klaviyo.com/mcp"
   ```

   Responses API:

   ```python
   import os
   from openai import OpenAI
   
   client = OpenAI()
   
   response = client.responses.create(
       model="gpt-6-astra",
       tools=[{
           "type": "mcp",
           "server_label": "klaviyo",
           "server_url": "https://mcp.klaviyo.com/mcp",
           "authorization": os.environ["PRIVATE_API_KEY"],
           "require_approval": "never",
       }],
       input="Which email campaigns had the best click rate last month?",
   )
   print(response.output_text)
   ```

## Example prompts

- "Which email campaigns had the best click rate last month?"
- "Summarize performance of the abandoned cart flow"
- "How many profiles are in the VIP segment?"
- "Draft a campaign for our weekend sale to engaged subscribers"

## Also available as

- app: [Klaviyo](https://chatgptplugins.directory/apps/klaviyo.md)

## Related

- [WordPress.com](https://chatgptplugins.directory/mcp/wordpress-com.md): Draft, edit and manage posts, pages and comments on your WordPress.com sites
- [Google Analytics](https://chatgptplugins.directory/mcp/google-analytics.md): Run GA4 reports and realtime queries from your AI assistant
- [Salesforce DX MCP](https://chatgptplugins.directory/mcp/salesforce-dx.md): Salesforce developer tools: deploy metadata, run SOQL and Apex tests
- [Resend](https://chatgptplugins.directory/mcp/resend.md): Send emails and manage Resend contacts, domains and broadcasts
- [Contentful](https://chatgptplugins.directory/mcp/contentful.md): Manage Contentful entries, content types, assets and releases from an agent
- [Webflow](https://chatgptplugins.directory/mcp/webflow.md): Read and update Webflow sites, CMS collections, pages, and designs

---
Source: https://chatgptplugins.directory/mcp/klaviyo · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
