Bing Search
Perform web, news, and image searches using the Microsoft Bing Search API.
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
- Clone this repository
- 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
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
- Visit Microsoft Azure Portal
- Create or sign in to your Azure account
- Create a new Bing Search resource
- Go to the resource and find your API key in the "Keys and Endpoint" section
License
Related Servers
专利大数据服务
Provides comprehensive patent search and statistical analysis for intelligence analysis, technological innovation, and intellectual property management.
Google News
Google News search capabilities with automatic topic categorization and multi-language support via SerpAPI integration.
USDA api
This server allow you to ask questions with way more accurate nutrition facts.
Anime MCP Server
An AI-powered server for searching and getting recommendations for anime.
Airbnb
Search for Airbnb listings and retrieve their details.
Open Brewery DB
Search and retrieve brewery data worldwide using the Open Brewery DB API.
Tavily Search
A comprehensive search agent powered by the Tavily API for in-depth and reliable search results across various topics.
MCP Web Search Server
A web search server powered by DuckDuckGo, no API key required.
Shodan
Query Shodan's database of internet-connected devices and vulnerabilities using the Shodan API.
Contextual MCP Server
A server for Retrieval-Augmented Generation (RAG) using the Contextual AI platform.