bing-webmaster-mcp 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Surendran B
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,169 @@
1
+ Metadata-Version: 2.4
2
+ Name: bing-webmaster-mcp
3
+ Version: 0.1.0
4
+ Summary: Bing Webmaster Tools & IndexNow API MCP server for AI agents: search performance, crawl issues, and instant URL indexing.
5
+ Author-email: Surendran B <reachsuren@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://bing-webmaster.builditwithai.xyz
8
+ Project-URL: Repository, https://github.com/surendranb/bing-webmaster-mcp-server.git
9
+ Project-URL: Issues, https://github.com/surendranb/bing-webmaster-mcp-server/issues
10
+ Keywords: mcp,mcp-server,bing,bing-webmaster,indexnow,seo,search-analytics,agents
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
18
+ Requires-Python: >=3.10
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: mcp<3,>=2.0.0
22
+ Provides-Extra: test
23
+ Requires-Dist: pytest>=8.0.0; extra == "test"
24
+ Requires-Dist: pytest-asyncio>=0.23.0; extra == "test"
25
+ Dynamic: license-file
26
+
27
+ # Bing Webmaster Tools & IndexNow MCP Server
28
+
29
+ High-signal Model Context Protocol (MCP) server for Microsoft Bing Webmaster Tools and IndexNow instant search engine indexing.
30
+
31
+ [![PyPI version](https://img.shields.io/pypi/v/bing-webmaster-mcp.svg)](https://pypi.org/project/bing-webmaster-mcp/)
32
+ [![npm version](https://img.shields.io/npm/v/bing-webmaster-tools-mcp.svg)](https://www.npmjs.com/package/bing-webmaster-tools-mcp)
33
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
34
+
35
+ Companion to [`google-search-console-mcp`](https://github.com/surendranb/google-search-console-mcp) for agentic SEO, search analytics, and automated indexing pipelines.
36
+
37
+ ---
38
+
39
+ ## Capabilities & Tools
40
+
41
+ 1. **`get_user_sites(apikey?)`**: List all verified and unverified domains, authentication codes, and DNS verification records.
42
+ 2. **`get_query_stats(site_url, apikey?)`**: Retrieve search performance metrics (clicks, impressions, CTR %, average click and impression positions) broken down by query, with aggregated totals calculated server-side.
43
+ 3. **`get_page_stats(site_url, apikey?)`**: Fetch URL-level traffic and performance metrics for top pages.
44
+ 4. **`get_crawl_issues(site_url, apikey?)`**: Inspect crawl errors, HTTP status diagnostics (404s, 500s), and in-link severity encountered by Bingbot.
45
+ 5. **`submit_urls(site_url, urls, apikey?, indexnow_key?)`**: Dual-submit URLs for immediate indexing via both the Bing Webmaster API and the IndexNow open protocol (`https://api.indexnow.org/indexnow`).
46
+ 6. **`doctor()`**: Run diagnostics on API credentials, IndexNow key setup, telemetry opt-out status, and test beds.
47
+ 7. **`skills_list()` / `skill_read(name)`**: Access dynamic workflow playbooks (e.g. `bing-webmaster-audit`, `indexnow-instant-indexing`) loaded from GitHub.
48
+ 8. **`check_for_updates()`**: Verify against PyPI for newer releases.
49
+
50
+ ---
51
+
52
+ ## Installation
53
+
54
+ ### Python (`uvx` - Recommended)
55
+
56
+ ```bash
57
+ uvx bing-webmaster-mcp
58
+ ```
59
+
60
+ ### Node / npm (`npx`)
61
+
62
+ ```bash
63
+ npx bing-webmaster-tools-mcp
64
+ ```
65
+
66
+ ---
67
+
68
+ ## Configuration
69
+
70
+ Set the environment variables in your MCP client configuration:
71
+
72
+ - `BING_WEBMASTER_API_KEY`: Your Bing Webmaster Tools API key.
73
+ - `INDEXNOW_KEY` (Optional): Your IndexNow API key for instant multi-engine indexing.
74
+
75
+ ### Claude Desktop
76
+
77
+ Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
78
+
79
+ ```json
80
+ {
81
+ "mcpServers": {
82
+ "bing-webmaster": {
83
+ "command": "uvx",
84
+ "args": ["bing-webmaster-mcp"],
85
+ "env": {
86
+ "BING_WEBMASTER_API_KEY": "YOUR_BING_API_KEY",
87
+ "INDEXNOW_KEY": "YOUR_INDEXNOW_KEY"
88
+ }
89
+ }
90
+ }
91
+ }
92
+ ```
93
+
94
+ Or via npx:
95
+
96
+ ```json
97
+ {
98
+ "mcpServers": {
99
+ "bing-webmaster": {
100
+ "command": "npx",
101
+ "args": ["-y", "bing-webmaster-tools-mcp"],
102
+ "env": {
103
+ "BING_WEBMASTER_API_KEY": "YOUR_BING_API_KEY"
104
+ }
105
+ }
106
+ }
107
+ }
108
+ ```
109
+
110
+ ### Cursor
111
+
112
+ Add to `.cursor/mcp.json`:
113
+
114
+ ```json
115
+ {
116
+ "mcpServers": {
117
+ "bing-webmaster": {
118
+ "command": "uvx",
119
+ "args": ["bing-webmaster-mcp"],
120
+ "env": {
121
+ "BING_WEBMASTER_API_KEY": "YOUR_BING_API_KEY"
122
+ }
123
+ }
124
+ }
125
+ }
126
+ ```
127
+
128
+ ---
129
+
130
+ ## How to Get Credentials
131
+
132
+ ### Bing Webmaster Tools API Key
133
+ 1. Sign in to [Bing Webmaster Tools](https://www.bing.com/webmasters).
134
+ 2. Click the **Settings** gear icon in the top right corner.
135
+ 3. Select **API Access** > **API Key**.
136
+ 4. Click **Generate API Key** (or copy existing key).
137
+
138
+ ### IndexNow Key
139
+ 1. Generate an 8-128 character hex key or UUID.
140
+ 2. Host a text file named `<your-key>.txt` containing only the key at your website root (e.g., `https://example.com/<your-key>.txt`).
141
+ 3. Set `INDEXNOW_KEY="<your-key>"`.
142
+
143
+ ---
144
+
145
+ ## Error Handling & Model UX
146
+
147
+ Every error message is classified so AI agents know whether to ask for human help or self-correct:
148
+ - `[INPUT_FIXABLE]`: Malformed URLs, host mismatches, or missing arguments. Correctable by the model.
149
+ - `[ENVIRONMENT_FIXABLE: STOP & ASK HUMAN]`: Missing or unauthorized API keys, or unverified sites. Stop and request human intervention.
150
+ - `[TRANSIENT]`: Rate limits (HTTP 429) or upstream downtime. Safe to retry after a pause.
151
+
152
+ ---
153
+
154
+ ## Telemetry & Privacy
155
+
156
+ This server includes anonymous usage telemetry to monitor tool performance and errors.
157
+ To opt out completely, set either:
158
+ ```bash
159
+ export DO_NOT_TRACK=1
160
+ # or
161
+ export MCP_TELEMETRY_OPT_OUT=1
162
+ ```
163
+ API keys, URLs, and sensitive arguments are strictly redacted before transmission.
164
+
165
+ ---
166
+
167
+ ## License
168
+
169
+ MIT © [Surendran B](https://github.com/surendranb)
@@ -0,0 +1,143 @@
1
+ # Bing Webmaster Tools & IndexNow MCP Server
2
+
3
+ High-signal Model Context Protocol (MCP) server for Microsoft Bing Webmaster Tools and IndexNow instant search engine indexing.
4
+
5
+ [![PyPI version](https://img.shields.io/pypi/v/bing-webmaster-mcp.svg)](https://pypi.org/project/bing-webmaster-mcp/)
6
+ [![npm version](https://img.shields.io/npm/v/bing-webmaster-tools-mcp.svg)](https://www.npmjs.com/package/bing-webmaster-tools-mcp)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
8
+
9
+ Companion to [`google-search-console-mcp`](https://github.com/surendranb/google-search-console-mcp) for agentic SEO, search analytics, and automated indexing pipelines.
10
+
11
+ ---
12
+
13
+ ## Capabilities & Tools
14
+
15
+ 1. **`get_user_sites(apikey?)`**: List all verified and unverified domains, authentication codes, and DNS verification records.
16
+ 2. **`get_query_stats(site_url, apikey?)`**: Retrieve search performance metrics (clicks, impressions, CTR %, average click and impression positions) broken down by query, with aggregated totals calculated server-side.
17
+ 3. **`get_page_stats(site_url, apikey?)`**: Fetch URL-level traffic and performance metrics for top pages.
18
+ 4. **`get_crawl_issues(site_url, apikey?)`**: Inspect crawl errors, HTTP status diagnostics (404s, 500s), and in-link severity encountered by Bingbot.
19
+ 5. **`submit_urls(site_url, urls, apikey?, indexnow_key?)`**: Dual-submit URLs for immediate indexing via both the Bing Webmaster API and the IndexNow open protocol (`https://api.indexnow.org/indexnow`).
20
+ 6. **`doctor()`**: Run diagnostics on API credentials, IndexNow key setup, telemetry opt-out status, and test beds.
21
+ 7. **`skills_list()` / `skill_read(name)`**: Access dynamic workflow playbooks (e.g. `bing-webmaster-audit`, `indexnow-instant-indexing`) loaded from GitHub.
22
+ 8. **`check_for_updates()`**: Verify against PyPI for newer releases.
23
+
24
+ ---
25
+
26
+ ## Installation
27
+
28
+ ### Python (`uvx` - Recommended)
29
+
30
+ ```bash
31
+ uvx bing-webmaster-mcp
32
+ ```
33
+
34
+ ### Node / npm (`npx`)
35
+
36
+ ```bash
37
+ npx bing-webmaster-tools-mcp
38
+ ```
39
+
40
+ ---
41
+
42
+ ## Configuration
43
+
44
+ Set the environment variables in your MCP client configuration:
45
+
46
+ - `BING_WEBMASTER_API_KEY`: Your Bing Webmaster Tools API key.
47
+ - `INDEXNOW_KEY` (Optional): Your IndexNow API key for instant multi-engine indexing.
48
+
49
+ ### Claude Desktop
50
+
51
+ Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
52
+
53
+ ```json
54
+ {
55
+ "mcpServers": {
56
+ "bing-webmaster": {
57
+ "command": "uvx",
58
+ "args": ["bing-webmaster-mcp"],
59
+ "env": {
60
+ "BING_WEBMASTER_API_KEY": "YOUR_BING_API_KEY",
61
+ "INDEXNOW_KEY": "YOUR_INDEXNOW_KEY"
62
+ }
63
+ }
64
+ }
65
+ }
66
+ ```
67
+
68
+ Or via npx:
69
+
70
+ ```json
71
+ {
72
+ "mcpServers": {
73
+ "bing-webmaster": {
74
+ "command": "npx",
75
+ "args": ["-y", "bing-webmaster-tools-mcp"],
76
+ "env": {
77
+ "BING_WEBMASTER_API_KEY": "YOUR_BING_API_KEY"
78
+ }
79
+ }
80
+ }
81
+ }
82
+ ```
83
+
84
+ ### Cursor
85
+
86
+ Add to `.cursor/mcp.json`:
87
+
88
+ ```json
89
+ {
90
+ "mcpServers": {
91
+ "bing-webmaster": {
92
+ "command": "uvx",
93
+ "args": ["bing-webmaster-mcp"],
94
+ "env": {
95
+ "BING_WEBMASTER_API_KEY": "YOUR_BING_API_KEY"
96
+ }
97
+ }
98
+ }
99
+ }
100
+ ```
101
+
102
+ ---
103
+
104
+ ## How to Get Credentials
105
+
106
+ ### Bing Webmaster Tools API Key
107
+ 1. Sign in to [Bing Webmaster Tools](https://www.bing.com/webmasters).
108
+ 2. Click the **Settings** gear icon in the top right corner.
109
+ 3. Select **API Access** > **API Key**.
110
+ 4. Click **Generate API Key** (or copy existing key).
111
+
112
+ ### IndexNow Key
113
+ 1. Generate an 8-128 character hex key or UUID.
114
+ 2. Host a text file named `<your-key>.txt` containing only the key at your website root (e.g., `https://example.com/<your-key>.txt`).
115
+ 3. Set `INDEXNOW_KEY="<your-key>"`.
116
+
117
+ ---
118
+
119
+ ## Error Handling & Model UX
120
+
121
+ Every error message is classified so AI agents know whether to ask for human help or self-correct:
122
+ - `[INPUT_FIXABLE]`: Malformed URLs, host mismatches, or missing arguments. Correctable by the model.
123
+ - `[ENVIRONMENT_FIXABLE: STOP & ASK HUMAN]`: Missing or unauthorized API keys, or unverified sites. Stop and request human intervention.
124
+ - `[TRANSIENT]`: Rate limits (HTTP 429) or upstream downtime. Safe to retry after a pause.
125
+
126
+ ---
127
+
128
+ ## Telemetry & Privacy
129
+
130
+ This server includes anonymous usage telemetry to monitor tool performance and errors.
131
+ To opt out completely, set either:
132
+ ```bash
133
+ export DO_NOT_TRACK=1
134
+ # or
135
+ export MCP_TELEMETRY_OPT_OUT=1
136
+ ```
137
+ API keys, URLs, and sensitive arguments are strictly redacted before transmission.
138
+
139
+ ---
140
+
141
+ ## License
142
+
143
+ MIT © [Surendran B](https://github.com/surendranb)
@@ -0,0 +1,50 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "bing-webmaster-mcp"
7
+ version = "0.1.0"
8
+ description = "Bing Webmaster Tools & IndexNow API MCP server for AI agents: search performance, crawl issues, and instant URL indexing."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = "MIT"
12
+ authors = [{ name = "Surendran B", email = "reachsuren@gmail.com" }]
13
+ keywords = ["mcp", "mcp-server", "bing", "bing-webmaster", "indexnow", "seo", "search-analytics", "agents"]
14
+ classifiers = [
15
+ "Development Status :: 4 - Beta",
16
+ "Intended Audience :: Developers",
17
+ "Programming Language :: Python :: 3",
18
+ "Programming Language :: Python :: 3.10",
19
+ "Programming Language :: Python :: 3.11",
20
+ "Programming Language :: Python :: 3.12",
21
+ "Topic :: Software Development :: Libraries :: Python Modules",
22
+ ]
23
+ dependencies = [
24
+ "mcp>=2.0.0,<3",
25
+ ]
26
+
27
+ [project.optional-dependencies]
28
+ test = [
29
+ "pytest>=8.0.0",
30
+ "pytest-asyncio>=0.23.0",
31
+ ]
32
+
33
+ [project.urls]
34
+ Homepage = "https://bing-webmaster.builditwithai.xyz"
35
+ Repository = "https://github.com/surendranb/bing-webmaster-mcp-server.git"
36
+ Issues = "https://github.com/surendranb/bing-webmaster-mcp-server/issues"
37
+
38
+ [project.scripts]
39
+ bing-webmaster-mcp = "bing_webmaster_mcp.server:main"
40
+ bing-webmaster-tools-mcp = "bing_webmaster_mcp.server:main"
41
+
42
+ [tool.setuptools.packages.find]
43
+ where = ["src"]
44
+
45
+ [tool.setuptools.package-data]
46
+ bing_webmaster_mcp = ["skills/*.md"]
47
+
48
+ [tool.pytest.ini_options]
49
+ asyncio_mode = "auto"
50
+ testpaths = ["tests"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ """bing-webmaster-mcp: Bing Webmaster Tools & IndexNow API for AI agents."""
2
+
3
+ __version__ = "0.1.0"