Bing SearchSAFE
MCP Server for Bing Search API
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
A Model Context Protocol (MCP) server for Microsoft Bing Search API integration, allowing AI assistants to perform web, news, and image searches.
[](https://smithery.ai/server/@leehanchung/bing-search-mcp)
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. bingwebsearch
General web search for information, websites, and content.
bing_web_search(query: str, count: int = 10, offset: int = 0, market: str = "en-US")
2. bingnewssearch
Search for news
8386d43a60deOBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add mcp_server_bing --env BING_API_KEY=${BING_API_KEY} -- uvx mcp_server_bing{
"mcpServers": {
"mcp_server_bing": {
"command": "uvx",
"args": [
"mcp_server_bing"
],
"env": {
"BING_API_KEY": "${BING_API_KEY}"
}
}
}
}Exposed tools (3)
3 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
bing_image_search | read | Searches for images using Bing Image Search API for visual content. |
bing_news_search | read | Searches for news articles using Bing News Search API for current |
bing_web_search | read | Performs a web search using the Bing Search API for general information |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (5 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (2)
.env.sample
.windsurfrules
Gates applied: no_behavioural_pass.
8386d43a60defull audit observations/trust-audit/mcp-server/leehanchung__bing-search.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 8386d43a60de | SAFE | B | 89 | first audit |
Questions
What is the Bing Search MCP server?
MCP Server for Bing Search API
What tools does Bing Search expose?
3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Bing Search safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Bing Search need?
It reads BING_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Bing Search run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as mcp_server_bing.
How current is this page?
The grade is for one exact copy of the source (8386d43a60de), read on 2026-10-07. The repository is watched and re-audited when it changes.