Klaviyo MCP by usefulapi

Read lists, profiles, campaigns and flows, and create lists or update profiles in Klaviyo.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
90%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~3,237Tokens (tool definitions)
~1.2 KBTypical response size
Significant attention impact (2.53% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "klaviyo": {
      "url": "https://klaviyo.usefulapi.io/mcp"
    }
  }
}

Remote endpoints

https://klaviyo.usefulapi.io/mcpstreamable-http

What it can do

Tool inventory

Tools (19)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢klaviyo_get_account

Get the Klaviyo account the private API key belongs to (name, contact information, industry, timezone). Good first call to confirm the connection. GET /api/accounts.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_list_lists(filter, page_cursor, page_size, sort)

List the account's lists (static audiences used for sends, flow triggers and signup forms), with names and creation dates. GET /api/lists.

Input Schema

{
  "type": "object",
  "properties": {
    "filter": {
      "description": "Klaviyo filter, e.g. equals(name,\"Newsletter\") or contains(name,\"VIP\"). Allowed fields depend on the resource.",
      "type": "string"
    },
    "page_cursor": {
      "description": "page[cursor] value taken from links.next of the previous reply.",
      "type": "string"
    },
    "page_size": {
      "description": "Results per page, 1-100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "sort": {
      "description": "Sort field, e.g. name or -created (a leading - sorts descending).",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_get_list(list_id)

Get one list by id, with its name and timestamps. GET /api/lists/{id}.

Input Schema

{
  "type": "object",
  "properties": {
    "list_id": {
      "type": "string",
      "minLength": 1,
      "description": "The list id."
    }
  },
  "required": [
    "list_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_list_profiles_in_list(list_id, filter, page_cursor, page_size)

List the profiles (contacts) that belong to one list, with their email, phone and properties. GET /api/lists/{id}/profiles.

Input Schema

{
  "type": "object",
  "properties": {
    "list_id": {
      "type": "string",
      "minLength": 1,
      "description": "The list id."
    },
    "filter": {
      "description": "Klaviyo filter, e.g. equals(name,\"Newsletter\") or contains(name,\"VIP\"). Allowed fields depend on the resource.",
      "type": "string"
    },
    "page_cursor": {
      "description": "page[cursor] value taken from links.next of the previous reply.",
      "type": "string"
    },
    "page_size": {
      "description": "Results per page, 1-100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "list_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_list_profiles(filter, page_cursor, page_size, sort)

List profiles (contacts). Filter by email, phone_number, external_id or id, e.g. equals(email,"[email protected]"). Returns personal data: use only for the account owner's own contacts. GET /api/profiles.

Input Schema

{
  "type": "object",
  "properties": {
    "filter": {
      "description": "Klaviyo filter, e.g. equals(name,\"Newsletter\") or contains(name,\"VIP\"). Allowed fields depend on the resource.",
      "type": "string"
    },
    "page_cursor": {
      "description": "page[cursor] value taken from links.next of the previous reply.",
      "type": "string"
    },
    "page_size": {
      "description": "Results per page, 1-100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "sort": {
      "description": "Sort field, e.g. name or -created (a leading - sorts descending).",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_get_profile(profile_id)

Get one profile (contact) by id with its attributes and properties. GET /api/profiles/{id}.

Input Schema

{
  "type": "object",
  "properties": {
    "profile_id": {
      "type": "string",
      "minLength": 1,
      "description": "The profile id."
    }
  },
  "required": [
    "profile_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_list_segments(filter, page_cursor, page_size, sort)

List the account's segments (dynamic audiences defined by conditions), with names and timestamps. GET /api/segments.

Input Schema

{
  "type": "object",
  "properties": {
    "filter": {
      "description": "Klaviyo filter, e.g. equals(name,\"Newsletter\") or contains(name,\"VIP\"). Allowed fields depend on the resource.",
      "type": "string"
    },
    "page_cursor": {
      "description": "page[cursor] value taken from links.next of the previous reply.",
      "type": "string"
    },
    "page_size": {
      "description": "Results per page, 1-100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "sort": {
      "description": "Sort field, e.g. name or -created (a leading - sorts descending).",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_list_campaigns(filter, page_cursor, page_size, sort)

List campaigns with name, status and timestamps. Filter by name, archived, builder, created_at or updated_at, e.g. contains(name,"Black Friday"). GET /api/campaigns.

Input Schema

{
  "type": "object",
  "properties": {
    "filter": {
      "description": "Klaviyo filter, e.g. equals(name,\"Newsletter\") or contains(name,\"VIP\"). Allowed fields depend on the resource.",
      "type": "string"
    },
    "page_cursor": {
      "description": "page[cursor] value taken from links.next of the previous reply.",
      "type": "string"
    },
    "page_size": {
      "description": "Results per page, 1-100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "sort": {
      "description": "Sort field, e.g. name or -created (a leading - sorts descending).",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_get_campaign(campaign_id)

Get one campaign by id: name, status, send time and audience settings. GET /api/campaigns/{id}.

Input Schema

{
  "type": "object",
  "properties": {
    "campaign_id": {
      "type": "string",
      "minLength": 1,
      "description": "The campaign id."
    }
  },
  "required": [
    "campaign_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_list_flows(filter, page_cursor, page_size, sort)

List automation flows with name, status (live, draft, manual) and trigger type. Filter by name, status or archived, e.g. equals(status,"live"). GET /api/flows.

Input Schema

{
  "type": "object",
  "properties": {
    "filter": {
      "description": "Klaviyo filter, e.g. equals(name,\"Newsletter\") or contains(name,\"VIP\"). Allowed fields depend on the resource.",
      "type": "string"
    },
    "page_cursor": {
      "description": "page[cursor] value taken from links.next of the previous reply.",
      "type": "string"
    },
    "page_size": {
      "description": "Results per page, 1-100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "sort": {
      "description": "Sort field, e.g. name or -created (a leading - sorts descending).",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_get_flow(flow_id)

Get one flow by id: name, status, trigger type and timestamps. GET /api/flows/{id}.

Input Schema

{
  "type": "object",
  "properties": {
    "flow_id": {
      "type": "string",
      "minLength": 1,
      "description": "The flow id."
    }
  },
  "required": [
    "flow_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_list_metrics(filter, page_cursor)

List the metrics (event types such as Placed Order or Opened Email) that the account tracks. Use the metric ids in klaviyo_list_events. GET /api/metrics.

Input Schema

{
  "type": "object",
  "properties": {
    "filter": {
      "description": "Klaviyo filter, e.g. equals(name,\"Newsletter\") or contains(name,\"VIP\"). Allowed fields depend on the resource.",
      "type": "string"
    },
    "page_cursor": {
      "description": "page[cursor] value taken from links.next of the previous reply.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_list_events(filter, page_cursor, page_size, sort)

List tracked events (activity such as orders or email opens). Filter by metric_id, profile_id or datetime, e.g. equals(metric_id,"ABC123"). Returns personal data: use only for the account owner's own contacts. GET /api/events.

Input Schema

{
  "type": "object",
  "properties": {
    "filter": {
      "description": "Klaviyo filter, e.g. equals(name,\"Newsletter\") or contains(name,\"VIP\"). Allowed fields depend on the resource.",
      "type": "string"
    },
    "page_cursor": {
      "description": "page[cursor] value taken from links.next of the previous reply.",
      "type": "string"
    },
    "page_size": {
      "description": "Results per page, 1-100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "sort": {
      "description": "Sort field, e.g. name or -created (a leading - sorts descending).",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_list_templates(filter, page_cursor, page_size, sort)

List the account's email and SMS templates with names and timestamps. GET /api/templates.

Input Schema

{
  "type": "object",
  "properties": {
    "filter": {
      "description": "Klaviyo filter, e.g. equals(name,\"Newsletter\") or contains(name,\"VIP\"). Allowed fields depend on the resource.",
      "type": "string"
    },
    "page_cursor": {
      "description": "page[cursor] value taken from links.next of the previous reply.",
      "type": "string"
    },
    "page_size": {
      "description": "Results per page, 1-100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "sort": {
      "description": "Sort field, e.g. name or -created (a leading - sorts descending).",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢klaviyo_list_tags(filter, page_cursor, page_size)

List the account's tags, which group campaigns, flows and lists. GET /api/tags.

Input Schema

{
  "type": "object",
  "properties": {
    "filter": {
      "description": "Klaviyo filter, e.g. equals(name,\"Newsletter\") or contains(name,\"VIP\"). Allowed fields depend on the resource.",
      "type": "string"
    },
    "page_cursor": {
      "description": "page[cursor] value taken from links.next of the previous reply.",
      "type": "string"
    },
    "page_size": {
      "description": "Results per page, 1-100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴klaviyo_create_list(name)

Create a new empty list with the given name. Creates a record only; it sends nothing. POST /api/lists.

Input Schema

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Name of the new list."
    }
  },
  "required": [
    "name"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡klaviyo_add_profiles_to_list(list_id, profile_ids)

Add existing profiles to a list by profile id (max 100 per call). Does not change consent. Adding a profile can trigger flows that start on list membership. POST /api/lists/{id}/relationships/profiles.

Input Schema

{
  "type": "object",
  "properties": {
    "list_id": {
      "type": "string",
      "minLength": 1,
      "description": "The list id."
    },
    "profile_ids": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Profile ids to add (1-100)."
    }
  },
  "required": [
    "list_id",
    "profile_ids"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴klaviyo_create_profile(email, phone_number, external_id, first_name, last_name, ...)

Create a profile (contact) from email, phone, names, external id and custom properties. It does not subscribe the contact to marketing. Klaviyo returns 409 if the profile exists. POST /api/profiles.

Input Schema

{
  "type": "object",
  "properties": {
    "email": {
      "description": "Email address.",
      "type": "string",
      "format": "email",
      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    },
    "phone_number": {
      "description": "Phone number in E.164 format, e.g. +15555550100.",
      "type": "string"
    },
    "external_id": {
      "description": "Your own id for this contact.",
      "type": "string"
    },
    "first_name": {
      "type": "string"
    },
    "last_name": {
      "type": "string"
    },
    "properties": {
      "description": "Custom properties as key-value pairs.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡klaviyo_update_profile(profile_id, email, phone_number, first_name, last_name, ...)

Update the given fields of one profile by id. Fields you omit stay unchanged. PATCH /api/profiles/{id}.

Input Schema

{
  "type": "object",
  "properties": {
    "profile_id": {
      "type": "string",
      "minLength": 1,
      "description": "The profile id."
    },
    "email": {
      "description": "New email address.",
      "type": "string",
      "format": "email",
      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    },
    "phone_number": {
      "description": "New phone number in E.164 format.",
      "type": "string"
    },
    "first_name": {
      "type": "string"
    },
    "last_name": {
      "type": "string"
    },
    "properties": {
      "description": "Custom properties to set.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "required": [
    "profile_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded19 tools