Klaviyo MCP by usefulapi
Read lists, profiles, campaigns and flows, and create lists or update profiles in Klaviyo.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"klaviyo": {
"url": "https://klaviyo.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://klaviyo.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (19)
🟢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.
Eingabe-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.
Eingabe-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}.
Eingabe-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.
Eingabe-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.
Eingabe-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}.
Eingabe-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.
Eingabe-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.
Eingabe-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}.
Eingabe-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.
Eingabe-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}.
Eingabe-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.
Eingabe-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.
Eingabe-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.
Eingabe-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.
Eingabe-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.
Eingabe-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.
Eingabe-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.
Eingabe-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}.
Eingabe-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
Nachweis