Skip to main content
Glama
bing-webmaster-mcp

bing-webmaster-mcp

bing-webmaster-mcp

MCP server (stdio) for Bing Webmaster Tools: search performance, sitemaps, URL submission, IndexNow, crawl diagnostics, keyword volumes and inbound links, for Claude Code, Claude Desktop, Cursor and any other MCP client.

Plain Node.js, two dependencies, no build step. The only network calls go to ssl.bing.com and api.indexnow.org.

Tools

Tool

What it answers / does

list_sites

Which sites can this API key see, and are they verified?

query_stats

Top Bing search queries: impressions / clicks / position

page_stats

Top pages by Bing search traffic

rank_traffic_stats

Daily Bing impressions / clicks trend

list_sitemaps

Submitted sitemaps with status and URL counts

submit_sitemap

(Re)submit a sitemap URL

remove_sitemap

Remove a submitted sitemap (the file itself is untouched)

url_info

What Bing knows about one URL: discovery, last crawl, HTTP status

submit_urls

Push up to 500 URLs into Bing's crawl queue; response includes the remaining quota

indexnow

Instant, quota-free "URL added/updated" ping to the IndexNow network (Bing, Yandex, …)

crawl_stats

Bingbot activity: pages crawled, HTTP code buckets, robots blocks

crawl_issues

Concrete URLs with crawl problems and their HTTP codes

keyword_research

Bing search volumes for a term in a market; related: true → related keywords

backlinks

Inbound-link counts per page; with url, the linking pages + anchor texts

Every site-scoped tool takes an optional siteUrl. When omitted it uses the BING_SITE_URL environment variable. Pass the site exactly as it is registered in Bing Webmaster Tools. For a domain-scoped property that is the apex (https://example.com/), and URLs on its subdomains are accepted by the submission tools.

Responses are JSON. Bing's {"d": …} wrapper and WCF /Date(ms)/ timestamps are normalized before the tool returns.

Related MCP server: bing-seo-mcp

Setup

1. Get an API key

  1. Sign in to Bing Webmaster Tools with the account that owns the verified site.

  2. Open Settings → API Access, accept the terms and click Generate API Key. One key per user; it covers all the user's verified sites.

Without a key the server still starts and registers its tools; every call answers with these setup steps instead of data.

2. Add the server to your client

Claude Code (.mcp.json in the project, or claude mcp add):

{
  "mcpServers": {
    "bing-webmaster": {
      "command": "npx",
      "args": ["-y", "bing-webmaster-mcp"],
      "env": {
        "BING_API_KEY": "your-api-key",
        "BING_SITE_URL": "https://example.com/"
      }
    }
  }
}

Claude Desktop (claude_desktop_config.json) and Cursor (.cursor/mcp.json) take the same block.

If the config file is committed to version control, keep the key out of it: save the key in a file outside the repo and set BING_API_KEY_FILE to its path instead of BING_API_KEY.

3. IndexNow (optional)

The IndexNow protocol verifies ownership by fetching https://<your-host>/<key>.txt, so the key is public by design.

  1. Generate a key: 8–128 characters of a-z, A-Z, 0-9 and -.

  2. Host it as <key>.txt at the root of the site (it must return the key as plain text).

  3. Keep a local copy of that file and set INDEXNOW_KEY_FILE to its path. The file name must match its content.

If the key file is not yet reachable, the indexnow tool returns the 403 explanation instead of a bare error.

Environment

Variable

Meaning

BING_API_KEY

The API key. Overrides BING_API_KEY_FILE.

BING_API_KEY_FILE

Path to a file containing the API key. Relative paths resolve from the process working directory.

BING_SITE_URL

Default site for every site-scoped tool, as registered in Bing Webmaster Tools.

INDEXNOW_KEY_FILE

Path to your local copy of the IndexNow key file (<key>.txt).

INDEXNOW_SITE_URL

The host that serves the key file, when it differs from BING_SITE_URL (e.g. property on the apex, site served on www). Governs the indexnow tool's origin check and key location.

Development

npm install
npm test            # node --test — offline, network mocked
node server.mjs     # run manually (stdio; speaks MCP JSON-RPC)

server.mjs wires the MCP tools, lib.mjs holds the pure validation and shaping helpers (unit-tested), and bing.mjs is the only file that talks to the network.

License

MIT

Available Tools

14 tools
crawl_issuesC

Concrete URLs with crawl issues Bing found on the site (HTTP errors, robots blocks, malware flags), with their HTTP code.

Inputs: siteUrl.

crawl_statsA

Bingbot crawl activity over time: pages crawled, in-index counts, HTTP code buckets (2xx/301/302/4xx/5xx), robots.txt blocks and crawl errors.

Inputs: siteUrl.

indexnowA

Ping the IndexNow network (Bing, Yandex, Seznam, Naver…) that URLs of the site were added or updated — instant and quota-free. Requires the key file .txt to be hosted at the site root.

Inputs: urls (required).

keyword_researchA

Bing search-impression volume for a keyword over a date range — real numbers, no credentials beyond the API key. With related: true, returns related keywords and their volumes instead. Default range: trailing 3 months.

Inputs: q (required), country (required), language (required), endDate, +2 more.

list_sitemapsB

Sitemaps Bing knows for the site, with processing status, URL counts and last-crawl time.

Inputs: siteUrl.

list_sitesA

List the sites this Bing Webmaster Tools API key can access, with verification status.

Inputs: no named parameters.

page_statsB

Top pages by Bing search traffic for the site (impressions and clicks per page).

Inputs: siteUrl.

query_statsA

Top search queries on Bing for the site: impressions, clicks and average position over the trailing period the API serves (~6 months).

Inputs: siteUrl.

rank_traffic_statsC

Daily Bing impressions and clicks trend for the whole site.

Inputs: siteUrl.

remove_sitemapA

Remove a submitted sitemap from the site in Bing Webmaster Tools (does not delete the file).

Inputs: feedUrl (required), siteUrl.

submit_sitemapB

Submit (or resubmit) a sitemap URL for the site.

Inputs: feedUrl (required), siteUrl.

submit_urlsA

Push up to 500 URLs of the site into Bing's crawl queue (SubmitUrlBatch). The response includes the remaining daily/monthly submission quota. URLs must belong to the site.

Inputs: urls (required), siteUrl.

url_infoB

What Bing knows about one URL of the site: discovery date, last crawl date, HTTP status and document details.

Inputs: url (required), siteUrl.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 14 tools

    Disambiguation5/5

    Each tool targets a distinct resource or report dimension: query stats vs page stats vs daily trend, crawl stats vs crawl issues, sitemap lifecycle vs URL submission. Even the two URL-submission tools, submit_urls and indexnow, are clearly separated by mechanism and quota behavior.

    Naming Consistency3/5

    Names are split between verb-led actions like list_sites and submit_sitemap and noun-led reports like page_stats, crawl_issues, url_info, and backlinks. All are snake_case and readable, but there is no single consistent verb_noun pattern.

    Tool Count5/5

    14 tools cover the major Bing Webmaster workflows without redundancy; each one addresses a separate reporting or management need. This sits comfortably in the well-scoped 3-15 tool range.

    Completeness4/5

    The server covers traffic analytics, crawl health, sitemaps, URL submission/IndexNow, keyword research, and backlinks, so most SEO workflows are supported. The main gap is site administration: there is no way to add/remove a site or complete verification, only to list sites and their verification status.

    Maintenance

    ActivityStale
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Provides AI agents full access to Bing Webmaster Tools API for site management, URL submission, sitemaps, traffic stats, keyword research, and URL blocking.
      24
      10 npm
      1
      MIT
    • A
      license
      C
      quality
      C
      maintenance
      Enables AI assistants to manage Bing Webmaster Tools, including site verification, URL submissions, traffic analytics, crawl monitoring, and keyword analysis through natural language.
      62
      MIT