Developers

Developers

Search

The MCP tools behind Search, the IndexNow setting and key file in the WordPress plugin, the StatteryCheck page checker, and exactly what Stattery reads from Google and Bing.

Overview

Everything on the Search tab is open to AI assistants through the Stattery MCP server, and the Stattery WordPress plugin can ping IndexNow. This page covers the tools, the IndexNow setting and key file, the StatteryCheck page checker, and what Stattery reads from Google and Bing. For connecting an assistant in the first place, see AI Assistants (MCP).

MCP Tools

All of these are read-only tools on https://mcp.stattery.com/mcp.

ToolReturns
search_termsSearch terms from Google Search Console or Bing Webmaster Tools: clicks, times shown, click rate, average position, landing pages, plus country and device totals for the range.
search_landing_pagesPages people reach from search, with their search clicks and what those visitors did: visits, engaged, sales, quotes, calls.
search_easy_winsTerms ranking about 8 to 20 that are shown often, ranked by the extra clicks a month each could bring.
search_fading_pagesPages whose search clicks fell against the same number of days before, with the terms that dropped.
search_competing_pagesTerms where two or more of the site’s pages show in the results, with each page’s numbers.
crawler_activityEach search and AI crawler (requests, pages, answers, bytes, last seen), crawled pages, sitemap pages Google never or no longer crawls, new pages’ time to first crawl. Needs an Edge Observer.
site_healthError pages with people, crawlers and referrers; broken backlinks; redirects and chains; the weekly page check’s problems and duplicates; the robots.txt and sitemap checks.
ai_searchVisits from each AI assistant with outcomes, beside that company’s crawling, and the pages the assistants send people to.
referring_linksOutside pages and sites that send visitors, ranked by outcomes; new links; links that stopped; Bing’s inbound links.
site_searchesOn-site searches: terms, searches with no results, and what searchers did next.
business_profileGoogle Business Profile calls, directions, website clicks, Maps and Search views, monthly search keywords, and the visits the profile sent with the sales, quotes and calls that followed.
page_speedLCP, INP, CLS and TTFB at the 75th percentile per page and device from real visitors, rated good, needs work or poor, with bounce rate and sales; Chrome UX Report figures where Google has them.

Search Console, Bing and Business Profile tools answer with an error that says what to connect when the site hasn’t connected that source. crawler_activity on a site without an Edge Observer says so instead of returning empty lists.

Dates And Limits

ArgumentWhat it is
siteRequired. The site as added to Stattery, such as example.com.
periodOptional. today, yesterday, this_week, last_7_days, this_month, last_30_days, this_quarter or this_year.
from, toOptional, instead of period. Days as YYYY-MM-DD, in the site’s time zone.
limitOptional. Rows per list, 1 to 200. Default 25.
querysearch_terms and search_landing_pages only. Text the term or page must contain.
sourcesearch_terms and search_landing_pages only. google (the default) or bing.

With no dates, a tool covers the last 28 days, the same as SEO & Search in the viewer. The Search Console and Business Profile tools reach back 16 months, because that history is brought in when the site connects. Google’s figures are final figures and arrive two or three days late, so a range ending today has little Google data in its last days. search_fading_pages and search_competing_pages compare the range with the same number of days just before it.

Permissions

  • The connection needs the stats:read permission, and the person who connected it needs view access to the site. Nothing else is required: these tools never change anything.
  • Sales and quotes are separate fields everywhere and are never added together. engaged counts visits with two or more pages or 30 seconds or more.
  • Each call uses tokens from your monthly allowance like any other MCP call; see Pricing.

IndexNow

The Stattery WordPress plugin sends IndexNow pings when the setting Tell search engines about new and changed pages (IndexNow) is ticked, in Settings, Stattery, the Search tab. It is on for new installs and off for sites that had the plugin before.

  • What pings: publishing, updating, trashing or deleting a published item of any public post type (posts, pages, WooCommerce products and the like). Changes are gathered and sent about a minute later; each address goes at most once every 10 minutes.
  • Where: POST https://api.indexnow.org/indexnow, which shares each ping with Bing, Yandex, Seznam, Naver and the other IndexNow engines. Google doesn’t take IndexNow pings.
  • The key: 32 hex characters the plugin makes for the site. The plugin answers https://example.com/KEY.txt with the key itself; nothing is written to disk, so there’s no file to upload or keep.
  • Where it shows: each ping, the address, the change and IndexNow’s answer, next to when Bingbot next fetched the page, in SEO & Search, Crawlers, under IndexNow Pings. Pings are not visits or events and use no tokens.
POST https://api.indexnow.org/indexnow
Content-Type: application/json; charset=utf-8

{ "host": "example.com", "key": "KEY", "keyLocation": "https://example.com/KEY.txt",
  "urlList": ["https://example.com/new-post/", "https://example.com/updated-page/"] }

Already pinging IndexNow from another plugin? Leave one of them on, not both. Pinging twice does no harm, but it’s wasted work.

StatteryCheck

Stattery’s own requests to a customer’s site carry this user agent:

StatteryCheck/1.1 (+https://stattery.com/help/site-health/)
WhatHow oftenHow
/robots.txt and the sitemap (the ones robots.txt names, else /sitemap.xml, index files and their children)Every 6 hoursConditional requests (If-None-Match, If-Modified-Since), so an unchanged file answers 304 and costs almost nothing.
The site’s pages for the weekly checkOnce a weekUp to 200 pages, busiest first, then the newest in the sitemap. One request at a time, six pages then a minute’s pause. Some internal links get a HEAD request to see if they work.
  • Only sites that use Stattery and had visitors in the last 30 days are checked, and only on their owner’s behalf.
  • It follows redirects, reads the HTML as text and never runs scripts, submits forms or signs in.
  • It doesn’t obey robots.txt rules for itself, because its job is to see what search engines would see. To keep the check working behind a firewall, WAF or security plugin, allow the user agent above.

The certificate and domain dates come from public certificate logs and the domain registry, not from the site.

What Stattery Reads From Google And Bing

SourceAccessWhat Stattery reads
Google Search Consolehttps://www.googleapis.com/auth/webmasters.readonlySearch terms, pages, clicks, impressions, position, by day, for the properties the person picks.
Bing Webmaster ToolsThe owner’s Bing Webmaster Tools API key, pasted in and stored encryptedSearch terms, pages, clicks, impressions, position, and inbound links.
Google Business Profilehttps://www.googleapis.com/auth/business.manageDaily calls, directions, website clicks and views, and monthly search keywords, for the locations picked. Google names this scope for managing; Stattery uses it only to read.
Chrome UX ReportStattery’s own Google keyPublic figures from Chrome users. The customer connects nothing.

Stattery never writes to Google or Bing: it submits no sitemaps, removes no addresses, posts nothing and answers no reviews. Disconnecting in SEO & Search, Settings deletes the stored sign-in or key; you can also remove Stattery’s access from your Google account, or make a new API key in Bing Webmaster Tools.