bing-search-mcp is a Model Context Protocol (MCP) server for integrating the Microsoft Bing Search API, enabling AI assistants to perform web, news, and image searches. The project is hosted on GitHub, and the source code can be obtained via https://github.com/leehanchung/bing-search-mcp .
Purpose: To provide AI assistants with Bing-based search capabilities, suitable for scenarios that require obtaining real-time information, news, or images.
Main capabilities:
- Web search: Used to find general information, websites, and content.
- News search: Used to search for news articles and current events.
- Image search: Used to search for images.
- Rate limiting: Prevents API abuse.
- Comprehensive error handling.
How to use:
- Environment requirements: Python 3.10 or later, a Microsoft Bing Search API key, and an MCP-compatible client (such as Claude Desktop, Cursor).
- Clone the repository.
- Install dependencies: uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate uv pip install -e .
- Set the required environment variables.
- Run the server.
- Configure Claude for Desktop: Add the corresponding configuration to the Claude Desktop configuration file (on macOS the path is ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows the path is %APPDATA%\Claude\claude_desktop_config.json).
Available tools:
- bing_web_search: General web search, used to find information, websites, and content.
- bing_news_search: Search for news articles and current events.
- bing_image_search: Search for images.
Obtaining a Bing API key:
- Go to the Microsoft Azure portal.
- Create or sign in to an Azure account.
- Create a new Bing Search resource.
- Go to that resource and find the API key in the "Keys and Endpoint" section.
Applicable scenarios: Suitable for adding real-time web, news, and image search capabilities to AI assistants, applied to conversations or automated processes that require external information retrieval.
Limitations: You need to obtain a Microsoft Bing Search API key yourself, and ensure the client is MCP-compatible. Other limitations are not provided.