Skip to main content
Glama
Marketing Analytics AI MCP

Marketing Analytics AI MCP

MCP Scorecard: 86/100

Marketing Analytics Ai MCP

MEOK AI Labs License PyPI

Marketing analytics toolkit: campaign ROI, A/B test analysis, funnel optimization, attribution mo...

Marketing analytics toolkit: campaign ROI, A/B test analysis, funnel optimization, attribution modeling, and ad copy generation. By MEOK AI Labs.


πŸš€ Quick Start

# Install via pip
pip install marketing_analytics_ai_mcp

# Or install via Smithery
npx -y @smithery/cli@latest install marketing-analytics-ai-mcp --client claude

Related MCP server: Data Science AI MCP

✨ Features

  • MCP protocol compliant

  • Easy installation

  • Well-documented API

  • Production-ready

  • Active maintenance

πŸ“– Documentation

πŸ›‘οΈ Compliance

This MCP server is built with EU AI Act compliance built-in:

  • βœ… Article 9 β€” Risk Management System

  • βœ… Article 13 β€” Transparency & Instructions for Use

  • βœ… Article 15 β€” Bias Detection & Testing

  • βœ… Article 26 β€” FRIA Support (where applicable)

  • βœ… Article 50 β€” AI Content Watermarking (where applicable)

Need help getting compliant? Book a free 15-min diagnostic β†’

How MEOK charges

MEOK has no subscriptions and no tiers. You pay per job, and only when the agreed artifact has been delivered to you. There is no public price list. See https://meok.ai/pricing.

This repository's source is MIT-licensed and free to self-host.

🀝 Part of the MEOK Ecosystem

This server is part of the MEOK AI Labs ecosystem β€” 300+ MCP servers for sovereign AI governance.

Domain

Purpose

councilof.ai

EU AI Act compliance marketplace

safetyof.ai

AI safety & monitoring

meok.ai

Sovereign AI platform

cobolbridge.ai

Legacy modernization

πŸ“œ License

MIT Β© CSOAI-ORG



Pairs with MEOK Governance Suite

Build something that touches users? You need compliance. MEOK ships 38 governance MCPs that drop in alongside this tool β€” EU AI Act, DORA, NIS2, CRA, GDPR, ISO 42001, FDA SaMD, MDR, Basel, MiFID II, MiCA, COPPA, and more.

# One-shot install of the governance pack
npx meok-setup --pack governance

β†’ Full catalogue: councilof.ai β†’ MEOK AI Labs: meok.ai

Configuration

Add to your claude_desktop_config.json (Claude Desktop) or your MCP client config:

{
  "mcpServers": {
    "marketing-analytics-ai-mcp": {
      "command": "uvx",
      "args": ["marketing-analytics-ai-mcp"]
    }
  }
}

Or: pip install marketing-analytics-ai-mcp then run the marketing-analytics-ai-mcp command (stdio transport).

Examples

Once configured, ask your assistant, for example:

  • "Use campaign_roi to …"

  • "Use ab_test_analyze to …"

  • "Use funnel_optimizer to …"

Available Tools

5 tools
ab_test_analyzeA

Analyze A/B test results with statistical significance testing. Returns winner, z-score, p-value, lift percentage, and sample size adequacy.

Args: visitors_a: Visitors in control group (A) conversions_a: Conversions in control group (A) visitors_b: Visitors in variant group (B) conversions_b: Conversions in variant group (B) confidence_level: Required confidence level (default: 0.95)

Behavior: This tool is read-only and stateless β€” it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent β€” calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.

Inputs: visitors_a (required), visitors_b (required), conversions_a (required), conversions_b (required), +2 more.

ad_copy_generatorA

Generate ad copy variants tailored to a specific platform with proper character limits and best practices.

Args: product: Product or service name audience: Target audience description platform: Ad platform (google_search, facebook, instagram, linkedin, twitter, tiktok) tone: Copy tone (professional, casual, urgent, inspirational, humorous) cta: Call to action text (default: auto-generated based on tone)

Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent β€” calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.

Inputs: product (required), audience (required), cta, tone, +2 more.

attribution_modelA

Apply an attribution model to marketing touchpoints. Distributes conversion credit across channels based on the chosen model.

Args: touchpoints: Journey as [{"channel": "google", "timestamp": "2024-01-01", "cost": 50}, ...] model: Attribution model (first_touch, last_touch, linear, time_decay, u_shaped, w_shaped)

Behavior: This tool is read-only and stateless β€” it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results.

Inputs: touchpoints (required), model, api_key.

campaign_roiA

Calculate comprehensive campaign ROI including ROAS, CPA, CPC, CPM, CTR, conversion rate, and performance assessment with recommendations.

Args: spend: Total campaign spend in dollars revenue: Total revenue attributed to campaign conversions: Number of conversions impressions: Total ad impressions clicks: Total ad clicks period_days: Campaign duration in days

Behavior: This tool is read-only and stateless β€” it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent β€” calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.

Inputs: spend (required), revenue (required), clicks, api_key, +3 more.

funnel_optimizerA

Analyze a conversion funnel and identify the biggest leak point with optimization recommendations.

Args: stages: List of funnel stages as [{"name": "Awareness", "count": 10000}, {"name": "Interest", "count": 3000}, ...]

Behavior: This tool is read-only and stateless β€” it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results.

Inputs: stages (required), api_key.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: A/B testing, ad copy generation, attribution modeling, ROI calculation, funnel analysis. No overlap in functionality.

    Naming Consistency3/5

    Names follow a lowercase_underscore pattern but mix verb endings (analyze) with noun endings (generator, model, roi, optimizer), lacking a consistent verb_noun structure.

    Tool Count5/5

    5 tools cover a reasonable set of marketing analytics tasks without being excessive or insufficient for the domain.

    Completeness5/5

    The tools cover essential marketing analytics areas: testing, ad creation, attribution, ROI, and funnel optimization. No obvious gaps for basic analysis.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers