This guide will help you set up the Bing Webmaster Tools MCP server with Claude Code.
- Claude Code CLI installed (Download here)
- Node.js 16+ installed
- Bing Webmaster API key (Get it here)
Choose one of the following methods:
Add the server with your API key in one command:
claude mcp add bing-webmaster -e BING_WEBMASTER_API_KEY=your_api_key_here -- npx -y @isiahw1/mcp-server-bing-webmaster@latestFirst set the environment variable:
export BING_WEBMASTER_API_KEY="your_api_key_here"Then add the server:
claude mcp add bing-webmaster -- npx -y @isiahw1/mcp-server-bing-webmaster@latestCreate a .env file in your project directory:
BING_WEBMASTER_API_KEY=your_api_key_here
Then add the server:
claude mcp add bing-webmaster -- npx -y @isiahw1/mcp-server-bing-webmaster@latestclaudeOnce launched, try these commands to verify the setup:
"Show me all my sites in Bing Webmaster Tools"
"What's my URL submission quota?"
If you're experiencing issues, run Claude Code with debug logging:
claude --mcp-debug"Cannot find MCP server" error:
- Ensure you've run the
claude mcp addcommand - Check that Node.js is installed:
node --version
"Invalid API key" error:
- Verify your API key is correct
- Make sure the environment variable is set:
echo $BING_WEBMASTER_API_KEY
"spawn ENOENT" error:
- This usually means npx can't be found
- Ensure Node.js and npm are in your PATH
Look for messages like:
MCP server "bing-webmaster" Server stderr: Starting Bing Webmaster MCP server...
claude mcp add bing-webmaster -e BING_WEBMASTER_API_KEY=your_api_key_here -- npx -y @isiahw1/mcp-server-bing-webmaster@1.0.1# From your development directory
cd /path/to/mcp-server-bing-webmaster
claude mcp add bing-webmaster-dev -e BING_WEBMASTER_API_KEY=your_api_key_here -- uv run python -m mcp_server_bwtYou can pass multiple environment variables using multiple -e flags:
claude mcp add bing-webmaster \
-e BING_WEBMASTER_API_KEY=your_api_key_here \
-e LOG_LEVEL=debug \
-- npx -y @isiahw1/mcp-server-bing-webmaster@latest- Explore the full list of available tools
- Check out usage examples
- Learn about API quotas and limits
If you encounter issues:
- Check the troubleshooting section
- Review GitHub Issues
- Open a new issue with debug logs