How to Use the Klaviyo MCP in Claude Code
Pipe customer data and manage Klaviyo flows directly from your terminal using Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Klaviyo MCP to Claude Code
Create your Vinkius account to connect Klaviyo to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Query customer profiles from the CLI
Claude Code lets you query your Klaviyo marketing database without a GUI. You can search for specific Klaviyo users using `get_profile` or list entire batches of users with `list_profiles` right in your Claude Code session. Pipe the output of this MCP Server to other command-line tools to process your Klaviyo data inside Claude Code. You can grep for specific domain names in your Klaviyo profiles or export customer details to local JSON files instantly using Claude Code.
Track terminal events and metrics
Send system events directly to your Klaviyo marketing dashboard using Claude Code. Use `track_event` in Claude Code to record deployment successes directly in your Klaviyo dashboard. You can quickly inspect what Klaviyo events are active directly in Claude Code. Claude Code calls `list_metrics` to show you your Klaviyo tracking setup without making you open a web browser.
Manage campaigns via Claude Code shell commands
Control your Klaviyo marketing campaigns directly from your Claude Code command line. Claude Code uses `list_campaigns` to fetch your sent messages and `list_automated_flows` to audit your active Klaviyo marketing sequences. You can also inspect Klaviyo webhooks using Claude Code. Claude Code calls `list_webhooks` to let you verify that your server endpoints are active and receiving Klaviyo event data.
Set up Klaviyo MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeklaviyo-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Klaviyo transactions." It will automatically discover and invoke the available Klaviyo tools.
claude mcp add --transport http klaviyo-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Klaviyo MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Klaviyo MCP today
We host it, we monitor it, we maintain it. You just paste one token.