Bing Search MCP Server

by leehanchung

Integrations

  • Supports configuration with Claude Desktop on macOS, allowing users to add the Bing Search MCP server to their Claude Desktop setup via the local configuration file.

Bing Search MCP Server

A Model Context Protocol (MCP) server for Microsoft Bing Search API integration, allowing AI assistants to perform web, news, and image searches.

Features

  • Web search for general information
  • News search for recent events and timely information
  • Image search for visual content
  • Rate limiting to prevent API abuse
  • Comprehensive error handling

Requirements

  • Python 3.10 or higher
  • Microsoft Bing Search API key
  • MCP-compatible client (e.g., Claude Desktop, Cursor)

Installation

  1. Clone this repository
  2. Install dependencies:
    uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate uv pip install -e .

Configuration

Set the required environment variables:

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

For Windows:

set BING_API_KEY=your-bing-api-key set BING_API_URL=https://api.bing.microsoft.com/

Usage

Running the server

uvx bing-search-mcp

Configuring with Claude for Desktop

Add the following to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows):

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

Available Tools

General web search for information, websites, and content.

bing_web_search(query: str, count: int = 10, offset: int = 0, market: str = "en-US")

Search for news articles and current events.

bing_news_search(query: str, count: int = 10, market: str = "en-US", freshness: str = "Day")

Search for images.

bing_image_search(query: str, count: int = 10, market: str = "en-US")

Getting a Bing API Key

  1. Visit Microsoft Azure Portal
  2. Create or sign in to your Azure account
  3. Create a new Bing Search resource
  4. Go to the resource and find your API key in the "Keys and Endpoint" section

License

MIT License

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Model Context Protocol server that integrates with Microsoft Bing Search API, allowing AI assistants to perform web, news, and image searches.

  1. Features
    1. Requirements
      1. Installation
        1. Configuration
          1. Usage
            1. Running the server
            2. Configuring with Claude for Desktop
          2. Available Tools
            1. 1. bing_web_search
            2. 2. bing_news_search
            3. 3. bing_image_search
          3. Getting a Bing API Key
            1. License

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that enables AI models to perform real-time internet and knowledge searches through Higress, enhancing model responses with up-to-date information from Google, Bing, Arxiv, and internal knowledge bases.
                Last updated -
                1
                5
                Python
                Apache 2.0
              • A
                security
                F
                license
                A
                quality
                A Model Context Protocol server that enables AI assistants to perform real-time web searches, retrieving up-to-date information from the internet via a Crawler API.
                Last updated -
                1
                44
                8
                JavaScript
                • Apple
                • Linux
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that provides real-time web search capabilities to AI assistants through pluggable search providers, currently integrated with the Brave Search API.
                Last updated -
                3
                TypeScript
                MIT License
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server implementation that enables AI assistants like Claude to perform Google searches and retrieve web data directly through natural language requests.
                Last updated -
                1
                75
                3
                TypeScript
                MIT License

              View all related MCP servers

              ID: nwtqbda2xc