Marketing Analytics MCP Server
Enables natural language querying of marketing analytics across Google Search Console, GA4, Google Ads, HubSpot, and Bing. Provides tools for search queries, traffic, campaign performance, and composite cross-platform rollups.
README
Marketing Analytics MCP Server
A Model Context Protocol server that gives an LLM live, read-only access to a marketing analytics stack — so you can ask questions in natural language instead of jumping between dashboards. Exposes tools across Google Search Console, GA4, Google Ads, HubSpot CRM, and Bing Webmaster Tools, plus composite cross-platform rollups.
Runs locally over stdio (Claude Desktop / Claude Code) or as a remote streamable-HTTP service (e.g. Cloud Run) with bearer-token auth.
Tools
| Area | Examples |
|---|---|
| Search Console | queries, pages, CTR/position, period comparison, movers & losers |
| GA4 | sessions, channels, landing pages by source, funnels, conversions |
| Google Ads | campaign performance, keyword quality, search terms |
| HubSpot | deal / company / contact search, pipeline summary, activity timelines |
| Bing | top queries/pages, branded vs unbranded, crawl stats |
| Composite | cross-platform marketing snapshot |
Design
clients/— one thin async client per platform (auth + raw calls).tools/— MCP tool definitions that shape client output for an LLM.cache.py— TTL cache to stay inside free-tier API limits.circuit_breaker.py— trips on repeated upstream failures so one bad provider can't hang the server.server.py— registers tools and serves stdio or streamable-HTTP.
Setup
pip install -e .
cp .env.example .env # fill in your own credentials + property IDs
python -m mcp_server.server
All credentials and property/account IDs come from environment variables (see
.env.example) — nothing is hardcoded. You point it at your own analytics
accounts.
Deploy (remote)
A Dockerfile + Procfile are included. Set MCP_AUTH_TOKEN so only requests
carrying the bearer token can connect, then deploy to any container host.
Tests
pytest
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.