Marketing Analytics AI MCP
Marketing Analytics AI MCP provides read-only marketing analytics tools for campaign ROI, A/B testing, funnel analysis, attribution, and ad copy generation.
Calculate campaign ROI metrics: ROAS, CPA, CPC, CPM, CTR, conversion rate, performance assessment, and recommendations.
Analyze A/B test results with statistical significance, winner, z-score, p-value, lift, and sample-size adequacy.
Analyze conversion funnels to identify the biggest leak point with optimization recommendations.
Apply attribution models (first-touch, last-touch, linear, time-decay, U-shaped, W-shaped) to distribute conversion credit across channels.
Generate platform-tailored ad copy variants with character limits and best practices for Google, Facebook, Instagram, LinkedIn, Twitter, and TikTok.
Run locally via MCP with stateless, idempotent, no-side-effect behavior; basic usage needs no auth, with rate limits and optional API key for higher tiers.
Marketing Analytics Ai MCP
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 claudeRelated 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 |
EU AI Act compliance marketplace | |
AI safety & monitoring | |
Sovereign AI platform | |
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_roito β¦""Use
ab_test_analyzeto β¦""Use
funnel_optimizerto β¦"
Available Tools
5 toolsab_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
Scored across 5 tools
Each tool has a clearly distinct purpose: A/B testing, ad copy generation, attribution modeling, ROI calculation, funnel analysis. No overlap in functionality.
Names follow a lowercase_underscore pattern but mix verb endings (analyze) with noun endings (generator, model, roi, optimizer), lacking a consistent verb_noun structure.
5 tools cover a reasonable set of marketing analytics tasks without being excessive or insufficient for the domain.
The tools cover essential marketing analytics areas: testing, ad creation, attribution, ROI, and funnel optimization. No obvious gaps for basic analysis.
Maintenance
Related MCP Connectors
Marketing intelligence MCP server providing campaign performance data and analytics tools.
Meta Ads MCP server: run Facebook and Instagram campaigns, ad sets, ads and reports from AI.
Marketing-measurement MCP: dashboards, cross-channel queries, integrations, and knowledge files.
Hosted MCP server for marketing agencies: connect Google Ads, GA4, Search Console, Meta, LinkedIn and more to Claude or ChatGPT. Pull reports and make changes via OAuth login, no setup.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEcommerce AI - MCP server providing AI-powered tools and automation by MEOK AI Labs8 npm28 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceData Science AI - MCP server providing AI-powered tools and automation by MEOK AI Labs8 npmMIT
- AlicenseNot gradedqualityCmaintenanceCRM AI - MCP server providing AI-powered tools and automation by MEOK AI Labs6 npm31 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceAI Ops - MCP server providing AI-powered tools and automation by MEOK AI Labs8 npm83 PyPIMIT