Skip to main content
Glama

Google Analytics MCP Server

by surendranb
pyproject.toml1.7 kB
[build-system] requires = ["setuptools>=61.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "google-analytics-mcp" version = "1.2.2" description = "Google Analytics 4 MCP Server with Smart Optimizations - Access GA4 data in Claude, Cursor and other MCP clients. Prevents context window crashes with intelligent data volume management." readme = "README.md" license = {text = "MIT"} authors = [ {name = "Surendran B", email = "reachsuren@gmail.com"} ] requires-python = ">=3.10" dependencies = [ "fastmcp>=2.0.0", "google-analytics-data>=0.16.0", ] keywords = ["google-analytics", "mcp", "ai-assistant", "analytics", "ga4", "claude", "cursor", "windsurf"] classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", ] [project.urls] Homepage = "https://github.com/surendranb/google-analytics-mcp" Repository = "https://github.com/surendranb/google-analytics-mcp" Issues = "https://github.com/surendranb/google-analytics-mcp/issues" [project.scripts] ga4-mcp-server = "ga4_mcp_server:main" # Updated entry point name [tool.setuptools] # Include both the Python module and JSON files py-modules = ["ga4_mcp_server"] include-package-data = true [tool.setuptools.package-data] # More specific pattern for single module with data files ga4_mcp_server = ["*.json"] # Alternative pattern that should work "*" = ["ga4_dimensions_json.json", "ga4_metrics_json.json"]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/surendranb/google-analytics-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server