Klaviyo MCP by usefulapi

v1.2.1
io.usefulapi/klaviyo Checked 3 days ago Published 1 day ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

klaviyo_get_account 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.

klaviyo_list_lists List lists

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

ParameterTypeDescription
filterstringKlaviyo filter, e.g. equals(name,"Newsletter") or contains(name,"VIP"). Allowed fields depend on the resource.
page_cursorstringpage[cursor] value taken from links.next of the previous reply.
page_sizeintegerResults per page, 1-100.
sortstringSort field, e.g. name or -created (a leading - sorts descending).

klaviyo_get_list Get list

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

ParameterTypeDescription
list_id *stringThe list id.

klaviyo_list_profiles_in_list List profiles in a list

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

ParameterTypeDescription
list_id *stringThe list id.
filterstringKlaviyo filter, e.g. equals(name,"Newsletter") or contains(name,"VIP"). Allowed fields depend on the resource.
page_cursorstringpage[cursor] value taken from links.next of the previous reply.
page_sizeintegerResults per page, 1-100.

klaviyo_list_profiles List profiles

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

ParameterTypeDescription
filterstringKlaviyo filter, e.g. equals(name,"Newsletter") or contains(name,"VIP"). Allowed fields depend on the resource.
page_cursorstringpage[cursor] value taken from links.next of the previous reply.
page_sizeintegerResults per page, 1-100.
sortstringSort field, e.g. name or -created (a leading - sorts descending).

klaviyo_get_profile Get profile

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

ParameterTypeDescription
profile_id *stringThe profile id.

klaviyo_list_segments List segments

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

ParameterTypeDescription
filterstringKlaviyo filter, e.g. equals(name,"Newsletter") or contains(name,"VIP"). Allowed fields depend on the resource.
page_cursorstringpage[cursor] value taken from links.next of the previous reply.
page_sizeintegerResults per page, 1-100.
sortstringSort field, e.g. name or -created (a leading - sorts descending).

klaviyo_list_campaigns List campaigns

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.

ParameterTypeDescription
filterstringKlaviyo filter, e.g. equals(name,"Newsletter") or contains(name,"VIP"). Allowed fields depend on the resource.
page_cursorstringpage[cursor] value taken from links.next of the previous reply.
page_sizeintegerResults per page, 1-100.
sortstringSort field, e.g. name or -created (a leading - sorts descending).

klaviyo_get_campaign Get campaign

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

ParameterTypeDescription
campaign_id *stringThe campaign id.

klaviyo_list_flows List flows

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.

ParameterTypeDescription
filterstringKlaviyo filter, e.g. equals(name,"Newsletter") or contains(name,"VIP"). Allowed fields depend on the resource.
page_cursorstringpage[cursor] value taken from links.next of the previous reply.
page_sizeintegerResults per page, 1-100.
sortstringSort field, e.g. name or -created (a leading - sorts descending).

klaviyo_get_flow Get flow

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

ParameterTypeDescription
flow_id *stringThe flow id.

klaviyo_list_metrics List metrics

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.

ParameterTypeDescription
filterstringKlaviyo filter, e.g. equals(name,"Newsletter") or contains(name,"VIP"). Allowed fields depend on the resource.
page_cursorstringpage[cursor] value taken from links.next of the previous reply.

klaviyo_list_events List events

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.

ParameterTypeDescription
filterstringKlaviyo filter, e.g. equals(name,"Newsletter") or contains(name,"VIP"). Allowed fields depend on the resource.
page_cursorstringpage[cursor] value taken from links.next of the previous reply.
page_sizeintegerResults per page, 1-100.
sortstringSort field, e.g. name or -created (a leading - sorts descending).

klaviyo_list_templates List templates

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

ParameterTypeDescription
filterstringKlaviyo filter, e.g. equals(name,"Newsletter") or contains(name,"VIP"). Allowed fields depend on the resource.
page_cursorstringpage[cursor] value taken from links.next of the previous reply.
page_sizeintegerResults per page, 1-100.
sortstringSort field, e.g. name or -created (a leading - sorts descending).

klaviyo_list_tags List tags

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

ParameterTypeDescription
filterstringKlaviyo filter, e.g. equals(name,"Newsletter") or contains(name,"VIP"). Allowed fields depend on the resource.
page_cursorstringpage[cursor] value taken from links.next of the previous reply.
page_sizeintegerResults per page, 1-100.

klaviyo_create_list Create list

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

ParameterTypeDescription
name *stringName of the new list.

klaviyo_add_profiles_to_list Add profiles to list

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.

ParameterTypeDescription
list_id *stringThe list id.
profile_ids *arrayProfile ids to add (1-100).

klaviyo_create_profile Create profile

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.

ParameterTypeDescription
emailstringEmail address.
external_idstringYour own id for this contact.
first_namestring
last_namestring
phone_numberstringPhone number in E.164 format, e.g. +15555550100.
propertiesobjectCustom properties as key-value pairs.

klaviyo_update_profile Update profile

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

ParameterTypeDescription
profile_id *stringThe profile id.
emailstringNew email address.
first_namestring
last_namestring
phone_numberstringNew phone number in E.164 format.
propertiesobjectCustom properties to set.