Klaviyo MCP Server (Beta)
The Klaviyo Model Context Protocol (MCP) server integrates with Klaviyo's APIs, allowing you to interact with your Klaviyo data using a variety of MCP clients. For a detailed guide on how to set up and use this server, see our Klaviyo MCP server guide.
Prerequisites
- uv
- A compatible MCP client (e.g., Cursor). Note: This server runs locally, so web-based clients such as ChatGPT are not supported at this time.
Quickstart
Create a Klaviyo private API key
To utilize all available tools, create a Klaviyo private API key with the following permissions:
| Scope | Access |
|---|---|
| Accounts | Read |
| Campaigns | Full |
| Catalogs | Read |
| Events | Full |
| Flows | Read |
| Images | Full |
| List | Read |
| Metrics | Read |
| Profiles | Full |
| Segments | Full |
| Subscriptions | Full |
| Tags | Read |
| Templates | Full |
Install uv
For macOS and Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
For Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Add the server to your MCP client
For guidance on securely configuring your MCP client, refer to our Klaviyo MCP server guide.
Available tools
| Category | Tool name | Description |
|---|---|---|
| Accounts | get_account_details |
Get details of your account. |
| Campaigns | get_campaigns |
List your campaigns. |
| Campaigns | get_campaign |
Get details of a campaign. |
| Campaigns | create_campaign |
Create a campaign. |
| Campaigns | assign_template_to_campaign_message |
Assign an email template to a campaign message. |
| Catalogs | get_catalog_items |
List your catalog items. |
| Events | get_events |
List events. |
| Events | create_event |
Create an event for a profile. |
| Events | get_metrics |
List event metrics. |
| Events | get_metric |
Get details of an event metric. |
| Flows | get_flows |
List your flows. |
| Flows | get_flow |
Get details of a flow. |
| Groups | get_lists |
List your lists. |
| Groups | get_list |
Get details of a list. |
| Groups | get_segments |
List your segments. |
| Groups | get_segment |
Get details of a segment. |
| Images | upload_image_from_file |
Upload image from a local file. |
| Images | upload_image_from_url |
Upload image from a URL. |
| Profiles | get_profiles |
List your profiles. |
| Profiles | get_profile |
Get details of a profile. |
| Profiles | create_profile |
Create a profile. |
| Profiles | update_profile |
Update a profile. |
| Profiles | subscribe_profile_to_marketing |
Subscribe a profile to marketing for a given channel and list. |
| Profiles | unsubscribe_profile_from_marketing |
Unsubscribe a profile from marketing for a given channel and list. |
| Reporting | get_campaign_report |
Get a report of your campaign performance. |
| Reporting | get_flow_report |
Get a report of your flow performance. |
| Templates | create_email_template |
Create an HTML email template. |
| Templates | get_email_template |
Get the details of an email template. |
Metadata
Release files for klaviyo-mcp-server 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| klaviyo_mcp_server-0.4.2.tar.gz | 66.7 kB | Without provenance | Details for klaviyo_mcp_server-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| klaviyo_mcp_server-0.4.2-py3-none-any.whl | Python 3 | none | any | Details for klaviyo_mcp_server-0.4.2-py3-none-any.whl |
Total release size: 110.3 kB
Release files / klaviyo_mcp_server-0.4.2.tar.gz
| Download URL | klaviyo_mcp_server-0.4.2.tar.gz |
|---|---|
| Size | 66.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ad7e4af8433af87b1287f828fe4a42617d8f7d816b230490791ce815f1ccfa3
|
|
BLAKE2b-256 checksum How to use checksums |
d12cbafa2153259415a525a5b8ed1228ff4b950e23dac565fc5c5ade79ac8540
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / klaviyo_mcp_server-0.4.2-py3-none-any.whl
| Download URL | klaviyo_mcp_server-0.4.2-py3-none-any.whl |
|---|---|
| Size | 43.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5583fa9fb3dad4905b0fb5d849b09e311f6fbac2d8d7f91b9cfcffa75903433
|
|
BLAKE2b-256 checksum How to use checksums |
e942397e5fb182b2c94c8453a33d7516aa233f85ad2d58b1bdd43e8b3c05a552
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for klaviyo-mcp-server 0.4.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.