Google Ads MCP Server
G

Google Ads MCP Server

A Google Ads API integration server based on the FastMCP framework, providing automatic OAuth 2.0 authentication, GAQL query, and keyword research functions, and supporting seamless connection with MCP clients such as Claude Desktop.
2.5 points
6.3K

What is the Google Ads MCP Server?

The Google Ads MCP Server is a tool built based on the Model Context Protocol (MCP) standard, allowing users to interact with the Google Ads API through natural language. It offers features such as automatic OAuth 2.0 authentication, GAQL query execution, account management, and keyword research.

How to use the Google Ads MCP Server?

Using the Google Ads MCP Server requires several steps: First, create a project on Google Cloud Platform and enable the Google Ads API. Then, obtain a developer token. Finally, configure the server and connect it to an MCP client such as Claude Desktop.

Applicable Scenarios

The Google Ads MCP Server is suitable for scenarios such as advertising analysis, marketing strategy formulation, keyword research, and automated report generation. It is particularly suitable for users who want to directly integrate Google Ads data into AI assistants.

Main Features

Automatic OAuth 2.0 Authentication
Complete authentication through the browser during the first login, and the access token will be automatically refreshed later without manual input of credentials.
GAQL Query Execution
Supports running any Google Ads Query Language (GAQL) query and returns the results in a custom format.
Account Management
Can list and manage all accessible Google Ads accounts, facilitating multi - account operations.
Keyword Research
Generate keyword suggestions with search volume data to help optimize advertising content.
FastMCP Framework
Built based on the modern MCP standard to ensure compatibility and high performance.
Claude Desktop Compatibility
Can be directly integrated with Claude Desktop to enable interaction between natural language and the Google Ads API.
Secure Local Storage
Access tokens are stored locally and will not be exposed to external systems, ensuring data security.
Advantages
Simplifies the usage process of the Google Ads API and lowers the technical threshold.
Supports natural language queries, improving user operation efficiency.
Provides automatic authentication and token refresh functions, reducing manual intervention.
Is compatible with MCP clients such as Claude Desktop, facilitating integration into existing workflows.
Ensures data security, as access tokens are only stored locally.
Limitations
Requires certain initial settings, including Google Cloud Platform configuration and developer token application.
Some advanced features may require payment or application for production access rights.
Users unfamiliar with the MCP protocol may need some time to adapt.
Depends on the availability of the Google Ads API. If the API is unavailable, the service cannot be used.

How to Use

Create a Google Cloud Project
Create a new project on Google Cloud Console and enable the Google Ads API.
Obtain a Developer Token
Apply for a developer token in the Google Ads API Center for identity authentication.
Configure OAuth 2.0 Credentials
Create an OAuth 2.0 client ID on Google Cloud Console and download the JSON file.
Install and Configure the Server
Clone the repository, install dependencies, and configure the developer token and OAuth credential path in the `.env` file.
Connect to Claude Desktop
Add the MCP server information to the configuration file of Claude Desktop and then restart the application.
First - time Authentication
Try to execute a Google Ads command in Claude Desktop, such as "List all accounts", and then complete the browser authentication as prompted.

Usage Examples

Advertising Campaign Performance Analysis
Users can query the performance of advertising campaigns through natural language, such as the number of clicks, cost, and conversion rate.
Keyword Research
Users can get suggestions related to specific keywords, including search volume and competition level.
Custom GAQL Query
Users can write custom GAQL queries to get specific data sets.

Frequently Asked Questions

How to solve the authentication failure problem?
Why can't I see my Google Ads accounts?
How to improve API call efficiency?
How to change OAuth credentials?
How to expand server functionality?

Related Resources

Google Ads API Documentation
The official documentation of the Google Ads API, providing detailed API references and examples.
FastMCP GitHub Repository
The GitHub repository of the FastMCP framework, providing the latest code and development guides.
Google Cloud Console
The console of Google Cloud Platform, used for project creation, API enabling, and credential management.
Slack Community
The AI in Ads Slack community, used for asking questions and getting help.
Video Tutorial
A video demonstration showing the Google Ads MCP Server.

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "google-ads": {
      "command": "/full/path/to/your/project/.venv/bin/python",
      "args": [
        "/full/path/to/your/project/server.py"
      ]
    }
  }
}

{
  "mcpServers": {
    "google-ads": {
      "command": "/Users/marble-dev-01/workspace/google_ads_with_fastmcp/.venv/bin/python",
      "args": [
        "/Users/marble-dev-01/workspace/google_ads_with_fastmcp/server.py"
      ]
    }
  }
}

{
  "mcpServers": {
    "google-ads": {
      "url": "http://127.0.0.1:8000/mcp"
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
9.6K
5 points
A
Aderyn
Aderyn is an open - source Solidity smart contract static analysis tool written in Rust, which helps developers and security researchers discover vulnerabilities in Solidity code. It supports Foundry and Hardhat projects, can generate reports in multiple formats, and provides a VSCode extension.
Rust
6.1K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
5.6K
4 points
S
Scrapling
Scrapling is an adaptive web scraping library that can automatically learn website changes and re - locate elements. It supports multiple scraping methods and AI integration, providing high - performance parsing and a developer - friendly experience.
Python
8.3K
5 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.5 points
C
Cipher
Cipher is an open-source memory layer framework designed for programming AI agents. It integrates with various IDEs and AI coding assistants through the MCP protocol, providing core functions such as automatic memory generation, team memory sharing, and dual-system memory management.
TypeScript
0
5 points
N
Nexus
Nexus is an AI tool aggregation gateway that supports connecting multiple MCP servers and LLM providers, providing tool search, execution, and model routing functions through a unified endpoint, and supporting security authentication and rate limiting.
Rust
0
4 points
S
Shadcn Ui MCP Server
An MCP server that provides shadcn/ui component integration for AI workflows, supporting React, Svelte, and Vue frameworks. It includes functions for accessing component source code, examples, and metadata.
TypeScript
11.2K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
15.0K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.0K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
45.9K
4.3 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
17.0K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
20.5K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
45.5K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
16.1K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
65.1K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase