🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

google-ads-intent-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-ads-intent-mcp

Dry-run-first Google Ads search-term intent analyzer with CLI and optional MCP server.

pipPyPI
Version
0.1.1
Weekly downloads
60
Maintainers
1

Google Ads Intent MCP

Google Ads Intent MCP

Dry-run-first Google Ads search-term intent analyzer + negative-keyword MCP for agents.
Look at search terms safely before spending budget.

npm version npm downloads License MIT Built for MCP

GitHub stars CI status Part of the Delx agent stack Category

mcp-name: io.github.davidmosiah/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.

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:

  • google_ads_connection_status
  • google_ads_privacy_audit
  • google_ads_analyze_search_terms
  • 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

Keywords

agent-tools

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts