Bing Search MCP Server

Bing Search MCP Server

By leehanchung GitHub

MCP Server for Bing Search API

mcp claude
Overview

What is Bing Search MCP Server?

Bing Search MCP Server is a Model Context Protocol (MCP) server designed for integrating with the Microsoft Bing Search API, enabling AI assistants to perform web, news, and image searches.

How to use Bing Search MCP Server?

To use the server, clone the repository, install the necessary dependencies, set up your environment variables with your Bing API key, and run the server using the provided command.

Key features of Bing Search MCP Server?

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

Use cases of Bing Search MCP Server?

  1. Integrating Bing search capabilities into AI applications.
  2. Providing real-time news updates through AI assistants.
  3. Enabling image search functionalities in various applications.

FAQ from Bing Search MCP Server?

  • How do I get a Bing API key?

You can obtain a Bing API key by creating a new Bing Search resource in the Microsoft Azure Portal.

  • What are the system requirements?

The server requires Python 3.10 or higher and a compatible MCP client.

  • Is there any rate limiting?

Yes, the server includes rate limiting to prevent abuse of the API.

Content

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.

smithery badge

Bing Search MCP Server

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"
      }
    }
  }
}

Claude Code Bing Search MCP

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

No tools information available.

This is a basic MCP Server-Client Impl using SSE

mcp server-client
View Details

-

mcp model-context-protocol
View Details

Buttplug.io Model Context Protocol (MCP) Server

mcp buttplug
View Details

MCP web search using perplexity without any API KEYS

mcp puppeteer
View Details

free MCP server hosting using vercel

mcp mantle-network
View Details

MCPHubs is a website that showcases projects related to Anthropic's Model Context Protocol (MCP)

mcp mcp-server
View Details