# bing-search-mcp

> MCP Server

This repository provides a Model Context Protocol (MCP) server for integrating the Microsoft Bing Search API, enabling AI assistants to perform web, news, and image searches. This repository provides a

## Overview

- **Category:** Search & Knowledge
- **Language:** Python
- **Stars:** 78
- **Forks:** 0
- **Owner:** leehanchung
- **GitHub:** https://github.com/leehanchung/bing-search-mcp
- **Created:** 2025-03-15T23:29:35+00:00
- **Updated:** 2025-03-22T22:00:42+00:00
- **Source:** https://model-context-protocol.com/servers/bing-search-api-model-context-server

## Setup

## Setup
1. Clone this repository
2. Install dependencies:
   ```
uv venv
   source .venv/bin/activate  # On Windows: .venv\Scripts\activate
   uv pip install -e .
   ```
Set the required environment variables:

```bash
export BING_API_KEY="your-bing-api-key"
export BING_API_URL="https://api.bing.microsoft.com/"  # Optional
```

For Windows:
```cmd
set BING_API_KEY=your-bing-api-key
set BING_API_URL=https://api.bing.microsoft.com/
```

## Tools

## Available Tools

1. Web search (General web search for information, websites, and content)
2. News search (Search for news articles and current events)
3. Image search (Search for images)
4. Rate limiting (Prevent API abuse)
5. Comprehensive error handling (Provides error handling)
