GC

generalist-club/google-marketing-stack-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

10 stars 5 forks 品質 81 トレンド 26MIT

GA4、検索コンソール、シート、タグマネージャ、およびPageSpeed用のMCPサーバー。 44ツール、ブラウザOAuth —サービスアカウント、JSONファイルはありません.

概要

Claude(およびその他のAIアシスタント)をGoogleマーケティングデータに直接接続します。 普通の英語で質問をし、GA4、検索コンソール、Googleスプレッドシート、タグマネージャ、およびPageSpeedから実際の回答を得る - ダッシュボード、エクスポートなし、SQLなし。 5つのGoogle APIを44のツールにラップするモデルコンテキストプロトコルサーバーは、AIアシスタントが直接呼び出すことができます。 Google Analytics MCP、Google Search Console MCP、Google Tag Manager MCP、PageSpeed Insights MCPを1つのパッケージで呼びます。 一度接続して、そこからGoogleのマーケティングデータについて何かをClaudeに尋ね、実際の回答を得ることができるので、あなたのアカウントからの実際のデータではなく、幻惑しないでください。 CSVのエクスポート、ダッシュボードからクリック、カスタムレポートの作成、開発者がデータを引き出すように依頼します。 ノーコードダッシュボード、レポート製品、またはマネージドサービス。 それはあなたのマシン上で実行します, あなた自身のGoogleの資格情報を使用します, あなたのデータは、任意のサードパーティのサーバーに触れることはありません. - — — ノード --version でチェックします。 nodejs.org でダウンロード.

概要(AI 翻訳)

Claude(およびその他のAIアシスタント)をGoogleマーケティングデータに直接接続します。 普通の英語で質問をし、GA4、検索コンソール、Googleスプレッドシート、タグマネージャ、およびPageSpeedから実際の回答を得る - ダッシュボード、エクスポートなし、SQLなし。

お問い合わせ

これは何ですか?

5つのGoogle APIを44のツールにラップするモデルコンテキストプロトコルサーバーは、AIアシスタントが直接呼び出すことができます。 Google Analytics MCP、Google Search Console MCP、Google Tag Manager MCP、PageSpeed Insights MCPを1つのパッケージで呼びます。 一度接続して、そこからGoogleのマーケティングデータについて何かをClaudeに尋ね、実際の回答を得ることができるので、あなたのアカウントからの実際のデータではなく、幻惑しないでください。

**CSVのエクスポート、ダッシュボードのクリック、カスタムレポートの作成、開発者がデータを引き出すように依頼する。

**コードなしのダッシュボード、レポーティング製品、またはマネージドサービス。 それはあなたのマシン上で実行します, あなた自身のGoogleの資格情報を使用します, あなたのデータは、任意のサードパーティのサーバーに触れることはありません.

お問い合わせ

前提条件

始める前に、必ず次のことを行ってください。

  • Node.js 18以降 — node --version でチェックします。 nodejs.org でダウンロード.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Google Marketing Stack MCP

Connect Claude (and other AI assistants) directly to your Google marketing data. Ask questions in plain English and get real answers from GA4, Search Console, Google Sheets, Tag Manager, and PageSpeed — no dashboards, no exports, no SQL.

"What were our top 10 landing pages last month and which had the worst bounce rate?"
"Which GSC queries are ranking between position 4 and 10 that we could push to page 1?"
"Run a GTM audit — are there any orphaned triggers or unused variables?"
"Compare example.com performance on mobile vs desktop and tell me what to fix first."

What this is

A Model Context Protocol server that wraps five Google APIs into 44 tools your AI assistant can call directly — a Google Analytics MCP, Google Search Console MCP, Google Tag Manager MCP, and PageSpeed Insights MCP in one package. You connect it once, and from then on you can ask Claude anything about your Google marketing data and get a real answer — not a hallucination, not a guess, actual data from your accounts.

What it replaces: exporting CSVs, clicking through dashboards, writing custom reports, asking your developer to pull data.

What it is not: a no-code dashboard, a reporting product, or a managed service. It runs on your machine, uses your own Google credentials, and your data never touches any third-party server.


Prerequisites

Before you start, make sure you have:

  • Node.js 18 or later — check with node --version. Download at nodejs.org.
  • A Google account with access to the properties you want to query (GA4, Search Console, etc.)
  • A Google Cloud project — ideally one that already has the APIs enabled (see GCP setup below)
  • Claude Code, Claude Desktop, Cursor, or Windsurf — any MCP-compatible client works

GCP setup

This is the part where most people get stuck. Read this section before touching the Google Cloud Console.

Step 1 — Use the right GCP project

If you already have a GCP project that manages your Google Analytics or other Google services, use that one. Go to console.cloud.google.com, switch between projects, and look for one that has APIs & Services → Enabled APIs showing Analytics Data API, Search Console API, etc.

If you don’t have a GCP project yet, create one: go to console.cloud.google.com, click the project selector in the top nav, click New Project, give it any name (e.g. “Marketing MCP”), and click Create. Then continue to Step 2 to enable the APIs.

The most common mistake: creating a new GCP project when you already have one that works. If you have an existing project with these APIs enabled, use it — you’ll skip most of Step 2.

Step 2 — Enable all four APIs

GitHub で README 全文を見る

インストール

npx -y @generalist-club/google-marketing-stack-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "google-marketing-stack": { "command": "node", "args": ["/absolute/path/to/google-marketing-stack-mcp/src/index.js"], "env": { "GOOGLE_CLIENT_ID": "your_client_id", "GOOGLE_CLIENT_SECRET": "your_client_secret", "GA4_PROPERTY_ID": "123456789", "GSC_SITE_URL": "sc-domain:yourdomain.com", "GTM_ACCOUNT_ID": "12345678", "GTM_CONTAINER_ID": "98765432" } } } }