bing-ai-visibility-mcp
Ask Claude which of your pages Microsoft Copilot cites, and compare that with your Bing search clicks.
A free, local, read-only MCP server for Bing Webmaster Tools, including the AI Performance report (Copilot / Bing AI citations, grounding queries, intents, topics, citation share).
Why it exists: Bing's AI Performance data (Feb 2026) is the only first-party AI-citation data any search engine gives site owners, but the Bing Webmaster API has no method for it: it is only in the web UI and its CSV/Excel exports. Other Bing MCP servers only cover the API, so they can't see it. This one reads your exports and joins them with the API's search data.
What you can ask
- "Which pages does Copilot cite most, and which of them get almost no clicks from Bing search?"
- "Which grounding queries cite us that we don't even rank for in Bing?" (AI trusts you, search doesn't show you)
- "Which pages get Bing clicks but are never cited by AI?" (what to restructure for AI answers)
- "What changed in AI citations since last month's export: new, lost, rising, falling pages?"
- "Group our grounding queries by intent / topic."
- Plus the usual: top queries and pages with weighted positions, this period vs the last, crawl issues grouped by type, sitemaps, URL info, keyword volume.
Tools (16, all read-only)
| AI Performance (from your exports) | Bing Webmaster API |
|---|---|
ai_exports: files found and what they are |
list_sites |
ai_overview: citations over time |
search_overview: clicks/impressions vs previous period, weekly |
ai_cited_pages: most-cited pages |
top_queries, top_pages (summed over N days) |
ai_grounding_queries: filter or group by intent/topic |
query_pages, page_queries |
ai_vs_search: citations joined with search clicks |
crawl_health: crawl stats + issues by type |
ai_compare: two exports, what changed |
url_info, sitemaps, keyword_volume |
Nothing can submit URLs, change sitemaps, block pages or edit settings: the client refuses any non-Get
API method. Your key and your files stay on your machine.
Setup
- API key: Bing Webmaster Tools → ⚙ Settings → API access → API key.
- Exports (for the AI tools): Bing Webmaster Tools → AI Performance → choose a date range → Export (CSV or Excel) on the chart, the Pages tab and the Grounding queries tab. Put the files in one folder. Add a new set each month to compare periods. File names don't matter; files are recognised by their columns, and unknown columns are kept.
- Add to Claude Desktop / Claude Code (
claude_desktop_config.jsonor.mcp.json):
{
"mcpServers": {
"bing": {
"command": "uvx",
"args": ["bing-ai-visibility-mcp"],
"env": {
"BING_WEBMASTER_API_KEY": "your-key",
"BING_SITE_URL": "https://www.example.com/",
"BING_AI_EXPORTS_DIR": "/path/to/bing-ai-exports"
}
}
}
}
Claude Code one-liner:
claude mcp add bing -e BING_WEBMASTER_API_KEY=your-key -e BING_AI_EXPORTS_DIR=~/bing-ai-exports -- uvx bing-ai-visibility-mcp
Test without an AI: BING_WEBMASTER_API_KEY=... BING_AI_EXPORTS_DIR=... uvx bing-ai-visibility-mcp --check
Reading the numbers honestly
- A citation means a Microsoft AI answer (Copilot, Bing AI summaries, some partners) named your page as a source. It is not a click or a visit. Bing says the data is sampled.
- A grounding query is a phrase Bing grouped with the answer, not the user's exact prompt.
- Each export is one period. The tools never add exports together;
ai_compareonly makes sense for periods of equal length. - Query matching between AI and search is exact after lower-casing and removing punctuation, so the real overlap is larger than shown.
- Search positions are passed through as Bing reports them (weighted by impressions when summed).
Development
pip install -e .[test] && pytest -q
Tests run the real server over stdio against a fake Bing API and real-shaped CSV/XLSX exports (comma and semicolon CSV, decimal commas, BOM, Excel dates, title rows). Python ≥ 3.10, MCP SDK 1.x and 2.x.
Not affiliated with Microsoft. MIT licence.
Metadata
Release files for bing-ai-visibility-mcp 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bing_ai_visibility_mcp-0.1.2.tar.gz | 20.9 kB | With provenance | Details for bing_ai_visibility_mcp-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bing_ai_visibility_mcp-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for bing_ai_visibility_mcp-0.1.2-py3-none-any.whl |
Total release size: 38.1 kB
Release files / bing_ai_visibility_mcp-0.1.2.tar.gz
| Download URL | bing_ai_visibility_mcp-0.1.2.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87d0c42e1421dbe6c10d577adf5e994f23572beae2cb83999059ca7319ddfb10
|
|
BLAKE2b-256 checksum How to use checksums |
f41c2ffeaf65b8b72384b69ca9f8d28d255c6591faa2182da2035d5598b409d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.
Transparency logRelease files / bing_ai_visibility_mcp-0.1.2-py3-none-any.whl
| Download URL | bing_ai_visibility_mcp-0.1.2-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a17510f0c21c8e935748fe7e8d5ac86fda353240cfca3dc638b50ac4d3be9d70
|
|
BLAKE2b-256 checksum How to use checksums |
20f7d6013fd14040ac657190c95d3866e16c44ab9561cf21778e54f83238ff9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.
Transparency logSecurity for bing-ai-visibility-mcp 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for bing_ai_visibility_mcp-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.