Back to Directory/Developer Tools

io.github.davidmosiah/google-ads-intent-mcp

Dry-run-first Google Ads search-term intent analyzer and negative-keyword MCP for agents.

Developer ToolsPythonv0.1.1
Google Ads Intent MCP

⭐ If this agent-first tool helps your workflow, please star the repo. Stars make this tooling easier for other builders to discover and help Delx keep shipping open infrastructure.
🧱 Part of the Delx agent stack β€” 15 open-source MCP servers across body, reach and coordination.


Dry-run-first Google Ads search-term intent analyzer for agents. It helps Codex, Claude, Cursor, Hermes, OpenClaw and other MCP clients classify search terms, protect buyer intent and draft negative-keyword plans from CSV exports before any live account change.

Use it when an agent needs to reduce wasted spend without accidentally excluding buyer-intent queries.

HTTP (v2 stateless)

Not shipped. Optional FastMCP extra is stdio-only (same skip as delx-agent-utilities: no /health without extra Starlette routes). Dry-run analysis stays request-stateless over stdio.

Why It Exists

Google Ads cleanup is risky when agents act directly on accounts. This package makes the safe path the default:

  • analyze exported search-term CSVs locally
  • classify waste, buyer, research and competitor intent
  • draft negative-keyword plans without applying them
  • expose manifest, connection_status and privacy_audit before action tools
  • keep live mutation out of v0.1

Install

pipx install google-ads-intent-mcp

With MCP support:

pipx install "google-ads-intent-mcp[mcp]"

Published on PyPI: google-ads-intent-mcp. Release automation uses PyPI Trusted Publishing, so GitHub Actions can publish future versions without long-lived PyPI tokens. See docs/pypi-publishing.md.

CLI

google-ads-intent manifest --client codex
google-ads-intent doctor
google-ads-intent privacy-audit
google-ads-intent classify "free robux generator no verification"
google-ads-intent analyze-csv --csv examples/search_terms.csv
google-ads-intent plan-negatives --csv examples/search_terms.csv

Intent classification

The classifier is a deterministic, dependency-free heuristic with broad, cross-vertical signal coverage (ecommerce, B2B/SaaS, local services, health, finance, education and more) β€” not just gaming traffic. It sorts each search term into waste, buyer, research or competitor intent and protects converting queries from being flagged as negatives.

An optional LLM/embeddings-backed refinement path is available and is off by default. It requires no extra dependencies or API keys for normal use, and always falls back to the heuristic when no backend is configured:

# Opt in via flag (falls back to the heuristic if nothing is configured)
google-ads-intent --llm classify "crm software pricing"

# Or via environment variable
GOOGLE_ADS_INTENT_LLM=1 google-ads-intent analyze-csv --csv export.csv

To actually call a backend, set OPENAI_API_KEY (and optionally GOOGLE_ADS_INTENT_LLM_MODEL, default gpt-4o-mini) and install the openai package. Without those, --llm is a no-op that keeps the heuristic result. Each classification reports which path produced it via a source (heuristic or llm) field.

MCP

google-ads-intent-mcp

Hermes-style config:

mcp_servers:
  google_ads_intent:
    command: google-ads-intent-mcp
    args: []
    sampling:
      enabled: false

Recommended first calls:

  1. google_ads_connection_status
  2. google_ads_privacy_audit
  3. google_ads_analyze_search_terms
  4. google_ads_build_negative_plan

Agent Surfaces

ToolPurpose
google_ads_agent_manifestInstall/runtime guidance for agent clients
google_ads_connection_statusCSV/API readiness without credentials
google_ads_privacy_auditDry-run, account and export boundaries
google_ads_classify_search_termSingle-query intent classification
google_ads_analyze_search_termsBatch CSV-style analysis
google_ads_build_negative_planDry-run negative keyword plan

Copy-Paste Agent Prompt

Use google-ads-intent-mcp. First call google_ads_connection_status and google_ads_privacy_audit.
Analyze the search terms, protect buyer/conversion queries, and return a dry-run negative plan only.

CSV Format

The parser accepts common exported columns such as:

  • search_term, Search term, Query
  • cost, Cost, cost_micros
  • clicks, Clicks
  • conversions, Conversions, Conv.
  • impressions, Impr., Impressions

Safety Model

  • CSV analysis is local.
  • Negative plans are dry-run only.
  • Buyer/conversion terms are protected from automatic exclusion.
  • OAuth tokens, developer tokens and account identifiers should stay in local environment/config files.

Development

python3 -m venv .venv
. .venv/bin/activate
pip install -e ".[dev]"
pytest
python -m compileall -q src

πŸ“§ Contact & Support

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx google-ads-intent-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-davidmosiah-google-ads-intent-mcp": {
      "command": "uvx",
      "args": [
        "google-ads-intent-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

google-ads-intent-mcppypi

Compatible MCP Clients

io.github.davidmosiah/google-ads-intent-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More