Klaviyo MCP
Manage Klaviyo profiles, lists, segments, campaigns, flows, events and reporting through Klaviyo's hosted remote MCP server.
Verdict
Common use cases
- Pull campaign open rates during standup
- Check customer lifecycle stage before outreach
- Compare segment sizes across product launches
- Verify email delivery status for support tickets
- Export cohort metrics for quarterly reviews
Integration
- Vendor
- Klaviyo MCP
- Category
- other
- Auth
- OAUTH2
- Tools
- 50
- Composio slug
klaviyo_mcp
Tools
- Add categories to catalog item
Create a new catalog category relationship for the given item ID.
- Add items to catalog category
Create a new item relationship for the given category ID.
- Add profiles to list
Add a profile to a list with the given list ID. It is recommended that you use the Subscribe Profiles endpoint if you're trying to give a profile consent to receive email marketing, SMS marketing, or both. This endpoint accepts a maximum
- Ask analytics question
Answers a natural-language question about the data in this Klaviyo account, using an LLM over the account's profiles, events, and metrics. Read-only. IMPORTANT: Results are scoped to the API key's resource scopes. Data the key cannot read i
- Assign template to campaign message
Assigns an email template to a campaign message. This should be used after creating a template with the create_email_template tool and creating an email campaign.
- Bulk create catalog items
Create a catalog item bulk create job to create a batch of catalog items. Accepts up to 100 catalog items per request. The maximum allowed payload size is 5MB. The maximum number of jobs in progress at one time is 500.
- Bulk create catalog variants
Create a catalog variant bulk create job to create a batch of catalog variants. Accepts up to 100 catalog variants per request. The maximum allowed payload size is 5MB. The maximum number of jobs in progress at one time is 500.
- Bulk create coupon codes
Create a coupon-code-bulk-create-job to bulk create a list of coupon codes. Max number of coupon codes per job we allow for is 1000. Max number of jobs queued at once we allow for is 100.
- Bulk create data source records
Create a bulk data source record import job to create a batch of records. Accepts up to 500 records per request. The maximum allowed payload size is 4MB. The maximum allowed payload size per-record is 512KB. To learn more, see our Custom
- Bulk create events
Create a batch of events for one or more profiles. Note that this endpoint allows you to create new profiles or update existing profile properties. At a minimum, profile and metric objects should include at least one profile identifier (e
- Bulk delete catalog itemsdestructive
Create a catalog item bulk delete job to delete a batch of catalog items. Accepts up to 100 catalog items per request. The maximum allowed payload size is 5MB. The maximum number of jobs in progress at one time is 500.
- Bulk delete catalog variantsdestructive
Create a catalog variant bulk delete job to delete a batch of catalog variants. Accepts up to 100 catalog variants per request. The maximum allowed payload size is 5MB. The maximum number of jobs in progress at one time is 500.
- Bulk delete object recordsdestructive
Delete a batch of object records. Accepts up to 500 object record IDs per request. The maximum allowed payload size is 5MB.
- Bulk import profiles
Create a bulk profile import job to create or update a batch of profiles. Accepts up to 10,000 profiles per request. The maximum allowed payload size is 5MB. The maximum allowed payload size per-profile is 100KB. To learn more, see our Bu
- Bulk suppress profiles
Manually suppress profiles by email address or specify a segment/list ID to suppress all current members of a segment/list. Suppressed profiles cannot receive email marketing, independent of their consent status. To learn more, see our gui
- Bulk unsuppress profiles
Manually unsuppress profiles by email address or specify a segment/list ID to unsuppress all current members of a segment/list. This only removes suppressions with reason USER_SUPPRESSED ; unsubscribed profiles and suppressed profiles with
- Bulk update catalog items
Create a catalog item bulk update job to update a batch of catalog items. Accepts up to 100 catalog items per request. The maximum allowed payload size is 5MB. The maximum number of jobs in progress at one time is 500.
- Bulk update catalog variants
Create a catalog variant bulk update job to update a batch of catalog variants. Accepts up to 100 catalog variants per request. The maximum allowed payload size is 5MB. The maximum number of jobs in progress at one time is 500.
- Cancel campaign send
Cancel or revert the send of a currently sending or scheduled campaign message. The id is a campaign message ID, not a campaign ID. Get the message IDs of a campaign with get_campaign_messages, filtered on the campaign ID. action='cancel' p
- Clone campaign audience
Clone an existing campaign audience to a target campaign.
- Clone campaign message
Clone an existing campaign message to a target audience.
- Clone email template
Create a clone of an existing email template. Returns the new template with a copy of the source template's content (HTML, text, AMP, and DND definition). Cloning counts toward the 1,000-templates-per-account limit. Optionally pass a name t
- Clone universal content
Create a clone of the universal content with the given ID.
- Create agent knowledge
Adds an Agent Knowledge item from a text snippet (``source.source_type: snippet``, requires ``title`` and ``content``), a single URL (``source.source_type: webpage``, requires ``url``), a Q&A pair (``source.source_type: qa``, requires ``que
- Create agent skill
Adds a skill to Customer Agent. Customer Agent will invoke this skill when the customer message matches its ``description``. Provide ``display_name``, ``description`` (summary of the skill's capabilities and when it should be used), ``inst
- Create agent tool
Adds a new external HTTP tool Customer Agent skills can call. Provide protocol details (method, URL, query parameter, header, and body templates using Jinja-style ``{{variable_name}}`` syntax) and declare the variables those templates refe
- Create back in stock subscription
Subscribe a profile to receive back in stock notifications. Check out our Back in Stock API guide for more details. This endpoint is specifically designed to be called from server-side applications. To create subscriptions from client-side
- Create brand button
Create a new brand button.
- Create brand color
Create a new brand color group.
- Create brand logo
Create a new brand logo.
- Create brand social group
Create a new brand social group.
- Create campaign
Creates a new draft campaign. Audiences take real list or segment IDs from get_lists or get_segments, never placeholders; look one up first, even for a test campaign. A campaign holds default send settings (timezone, send strategy, exit con
- Create campaign audience
Create a campaign audience.
- Create campaign clone
Clones an existing campaign, returning a new campaign based on the original with a new ID and name.
- Create campaign message
Create a message on an existing campaign. Each message belongs to one of the campaign's audiences and sends on one channel. Provide its variation inline in attributes.variations, or add it afterwards with create_campaign_variation. Email me
- Create campaign variation
Create a variation for an existing campaign message: the content it sends, such as the email template_id, subject, preview text, and sender details. Use this to add the first variation to a message created without one, or to add another var
- Create catalog category
Create a new catalog category.
- Create catalog item
Create a new catalog item.
- Create catalog variant
Create a new variant for a related catalog item.
- Create coupon
Creates a new coupon.
- Create coupon code
Synchronously creates a coupon code for the given coupon.
- Create customer agent response
Sends one or more messages to Customer Agent and returns every public event it emits in response, including structured data such as orders and products. Multiple messages can be attached, if the user has sent multiple or another agent's re
- Create custom metric
Create a new custom metric. Custom metric objects must include a `name` and `definition`.
- Create data source
Create a new data source in an account
- Create data source record
Create a data source record import job to create a single record. The maximum allowed payload size per-record is 512KB. To learn more, see our Custom Objects API overview.
- Create email template
Create a new HTML email template (CODE or USER_DRAGGABLE editor type). For drag-and-drop (SYSTEM_DRAGGABLE) templates, use create_or_update_dnd_email_template instead. Returns the ID of the template. You can view and edit a template in the
- Create event
Create a new event to track a profile's activity. Note that this endpoint allows you to create a new profile or update an existing profile's properties. At a minimum, profile and metric objects should include at least one profile identifi
- Create flow
Create a new flow using an encoded flow definition. New objects within the flow definition, such as actions, will need to use a `temporary_id` field for identification. These will be replaced with traditional `id` fields after successful c
- Create list
Create a new list.
- Create object schema
Create an object schema.
Setup
Setup guide
- 11. Open your Switchy workspace and navigate to Settings > Integrations > Browse MCP Servers. 2. Search for Klaviyo MCP and click Connect. 3. You'll be redirected to Klaviyo's OAuth consent screen—log in with an account that has API access enabled. 4. Grant read permissions for profiles, metrics, campaigns, and segments (write scopes are optional unless you plan to update profiles). 5. After authorizing, Switchy redirects you back and confirms the connection is live. 6. Open any Project and type '@Klaviyo' followed by a question like 'show me open rates for last week's campaign' to test the integration. 7. If the MCP responds with data, you're ready—if it errors, revisit Settings > Integrations to check token status.
What teammates see: by default, memories from Klaviyo MCP are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Projects have used this MCP together with a given model.
How Switchy teams use it
Starter prompts
Campaign Performance Snapshot
@Klaviyo show me the open rate, click rate, and total recipients for all campaigns sent in the last 14 days, sorted by send date.
Customer Profile Lookup
@Klaviyo find the profile for email address customer@example.com and list their last five interactions with our emails.
Segment Size Check
@Klaviyo list all active segments in our account and show the current member count for each one.
Flow Performance Review
@Klaviyo get the total revenue, conversion rate, and recipient count for each active flow over the past 30 days.
Deliverability Audit
@Klaviyo show me the bounce rate and unsubscribe rate for every campaign sent this month, highlighting any above 2%.
Example outputs
Illustrative - representative of the model's voice and quality, not literal recordings.
@klaviyo show me the last 50 subscribers who joined our newsletter in the past week, grouped by signup source
Retrieved 47 subscribers added between Jan 15-22, 2025. Breakdown: 23 from homepage widget, 18 from blog footer form, 6 from checkout opt-in. Top properties captured: email, first_name, utm_source. All profiles are in the 'Newsletter' list with 'subscribed' consent status. No suppressed or bounced addresses in this cohort.
This example assumes the OAuth token grants read access to profiles and lists. Klaviyo's API paginates results; the MCP likely fetches one page unless configured otherwise. Useful for auditing recent growth, but won't show historical trends beyond the query window.
@klaviyo create a new segment called 'High-Value Lapsed' for customers who spent over $500 but haven't opened an email in 90 days
Segment 'High-Value Lapsed' created with ID seg_abc123. Definition: profile.total_spent > 500 AND last_email_open < 90 days ago. Currently matches 142 profiles. Segment is dynamic and will update as customer behavior changes. You can now target this segment in campaigns or flows.
Requires write access to segments via OAuth. The MCP translates natural language into Klaviyo's segment condition syntax, but complex logic (nested AND/OR, custom properties) may need manual refinement in the Klaviyo UI. Segment creation is immediate; no undo via MCP.
@klaviyo analyze our last 5 campaigns and tell me which subject lines drove the highest open rates for mobile users
Analyzed campaigns sent Jan 1-22, 2025. Mobile open rates: 'Flash Sale Ends Tonight' (34.2%), 'Your Cart Misses You' (29.8%), 'New Arrivals Just Dropped' (27.1%), 'Exclusive: Early Access' (24.5%), 'Thanks for Being Awesome' (22.3%). Urgency-driven subject lines outperformed gratitude messaging by 11.9 percentage points on mobile. Desktop rates showed less variance.
This synthesis example combines campaign metrics retrieval with AI-driven pattern recognition. The MCP fetches raw stats; the AI interprets trends. Accuracy depends on Klaviyo's device attribution (some clients misreport). Use this for hypothesis generation, not final reporting—export full data for stakeholder decks.
Use-case deep-dives
Klaviyo MCP for comparing email variant performance
A 4-person growth team runs split tests on welcome emails, testing subject lines and CTA copy. After each test, they need to compare open rates, click-through rates, and conversion events across variants. The Klaviyo MCP works if you're running 2+ A/B tests a month and need to pull results into a shared workspace for discussion. OAuth2 keeps test data accessible without sharing a single login. The catch: if you're only testing once a quarter, or if your tests are simple enough that Klaviyo's built-in reports answer your questions, the MCP adds friction you don't need. But if you're layering Klaviyo results with product analytics or customer data from other tools—say, matching email clicks to in-app behavior—having Klaviyo queryable in Switchy makes the cross-tool analysis faster. Worth it once testing becomes a weekly habit.
Frequently asked
What does the Klaviyo MCP do in Switchy?
It connects your Klaviyo account to Switchy's AI workspace so your team can query customer data, segment information, and campaign metrics through natural language. Your AI agents can pull subscriber lists, check email performance, and reference customer profiles without switching tabs. The MCP uses OAuth2, so Klaviyo credentials stay secure and you control which account data Switchy can access.
Do I need admin access to connect Klaviyo?
Yes, you'll need account owner or admin permissions in Klaviyo to complete the OAuth2 flow. Klaviyo's API access is tied to account-level permissions, not individual user roles. If you're a contributor or analyst in Klaviyo, ask your admin to connect the integration. Once connected, your whole Switchy workspace can reference the data within the scopes you approved during setup.
Can the Klaviyo MCP send emails or trigger campaigns?
Not yet. The current MCP focuses on read access — querying subscriber data, segment details, and campaign performance. It won't create flows, send one-off emails, or modify customer profiles. If you need to automate sends, use Klaviyo's native API or Zapier. The MCP is for pulling context into AI conversations, not replacing your marketing automation stack.
How is this different from using Klaviyo's dashboard directly?
The MCP lets your team ask questions in plain English instead of clicking through Klaviyo's interface. Instead of exporting a CSV to check segment overlap or opening five tabs to compare campaign stats, you ask Switchy and the AI queries Klaviyo in real time. It's faster for ad-hoc analysis and keeps your team in one workspace, but you'll still use Klaviyo's dashboard for campaign creation and design work.
Who on the team should connect the Klaviyo integration?
Your marketing ops lead or whoever owns Klaviyo admin access. They'll authenticate once via OAuth2, and the connection persists for your entire Switchy workspace. After that, any team member in Switchy can query Klaviyo data through AI agents, subject to the scopes approved during setup. The connection doesn't count against Klaviyo's user seat limits or Switchy's plan caps.