Kayzen Analytics

Kayzen Analytics

springwq

Connects to Kayzen Analytics API to retrieve and analyze advertising campaign data and performance metrics.

Integrates with Kayzen Analytics API to access and analyze marketing campaign data, providing tools for report listing, data fetching with date filtering, and performance optimization insights.

1287 views4Local (stdio)

What it does

  • List available Kayzen analytics reports
  • Fetch report results with date filtering
  • Analyze campaign performance data
  • Access advertising metrics and insights
  • Manage authentication tokens automatically

Best for

Digital marketers analyzing ad campaign performanceData analysts working with advertising metricsMarketing teams optimizing campaign strategies
Automated token managementTypeScript implementationDate range filtering

About Kayzen Analytics

Kayzen Analytics is a community-built MCP server published by springwq that provides AI assistants with tools and capabilities via the Model Context Protocol. Kayzen Analytics integrates marketing analytics with powerful tools for campaign analysis, reporting, and performance op It is categorized under analytics data.

How to install

You can install Kayzen Analytics in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Kayzen Analytics is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Kayzen Analytics MCP Server

A Model Context Protocol (MCP) server implementation for interacting with Kayzen Analytics API. This package enables AI models to access and analyze Kayzen advertising campaign data through a standardized interface.

Features

  • Automated Authentication: Built-in token management with automatic refresh mechanism
  • Report Management: Easy access to Kayzen analytics reports
  • Error Handling: Comprehensive error handling for API interactions
  • TypeScript Support: Full TypeScript implementation with type definitions
  • Environment Based Configuration: Simple setup using environment variables

Installation

npm install @feedmob-ai/kayzen-mcp

Configuration

Create a .env file with your Kayzen credentials:

KAYZEN_USERNAME=your_username
KAYZEN_PASSWORD=your_password
KAYZEN_BASIC_AUTH=your_basic_auth_token
KAYZEN_BASE_URL=https://api.kayzen.io/v1  # Optional, defaults to this value

Usage

Basic Setup

import { KayzenMCPServer } from '@feedmob-ai/kayzen-mcp';

const server = new KayzenMCPServer();
server.start();

Available Tools

1. list_reports

Lists all available reports from Kayzen Analytics.

  • Inputs: None
  • Returns: Array of report objects containing:
    • id: Report identifier
    • name: Report name
    • type: Report type
const reports = await server.tools.list_reports();

2. get_report_results

Retrieves results for a specific report.

  • Inputs:
    • report_id (string, required): ID of the report to fetch
    • start_date (string, optional): Start date in YYYY-MM-DD format
    • end_date (string, optional): End date in YYYY-MM-DD format
  • Returns: Report data and metadata
const results = await server.tools.get_report_results({
  report_id: 'report_id',
  start_date: '2024-01-01',  // optional
  end_date: '2024-01-31'     // optional
});

3. analyze_report_results (Prompt)

Analyzes report results and provides insights.

  • Inputs:
    • report_id (string): ID of the report to analyze
  • Analysis includes:
    • Performance metrics
    • Key trends
    • Areas for optimization
    • Unusual patterns or anomalies

Setup

Usage with Claude Desktop

To use this with Claude Desktop, add the following to your claude_desktop_config.json:

NPX

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": [
        "-y",
        "@feedmob-ai/kayzen-mcp"
      ],
      "env": {
        "KAYZEN_USERNAME": "username",
        "KAYZEN_PASSWORD": "pasword",
        "KAYZEN_BASIC_AUTH": "auth token"
      }
    }
  }
}

Development

Prerequisites

  • Node.js (v16 or higher)
  • npm (v7 or higher)
  • Kayzen API credentials

Scripts

# Install dependencies
npm install

# Build the project
npm run build

# Start the server
npm start

# Development mode with hot-reload
npm run dev

Project Structure

kayzen-mcp/
├── src/
│   ├── server.ts        # MCP server implementation
│   └── kayzen-client.ts # Kayzen API client
├── dist/               # Compiled JavaScript
└── package.json       # Project configuration

Dependencies

Main dependencies:

  • @modelcontextprotocol/sdk: ^1.7.0
  • axios: ^1.8.3
  • dotenv: ^16.4.7
  • zod: ^3.24.2

Error Handling

The server handles various error scenarios:

  • Authentication failures
  • Invalid API requests
  • Network issues
  • Token expiration and refresh
  • Invalid parameters

License

MIT License

Author

FeedMob

Alternatives

Related Skills

Browse all skills
data-storytelling

Transform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.

27
content-trend-researcher

Advanced content and topic research skill that analyzes trends across Google Analytics, Google Trends, Substack, Medium, Reddit, LinkedIn, X, blogs, podcasts, and YouTube to generate data-driven article outlines based on user intent analysis

23
data-scientist

Expert data scientist for advanced analytics, machine learning, and statistical modeling. Handles complex data analysis, predictive modeling, and business intelligence. Use PROACTIVELY for data analysis tasks, ML modeling, statistical analysis, and data-driven insights.

13
google-analytics

Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.

13
senior-data-scientist

World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics. Expertise in Python (NumPy, Pandas, Scikit-learn), R, SQL, statistical methods, A/B testing, time series, and business intelligence. Includes experiment design, feature engineering, model evaluation, and stakeholder communication. Use when designing experiments, building predictive models, performing causal analysis, or driving data-driven decisions.

8
backend-dev-guidelines

Comprehensive backend development guide for Langfuse's Next.js 14/tRPC/Express/TypeScript monorepo. Use when creating tRPC routers, public API endpoints, BullMQ queue processors, services, or working with tRPC procedures, Next.js API routes, Prisma database access, ClickHouse analytics queries, Redis queues, OpenTelemetry instrumentation, Zod v4 validation, env.mjs configuration, tenant isolation patterns, or async patterns. Covers layered architecture (tRPC procedures → services, queue processors → services), dual database system (PostgreSQL + ClickHouse), projectId filtering for multi-tenant isolation, traceException error handling, observability patterns, and testing strategies (Jest for web, vitest for worker).

7