Skip to main 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

1. bing_web_search

General web search for information, websites, and content.

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

2. bing_news_search

Search for news articles and current events.

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

3. bing_image_search

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

Metadata

Release files for iflow-mcp_mcp_server_bing 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_mcp_server_bing 0.1.1
File Size Uploaded
iflow_mcp_mcp_server_bing-0.1.1.tar.gz 1.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_mcp_server_bing 0.1.1
File Interpreter ABI Platform
iflow_mcp_mcp_server_bing-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / iflow_mcp_mcp_server_bing-0.1.1.tar.gz

Download URL iflow_mcp_mcp_server_bing-0.1.1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
059db1d53a4add8e214b38fc08cb2961e212c19c7dfd0a140bbf9c1bb6ab33a9
BLAKE2b-256 checksum
How to use checksums
0a9d71c94468287481a624797b9873d4116a95b7c278c265fa98d35647157de8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release files / iflow_mcp_mcp_server_bing-0.1.1-py3-none-any.whl

Download URL iflow_mcp_mcp_server_bing-0.1.1-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f25ff2fe7a9b41d85aeb9ee40d311f176fa1d759442af7b18b1330c6fdcdc9d8
BLAKE2b-256 checksum
How to use checksums
8ce7ebc0bd426ec9f9d61a8517859ccf9892edd86ad370c549de7058965caf78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page