Google Ads MCP Server
bjorndavidhansen
README
Google Ads MCP Server
Updated on March 21, 2024 - Triggering workflow run
A Model Context Protocol (MCP) server that provides access to Google Ads data through Claude Desktop.
Features
- Access Google Ads campaigns, accounts, and performance metrics via Claude
- Support for both Manager (MCC) and client account data
- Built-in caching to improve performance and reduce API calls
- Claude Artifacts integration for data visualization
- Multi-environment support (development, testing, production)
- Containerized deployment with Docker
Prerequisites
- Python 3.9 or higher
- Google Ads API credentials
- Claude Desktop
Quick Start
Local Development
-
Clone this repository:
git clone https://github.com/yourusername/google-ads-mcp.git cd google-ads-mcp
-
Set up a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows, use: .venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file with your Google Ads credentials:cp .env.example .env # Edit .env file with your credentials
-
Run the server:
python server.py
Docker Deployment
-
Build the Docker image:
docker build -t google-ads-mcp:latest .
-
Run the container:
docker run -p 8000:8000 --env-file .env google-ads-mcp:latest
Alternatively, use docker-compose:
docker-compose up -d
Configuration
The application supports different environments (dev, test, prod) with environment-specific configurations:
- Set
APP_ENV
todev
,test
, orprod
to specify the environment - Configure environment variables as documented in
.env.example
- Feature flags allow enabling/disabling specific functionality
Claude Desktop Integration
-
Configure Claude Desktop for the MCP server in your Claude Desktop App configuration:
{ "mcpServers": { "google-ads": { "command": "python", "args": [ "/absolute/path/to/server.py" ] } } }
-
Restart Claude Desktop and look for the tools icon to appear
-
Use Google Ads data in Claude by asking questions like:
- "Show me my Google Ads account performance"
- "What campaigns are performing well in my account?"
- "Create a visualization of my campaign performance"
Deployment
This repository includes Kubernetes manifests for deployment:
kubernetes/dev/
- Development environment deploymentkubernetes/test/
- Test environment deploymentkubernetes/prod/
- Production environment deployment
CI/CD pipelines are configured using GitHub Actions for automated testing, building, and deployment.
Security
- All credentials are stored in Kubernetes secrets or environment variables, never in code
- The server uses proper authentication for API access
- Rate limiting is enabled in production environments
- Container security best practices are followed
Contributing
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature
- Commit your changes:
git commit -am 'Add new feature'
- Push to the branch:
git push origin feature/my-feature
- Submit a pull request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgements
- Google Ads API team for their documentation and support
- Anthropic for Claude and the Model Context Protocol
Recommended Servers
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Mathematica Documentation MCP server
A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.
kb-mcp-server
An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded
Research MCP Server
The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.