Can We Create a Google Analytics MCP Server in n8n?

Hi n8n community,

I’m exploring the MCP Server Trigger in n8n and wondering if it’s possible to set up a Google Analytics MCP server directly inside n8n.

What I’d like to achieve:

  • Use the MCP Server Trigger in n8n to expose tools that can fetch Google Analytics data (GA4 or Universal Analytics).

  • Be able to query analytics (sessions, users, events, conversions, etc.) via MCP from an external client.

  • Possibly have authentication handled through a Google Service Account JSON file.

Questions:

  1. Can n8n workflows with Google Analytics nodes be exposed as MCP tools?

  2. Is it possible to handle Google API OAuth or service account authentication within the MCP server setup?

  3. Has anyone already implemented a similar integration using MCP Server Trigger + Google Analytics in n8n?

If there’s an existing example or guide, a link would be great.
Thanks!

Ehy @Muhammad_Haris1,

There is already someone who create a tool for Google Analytics.

Check this out: Arrêtez de perdre du temps dans la configuration de Google Analytics ! | Guillaume Sinnaeve | 382 comments

2 Likes