AgentStack
MCP verified MIT Self-run

Mcp Search Analytics

mcp-vesivanov-mcp-search-analytics · by vesivanov

MCP server for GA and GSC data analysis

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add mcp-vesivanov-mcp-search-analytics

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Mcp Search Analytics? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

MCP Search Analytics Server

A Model Context Protocol (MCP) server for Google Analytics and Search Console data analysis.

🚀 Features

  • Unified access to Google Analytics 4 and Google Search Console data
  • Real-time analytics queries through MCP interface
  • Secure credential management via environment variables

🔧 Setup

Prerequisites

  • Python 3.8+
  • Google Cloud Project with Analytics and Search Console APIs enabled
  • Google Service Account with appropriate permissions

Installation

  1. Clone this repository:
git clone https://github.com/vesivanov/mcp-search-analytics.git
cd mcp-search-analytics
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt

Configuration

  1. Create environment file:

``bash cp environment.example .env ``

  1. Set up Google Service Account:
  • Create a service account in Google Cloud Console
  • Download the JSON credentials file
  • Enable Google Analytics Reporting API and Search Console API
  • Grant necessary permissions to your service account
  1. Configure environment variables:

Edit .env file with your actual values: `` ANALYTICS_CREDENTIALS_PATH=/path/to/your/credentials.json GSC_SITE_URL=https://your-website.com GA4_PROPERTY_ID=your-property-id ``

Usage

  1. Test your credentials:
python test_credentials.py
  1. Run the MCP server:
python unified_analytics_server.py

🔐 Security Notes

  • Never commit credential files (.json, .env) to version control
  • Store credentials securely and use environment variables
  • Regularly rotate service account keys
  • Follow principle of least privilege for API access

📋 Requirements

See requirements.txt for Python dependencies.

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

📄 License

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.