Google Ads MCP Server
Overview
Google Ads MCP Server is a Model Context Protocol (MCP) server that provides access to Google Ads data through Claude Desktop.
To use the server, clone the repository, set up a virtual environment, install dependencies, configure your Google Ads credentials, and run the server locally or via Docker.
- Access to 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. - Integration with Claude Artifacts for data visualization. - Multi-environment support (development, testing, production). - Containerized deployment with Docker.
- Analyzing Google Ads account performance.
- Visualizing campaign performance data.
- Managing multiple Google Ads accounts efficiently.
Add to your AI client
Use these steps to connect Google Ads MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"google-ads-mcp-server-bjorndavidhansen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-ads-mcp-server-bjorndavidhansen"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"google-ads-mcp-server-bjorndavidhansen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-ads-mcp-server-bjorndavidhansen"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"google-ads-mcp-server-bjorndavidhansen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-ads-mcp-server-bjorndavidhansen"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"google-ads-mcp-server-bjorndavidhansen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-ads-mcp-server-bjorndavidhansen"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"google-ads-mcp-server-bjorndavidhansen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-ads-mcp-server-bjorndavidhansen"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"google-ads-mcp-server-bjorndavidhansen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-ads-mcp-server-bjorndavidhansen"
]
}
}
}FAQ
What are the prerequisites for using the server?
You need Python 3.9 or higher, Google Ads API credentials, and Claude Desktop.
Can I deploy this server using Docker?
Yes! The server supports Docker deployment for easier management.
How do I configure different environments?
You can set the `APP_ENV` variable to `dev`, `test`, or `prod` to specify the environment.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3665,"uuid":"d43d53c5-d0b1-497a-9c20-738778063070","name":"google-ads-mcp-server","title":"Google Ads MCP Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/182445646?v=4","created_at":"2025-03-20T22:35:56.146Z","updated_at":"2025-03-20T22:41:34.179Z","status":"created","author_name":"bjorndavidhansen","author_avatar_url":"https://avatars.githubusercontent.com/u/182445646?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/bjorndavidhansen/google-ads-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"3\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-04-09 18:55:21\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]