A Model Context Protocol (MCP) server for Microsoft Bing Search API integration, allowing AI assistants to perform web, news, and image searches. - 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 - Python 3.10 or higher - Microsoft Bing Search API key - MC
Add this skill
npx mdskills install leehanchung/bing-search-mcpWell-documented MCP server with three useful Bing search tools and clear setup instructions
1# Bing Search MCP Server23A Model Context Protocol (MCP) server for Microsoft Bing Search API integration, allowing AI assistants to perform web, news, and image searches.45[](https://smithery.ai/server/@leehanchung/bing-search-mcp)678910## Features1112- Web search for general information13- News search for recent events and timely information14- Image search for visual content15- Rate limiting to prevent API abuse16- Comprehensive error handling1718## Requirements1920- Python 3.10 or higher21- Microsoft Bing Search API key22- MCP-compatible client (e.g., Claude Desktop, Cursor)2324## Installation25261. Clone this repository272. Install dependencies:28 ```29 uv venv30 source .venv/bin/activate # On Windows: .venv\Scripts\activate31 uv pip install -e .32 ```3334## Configuration3536Set the required environment variables:3738```bash39export BING_API_KEY="your-bing-api-key"40export BING_API_URL="https://api.bing.microsoft.com/" # Optional41```4243For Windows:44```cmd45set BING_API_KEY=your-bing-api-key46set BING_API_URL=https://api.bing.microsoft.com/47```4849## Usage5051### Running the server5253```54uvx bing-search-mcp55```5657### Configuring with Claude for Desktop5859Add 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):6061```json62{63 "mcpServers": {64 "bing-search": {65 "command": "uvx",66 "args": [67 "/path/to/your/bing-search-mcp"68 ],69 "env": {70 "BING_API_KEY": "your-bing-api-key"71 }72 }73 }74}75```767778## Available Tools7980### 1. bing_web_search81General web search for information, websites, and content.8283```python84bing_web_search(query: str, count: int = 10, offset: int = 0, market: str = "en-US")85```8687### 2. bing_news_search88Search for news articles and current events.8990```python91bing_news_search(query: str, count: int = 10, market: str = "en-US", freshness: str = "Day")92```9394### 3. bing_image_search95Search for images.9697```python98bing_image_search(query: str, count: int = 10, market: str = "en-US")99```100101## Getting a Bing API Key1021031. Visit [Microsoft Azure Portal](https://portal.azure.com/)1042. Create or sign in to your Azure account1053. Create a new Bing Search resource1064. Go to the resource and find your API key in the "Keys and Endpoint" section107108## License109110[MIT License](LICENSE)111
Full transparency — inspect the skill content before installing.