Install
$ agentstack add mcp-vesivanov-mcp-search-analytics ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
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
- Clone this repository:
git clone https://github.com/vesivanov/mcp-search-analytics.git
cd mcp-search-analytics
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
Configuration
- Create environment file:
``bash cp environment.example .env ``
- 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
- 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
- Test your credentials:
python test_credentials.py
- 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
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- 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.
- Author: vesivanov
- Source: vesivanov/mcp-search-analytics
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.