open-google-mcp
v0.2.3Read-only MCP server for Google Ads (GAQL), Search Console, Google Analytics 4, and Bing Webmaster Tools
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_accessible_customers
**Start here** — Discover Google Ads customer IDs accessible by the authenticated user. Always call this first before search(). Returns resource names like 'customers/1234567890' — extract the numeric ID from the last segment to use in other tools.
get_resource_metadata
Discover which fields are SELECTable, FILTERable, and SORTable for a Google Ads resource. **Always call this before search()** — using incorrect field names causes API errors. Compatible metrics.* and segments.* fields are included for reporting queries. Args: resource_name: The resource to explore (e.g. 'campaign', 'ad_group', 'keyword_view', 'search_term_view', 'customer_client'). Returns: A dict with resource name and three sorted arrays of fully-qualified field names. Example for resource='campaign': selectabl…
| Parameter | Type | Description |
|---|---|---|
resource_name * | string |
search
Execute a read-only GAQL query and return flattened results. **Workflow:** list_accessible_customers() → get_resource_metadata(resource) → search() If customer_id is a **manager (MCC) account**, this auto-routes to child accounts and annotates results with _source_customer_id and _source_customer_name — no manual child enumeration needed. Field rules: - Use fully-qualified names: campaign.id (not id), metrics.clicks, segments.date - Dates: YYYY-MM-DD format with dashes - Relative ranges: DURING LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, THIS_QUARTER - Co…
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | |
fields * | array | |
resource * | string | |
conditions | ||
limit | ||
orderings |
gsc_get_capabilities
Get a categorized list of all available GSC tools and authentication status. Call this first if you're unsure which GSC tool to use, whether the server is authenticated, or what tools are available. Faster than searching individually.
gsc_list_properties
**Start here** — Discover all GSC properties the user has access to. Returns the exact site_url strings needed by every other GSC tool. Always call this first before using any other GSC tool.
gsc_get_site_details
Get verification status and ownership details for a specific GSC property. Use this to check permission level, verification method, and ownership info. Args: site_url: Exact GSC property URL from gsc_list_properties. Format: 'https://example.com/' (URL-prefix) or 'sc-domain:example.com' (domain property).
| Parameter | Type | Description |
|---|---|---|
site_url * | string |
gsc_get_search_analytics
Get top-performing queries and pages with clicks, impressions, CTR, position. **Use this for:** identifying high-value keywords, tracking rank changes, finding low-CTR opportunities. For filtered or paginated queries, use gsc_get_advanced_search_analytics instead. For an executive summary, use gsc_get_performance_overview. Args: site_url: Exact GSC property URL from gsc_list_properties. Format: 'https://example.com/' or 'sc-domain:example.com'. days: How many days to look back (default: 28). dimensions: Group results by — 'query'…
| Parameter | Type | Description |
|---|---|---|
site_url * | string | |
days | integer | |
dimensions | string | |
row_limit | integer |
gsc_get_performance_overview
Get an executive summary with daily trend — totals for clicks, impressions, CTR, and avg position plus a day-by-day breakdown. **Use this for:** quick snapshots, dashboards, spotting traffic spikes or drops. For detailed query-level data, use gsc_get_search_analytics. Args: site_url: Exact GSC property URL from gsc_list_properties. Format: 'https://example.com/' or 'sc-domain:example.com'. days: How many days to look back (default: 28).
| Parameter | Type | Description |
|---|---|---|
site_url * | string | |
days | integer |
gsc_compare_search_periods
Compare search performance between two date ranges and surface what changed. **Use this for:** month-over-month analysis, campaign impact assessment, seasonal trend detection. Returns which queries improved or declined with click/impression changes. Args: site_url: Exact GSC property URL from gsc_list_properties. Format: 'https://example.com/' or 'sc-domain:example.com'. period1_start: Start of baseline period, format YYYY-MM-DD (e.g. '2026-01-01'). period1_end: End of baseline period, format YYYY-MM-DD (e.g. '2026-01-31'). per…
| Parameter | Type | Description |
|---|---|---|
period1_end * | string | |
period1_start * | string | |
period2_end * | string | |
period2_start * | string | |
site_url * | string | |
dimensions | string | |
limit | integer |
gsc_get_advanced_search_analytics
Full-featured search analytics with filtering, sorting, pagination (up to 25K rows). **Use this for:** deep analysis with country/device/page filters, large bulk exports, custom sort orders. For a quick top-N view without filters, use gsc_get_search_analytics instead — it returns faster with less overhead. Args: site_url: Exact GSC property URL from gsc_list_properties. Format: 'https://example.com/' or 'sc-domain:example.com'. start_date: Start date YYYY-MM-DD (default: 28 days ago). end_date: End date YYYY-MM-DD (default: today).…
| Parameter | Type | Description |
|---|---|---|
site_url * | string | |
dimensions | string | |
end_date | ||
filters | ||
row_limit | integer | |
search_type | string | |
sort_by | string | |
sort_direction | string | |
start_date | ||
start_row | integer |
gsc_inspect_url
Debug a single URL's indexing status — checks coverage state, crawl date, canonical URL, robots.txt allow/block, page fetch success, and rich results. **Use this for:** diagnosing why a page isn't ranking, checking if Google can crawl a new page, verifying canonical URLs, or troubleshooting indexing issues. Args: site_url: Exact GSC property URL from gsc_list_properties. Format: 'https://example.com/' or 'sc-domain:example.com'. page_url: The full URL to inspect, e.g. 'https://example.com/blog/post'.
| Parameter | Type | Description |
|---|---|---|
page_url * | string | |
site_url * | string |
gsc_get_sitemaps
List all sitemaps for a GSC property with submission status, error/warning counts, and indexed URL totals. **Use this for:** monitoring crawl health, finding sitemap errors, checking if new content was picked up, verifying sitemap submission. Args: site_url: Exact GSC property URL from gsc_list_properties. Format: 'https://example.com/' or 'sc-domain:example.com'.
| Parameter | Type | Description |
|---|---|---|
site_url * | string |
ga4_get_capabilities
Get a categorized list of all available GA4 tools and authentication status. Call this first to discover available tools and verify auth is working.
ga4_list_properties
**Start here** — Discover all GA4 properties the service account has access to. Returns property IDs, display names, and currency/timezone info. Use the numeric 'property_id' from the results in all other GA4 tools.
ga4_get_metadata
Discover available dimensions and metrics for a GA4 property. **Use this before ga4_run_report** to find valid dimension/metric names. Args: property_id: Numeric GA4 property ID (e.g. '123456789'). Discover with ga4_list_properties or find in your GA4 Admin → Property Settings → Property ID.
| Parameter | Type | Description |
|---|---|---|
property_id * | string |
ga4_run_report
Run a standard GA4 report with dimensions, metrics, date range, and filters. **Workflow:** ga4_list_properties() → ga4_get_metadata() → ga4_run_report() Start with just metrics (no dimensions) for a quick property overview, then add dimensions for deeper analysis. Args: property_id: Numeric GA4 property ID (e.g. '123456789'). dimensions: Comma-separated dimension names, e.g. 'city,country' or 'date,pagePath'. Omit or leave empty for a property-level summary. metrics: Comma-separated metric names, e.g. 'activeUsers,sessions,newU…
| Parameter | Type | Description |
|---|---|---|
property_id * | string | |
dimensions | string | |
end_date | string | |
filters | ||
limit | integer | |
metrics | string | |
order_bys | ||
start_date | string |
ga4_run_realtime_report
Get real-time data for the last 30 minutes from a GA4 property. Useful for monitoring live traffic, testing event tracking, and verifying setup. Args: property_id: Numeric GA4 property ID (e.g. '123456789'). dimensions: Comma-separated dimension names, e.g. 'city,country'. Available realtime dimensions: country, city, deviceCategory, eventName, pagePath, pageTitle, source, medium, etc. metrics: Comma-separated metric names, e.g. 'activeUsers,eventCount'. Default: 'activeUsers'. limit: Max row…
| Parameter | Type | Description |
|---|---|---|
property_id * | string | |
dimensions | string | |
limit | integer | |
metrics | string |
generate_keyword_ideas
Generate Google Keyword Planner keyword ideas from seed terms or a URL. **Use this for:** keyword research, expanding a seed list, finding search-volume/competition/bid estimates for potential keywords. Args: customer_id: Numeric Google Ads customer ID with Keyword Planner access. Optional — falls back to GOOGLE_ADS_DEFAULT_CUSTOMER_ID, then GOOGLE_ADS_LOGIN_CUSTOMER_ID from .env. keywords: Seed terms (e.g. ['running shoes', 'trail running shoes']). url: Alternative seed — a URL to extract…
| Parameter | Type | Description |
|---|---|---|
customer_id | ||
geos | ||
include_adult_keywords | boolean | |
keywords | ||
language | ||
network | ||
page_size | integer | |
url |
generate_keyword_historical_metrics
Get historical search metrics for exact keywords (no expansion). **Use this for:** validating a specific keyword list — real search volume, competition level, and CPC bid ranges per keyword. Args: customer_id: Numeric Google Ads customer ID with Keyword Planner access. Optional — falls back to GOOGLE_ADS_DEFAULT_CUSTOMER_ID, then GOOGLE_ADS_LOGIN_CUSTOMER_ID from .env. keywords: Exact keywords to look up (e.g. ['running shoes']). geos: Geo targeting resource names (see generate_keyword_idea…
| Parameter | Type | Description |
|---|---|---|
customer_id | ||
geos | ||
include_adult_keywords | boolean | |
keywords | array | |
language | ||
network |
generate_keyword_forecast_metrics
Forecast impressions, clicks, CPC, and cost for a keyword list. **Use this for:** pre-launch planning — what traffic/cost to expect from a set of keywords over a date range. Simulated in-memory campaign (one ad group, manual CPC bidding by default); nothing is created in the Ads account. Args: customer_id: Numeric Google Ads customer ID with Keyword Planner access. Optional — falls back to GOOGLE_ADS_DEFAULT_CUSTOMER_ID, then GOOGLE_ADS_LOGIN_CUSTOMER_ID from .env. keywords: Keywords to for…
| Parameter | Type | Description |
|---|---|---|
currency_code | string | |
customer_id | ||
daily_budget_micros | ||
end_date | ||
geos | ||
keywords | array | |
language | ||
match_types | ||
max_cpc_bid_micros | ||
start_date |
suggest_geo_target_constants
Look up Google Ads geo target constants (for geos in other tools). **Use this before generate_keyword_ideas/forecast when you need to target a country/region** — returns resource names like 'geoTargetConstants/2840' (United States) to pass as geos. Args: names: Location names to search, e.g. ['United States', 'New York']. country_code: Optional ISO-2 country code to narrow results (e.g. 'US'). locale: Results language (default: 'en').
| Parameter | Type | Description |
|---|---|---|
names * | array | |
country_code | ||
locale | string |
bing_get_capabilities
Get the Bing Webmaster tool list and authentication status. Call this first if Bing calls fail or you are unsure what is available.
bing_list_sites
**Start here** - List all sites verified in Bing Webmaster Tools. Returns the exact site_url strings needed by every other Bing tool. Always call this first.
bing_get_query_stats
Get top search queries with clicks, impressions, and average positions. **Use this for:** finding which queries drive Bing traffic. Bing refreshes this data weekly. There is no date-range filter. Args: site_url: Exact site URL from bing_list_sites. limit: Max rows to return (default: 100).
| Parameter | Type | Description |
|---|---|---|
site_url * | string | |
limit | integer |
bing_get_page_stats
Get top pages with clicks, impressions, and average positions. **Use this for:** finding which pages get Bing traffic. Bing refreshes this data weekly. There is no date-range filter. Args: site_url: Exact site URL from bing_list_sites. limit: Max rows to return (default: 100).
| Parameter | Type | Description |
|---|---|---|
site_url * | string | |
limit | integer |
bing_get_traffic_stats
Get daily clicks and impressions with totals. **Use this for:** Bing traffic trends, spikes, and drops. This is the only Bing report with a real daily time series. Args: site_url: Exact site URL from bing_list_sites. days: Keep only the last N days (optional). Omit for the full series.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | |
days |
bing_get_query_pages
Get the pages that rank for one query. **Use this for:** checking which URL Bing shows for a keyword. Args: site_url: Exact site URL from bing_list_sites. query: The search query to look up. limit: Max rows to return (default: 100).
| Parameter | Type | Description |
|---|---|---|
query * | string | |
site_url * | string | |
limit | integer |
bing_get_page_queries
Get the queries that one page ranks for. **Use this for:** keyword mapping and on-page optimization. Args: site_url: Exact site URL from bing_list_sites. page: The page URL to look up. limit: Max rows to return (default: 100).
| Parameter | Type | Description |
|---|---|---|
page * | string | |
site_url * | string | |
limit | integer |
bing_get_url_info
Get crawl and index details for one URL. **Use this for:** checking HTTP status, last crawl date, and link counts. Use the 'domain:example.com' form to inspect a whole domain. Args: site_url: Exact site URL from bing_list_sites. url: The URL to inspect.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | |
url * | string |
bing_get_crawl_stats
Get crawl statistics for a site. **Use this for:** crawl volume, response codes, and indexing health. Args: site_url: Exact site URL from bing_list_sites.
| Parameter | Type | Description |
|---|---|---|
site_url * | string |
bing_get_crawl_issues
List crawl issues found by Bing. **Use this for:** finding blocked pages, errors, and indexing problems. Args: site_url: Exact site URL from bing_list_sites. limit: Max rows to return (default: 100).
| Parameter | Type | Description |
|---|---|---|
site_url * | string | |
limit | integer |
bing_get_link_counts
Get inbound link counts for site pages. **Use this for:** finding pages with the most backlinks. Args: site_url: Exact site URL from bing_list_sites. page: Result page number, starting at 0 (default: 0).
| Parameter | Type | Description |
|---|---|---|
site_url * | string | |
page | integer |
bing_get_sitemaps
List submitted sitemaps and feeds with their status. **Use this for:** checking sitemap submission and crawl pickup. Args: site_url: Exact site URL from bing_list_sites.
| Parameter | Type | Description |
|---|---|---|
site_url * | string |
bing_keyword_stats
Get historical keyword statistics from Bing. **Use this for:** validating a keyword with Bing search data. Args: query: The keyword to look up. country: Two-letter market code (default: 'us'). language: IETF language tag, for example 'en-US' or 'en-GB' (default: 'en-US'). A bare code like 'en' gets the country added automatically.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
country | string | |
language | string |
seo_compare_google_bing
Compare top search queries between Bing and Google Search Console. **Use this for:** finding engines where a query over- or under-performs. Google uses the last N days. Bing uses its weekly top-query snapshot. Args: bing_site_url: Exact Bing site URL from bing_list_sites. gsc_site_url: Exact GSC property URL from gsc_list_properties. days: Google lookback window in days (default: 28). limit: Max rows per section (default: 25).
| Parameter | Type | Description |
|---|---|---|
bing_site_url * | string | |
gsc_site_url * | string | |
days | integer | |
limit | integer |