Bing Webmaster Tools MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Bing Webmaster Tools MCPTop 20 Bing queries by clicks for my site last month"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Bing Webmaster Tools MCP
English · Español
A local MCP server that lets Claude query your Bing Webmaster Tools data in plain language:
"Which queries brought me the most Bing clicks last month?" "Which pages have crawl errors?" "Who links to this URL, and with what anchor text?"
Runs on your computer. Claude starts it locally and it talks straight to the official Bing Webmaster API. No servers, no accounts, nothing in between.
Your own API key. It stays on your machine (stored by Claude Desktop as a sensitive setting, or in your own config).
Read-only. It never submits URLs, edits sitemaps or changes settings.
No dependencies. A single bundled file; Claude Desktop needs nothing else installed.
1. Get your Bing Webmaster Tools API key
Bing Webmaster Tools → Settings (gear icon) → API access → API Key → Generate, and copy it. One key covers every verified site on that account. If you regenerate it, update it in Claude too.
Related MCP server: bing-seo-mcp
2. Install
Claude Desktop — one click (recommended)
Download the latest
bing-webmaster-tools-mcp-x.y.z.mcpbfrom Releases.Double-click it (or drag it onto Claude Desktop, or use Settings → Extensions → Install extension…).
Paste your API key when asked, and enable the extension.
Claude Desktop runs the extension with its own built-in Node.js, so you don't have to install anything.
Claude Desktop — manual config
The same way you'd add any other local MCP server. Requires Node.js 20 or newer.
Open Settings → Developer → Edit Config and add this inside "mcpServers":
{
"mcpServers": {
"bing-webmaster": {
"command": "npx",
"args": ["-y", "bing-webmaster-tools-mcp"],
"env": { "BING_WEBMASTER_API_KEY": "your-api-key" }
}
}
}Save and restart Claude Desktop.
Claude Code
claude mcp add bing-webmaster -e BING_WEBMASTER_API_KEY=your-api-key -- npx -y bing-webmaster-tools-mcpAdd --scope user to make it available in every project.
Other MCP clients (Cursor, VS Code, Windsurf…)
Use the same command, args and env as in the manual config above, in that client's MCP settings.
3. Use it
Start a new chat and ask. Good first prompts:
List my Bing Webmaster sites.
Top 20 queries by clicks on https://example.com/ in the last 3 months, with CTR and position.
Which queries have many impressions but CTR under 1%?
Compare Bing clicks for /blog/ pages in August vs September.
Show crawl issues and sitemap errors for my site.
Tools
Tool | Returns | Bing API method |
| Sites on the account and whether they are verified | GetUserSites |
| Clicks, impressions, CTR and position per query | GetQueryStats |
| Same, per URL | GetPageStats |
| URLs that rank for a query | GetQueryPageStats |
| Queries that lead to a URL | GetPageQueryStats |
| Site-wide clicks and impressions over time | GetRankAndTrafficStats |
| One query over time | GetQueryTrafficStats |
| Daily crawl data: crawled, errors, indexed, blocked… | GetCrawlStats |
| URLs with crawl issues | GetCrawlIssues |
| Index status of a URL | GetUrlInfo |
| Traffic for a URL | GetUrlTrafficInfo |
| Submitted sitemaps and their status | GetFeeds |
| Pages with inbound links | GetLinkCounts |
| Links and anchors pointing to a URL | GetUrlLinks |
| Historical Bing impressions for a keyword | GetKeywordStats |
| Related keywords | GetRelatedKeywords |
| Remaining URL submission quota | GetUrlSubmissionQuota |
Performance tools accept startDate, endDate, aggregate, sortBy, limit and contains. By default they sum every week in the period into one row per query or page (CTR included, position weighted by impressions) and return the top 50 by clicks, so a conversation isn't flooded with raw rows.
Where it works
It's a local connector: it runs on the computer where Claude Desktop or Claude Code is installed. On its own it isn't available on claude.ai in the browser or in the mobile apps, which can only reach connectors hosted on the internet.
Keeping your API key safe
The connector is read-only, but the Bing API key itself is not: the same key can submit URLs, remove sites from your account or grant other people access. Treat it like a password.
Where the key ends up, from safest to least safe:
Method | Where the key is stored | Recommendation |
| In Claude Desktop's settings, as a field marked sensitive; never in a file you edit | ✅ Recommended |
Claude Code ( | Plain text in your personal Claude Code config | OK on a computer only you use |
Manual | Plain text in that file | Works, but anyone with the file sees the key |
Claude Code with | Plain text in | ⚠️ Avoid: easy to commit to Git by mistake |
If you need a project-level config, reference an environment variable instead of the key itself; Claude Code expands it at runtime:
"env": { "BING_WEBMASTER_API_KEY": "${BING_WEBMASTER_API_KEY}" }Good habits:
Never paste the key into a chat with Claude or any other AI. Put it only in the settings field or config.
Install the
.mcpbonly from this repository's Releases page, where GitHub builds it from the published code.If you think the key leaked, regenerate it in Bing Webmaster Tools: the old one stops working immediately. Bing allows one key per user, so update it everywhere you use it.
What this server does with it: the key is only sent to ssl.bing.com over HTTPS, as the official API requires. It's never logged or included in tool output. Report vulnerabilities privately: see SECURITY.md.
Troubleshooting
Symptom | Fix |
"BING_WEBMASTER_API_KEY is not set" | Add the key in the extension settings, or in |
"InvalidApiKey" / key rejected | Copy the key again from Bing, or generate a new one and update it. |
Errors for one specific site | Use the exact URL from |
Tools don't appear (manual config) | Check |
Known limitations
Bing's AI Performance report (Copilot citations) has no public API, so it isn't available here.
Bing reports performance data per week, not per day, and keeps less history than Google Search Console.
Bing currently doesn't report the average click position (the API returns
-1), so only the average impression position is shown.Responses are capped at 200 rows; ask Claude to filter (
contains, dates) or aggregate instead of pulling everything.
Development
npm install
npm run build # dist/index.js
npm run typecheck
npm test # unit tests
npm run test:e2e # runs the built server over stdio against a fake Bing API
npm run pack # builds the Claude Desktop extension (.mcpb)src/index.ts Entry point (stdio)
src/server.ts MCP server and its 17 tools
src/bing.ts Bing Webmaster JSON API client
src/stats.ts Aggregation, filtering and sorting of performance rows
manifest.json Claude Desktop extension manifest
scripts/ Build and .mcpb packaging
test/ Unit and end-to-end testsContributions are welcome — see CONTRIBUTING.md.
License
MIT © Rafa Villaplana. Not affiliated with Microsoft or Anthropic. Bing is a trademark of Microsoft; Claude is a trademark of Anthropic.
This server cannot be deployed
Maintenance
Related MCP Connectors
Live SEO workflow tools for Claude Code, Codex, and AI agents.
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
GA4, Google Ads and Search Console in Claude. Read-only OAuth, multi-account for agencies.
Ask Google Search Console in plain language. Hosted, free, no Google Cloud project.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables querying Google Search Console data, including search analytics, indexing status, and sitemap management, through natural language conversations with Claude.146 npm5MIT
- AlicenseBqualityBmaintenanceProvides AI agents full access to Bing Webmaster Tools API for site management, URL submission, sitemaps, traffic stats, keyword research, and URL blocking.24146 npm1MIT
- AlicenseBqualityBmaintenanceEnables AI agents to query Bing Webmaster Tools for traffic, indexing, crawl issues, inbound links, and keywords, and to safely plan state-changing operations like URL and IndexNow submissions through a reviewable two-step workflow.62MIT
- AlicenseCqualityCmaintenanceEnables AI assistants to manage Bing Webmaster Tools, including site verification, URL submissions, traffic analytics, crawl monitoring, and keyword analysis through natural language.62MIT