Home / MCP / Bing Search MCP Server

Bing Search MCP Server

MCP server for Bing Search API with web, news, and image search capabilities

python
Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
    "mcpServers": {
        "bing_search": {
            "command": "uvx",
            "args": [
                "/path/to/your/bing-search-mcp"
            ],
            "env": {
                "BING_API_KEY": "your-bing-api-key",
                "BING_API_URL": "https://api.bing.microsoft.com/"
            }
        }
    }
}

This MCP server enables AI assistants to perform web, news, and image searches via the Bing Search API. It provides structured search capabilities, rate limiting, and robust error handling so you can add timely information retrieval to your assistants with minimal setup.

How to use

You run the server as a local MCP endpoint and connect your MCP-compatible client to it. The server exposes three search capabilities: web, news, and image search. In your client, select the appropriate tool to perform a query, for example to look up general information, recent events, or relevant images. Provide your query, and the MCP client will route the request to the Bing Search API and return results.

How to install

Prerequisites: Python 3.10 or higher.

Install and run the MCP server locally using the runtime and package manager indicated in the setup steps.

uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
uv pip install -e .

Additional configuration and usage notes

Set the required environment variables before starting the server.

export BING_API_KEY="your-bing-api-key"
export BING_API_URL="https://api.bing.microsoft.com/"  # Optional

Running the server and configuring a client

Start the server using the runtime command below. This runs the Bing Search MCP server locally and makes it available for MCP clients.

uvx bing-search-mcp

Configuring an MCP client (Claude Desktop example)

Add a connection entry for the Bing Search MCP server in your Claude Desktop configuration.

{
  "mcpServers": {
    "bing-search": {
      "command": "uvx",
      "args": [
        "/path/to/your/bing-search-mcp"
      ],
      "env": {
        "BING_API_KEY": "your-bing-api-key"
      }
    }
  }
}

Available tools

bing_web_search

General web search for information, websites, and content.

bing_news_search

Search for news articles and current events.

bing_image_search

Search for images.