Skip to main content
Glama
leehanchung

Bing Search MCP Server

by leehanchung

Bing 搜索 MCP 服务器

用于 Microsoft Bing 搜索 API 集成的模型上下文协议 (MCP) 服务器,允许 AI 助手执行网络、新闻和图像搜索。

铁匠徽章

Bing 搜索 MCP 服务器

特征

  • 网上搜索一般信息

  • 新闻搜索最近发生的事件和及时的信息

  • 视觉内容的图像搜索

  • 限制速率以防止 API 滥用

  • 全面的错误处理

Related MCP server: WebSearch-MCP

要求

  • Python 3.10 或更高版本

  • Microsoft Bing 搜索 API 密钥

  • MCP 兼容客户端(例如 Claude Desktop、Cursor)

安装

  1. 克隆此存储库

  2. 安装依赖项:

    uv venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    uv pip install -e .

配置

设置所需的环境变量:

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

对于 Windows:

set BING_API_KEY=your-bing-api-key
set BING_API_URL=https://api.bing.microsoft.com/

用法

运行服务器

uvx bing-search-mcp

使用 Claude for Desktop 进行配置

将以下内容添加到您的 Claude Desktop 配置文件(macOS 上为~/Library/Application Support/Claude/claude_desktop_config.json或 Windows 上为%APPDATA%\Claude\claude_desktop_config.json ):

{
  "mcpServers": {
    "bing-search": {
      "command": "uvx",
      "args": [
        "/path/to/your/bing-search-mcp"
      ],
      "env": {
        "BING_API_KEY": "your-bing-api-key"
      }
    }
  }
}

克劳德代码 Bing 搜索 MCP

可用工具

1. bing_web_search

对信息、网站和内容进行常规网络搜索。

bing_web_search(query: str, count: int = 10, offset: int = 0, market: str = "en-US")

2. bing_news_search

搜索新闻文章和时事。

bing_news_search(query: str, count: int = 10, market: str = "en-US", freshness: str = "Day")

3. bing_image_search

搜索图像。

bing_image_search(query: str, count: int = 10, market: str = "en-US")

获取 Bing API 密钥

  1. 访问Microsoft Azure 门户

  2. 创建或登录 Azure 帐户

  3. 创建新的必应搜索资源

  4. 转到资源并在“密钥和端点”部分中找到您的 API 密钥

执照

MIT 许可证

Available Tools

3 tools

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updatesv1.0.0
    • First observedbing_image_search
    • First observedbing_news_search
    • First observedbing_web_search

TDQS

A3.6/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose targeting different content types: images, news articles, and general web results. The descriptions explicitly differentiate their domains (visual content, current events, general information), leaving no ambiguity about which tool to use for a given search intent.

Naming Consistency5/5

All tools follow a perfect verb_noun pattern with 'bing_' prefix and consistent snake_case: bing_image_search, bing_news_search, bing_web_search. The naming convention is predictable and uniform throughout the tool set.

Tool Count4/5

Three tools is reasonable for a search-focused server, covering major content types. However, it feels slightly thin as other search modalities like video, academic, or local search could be relevant additions, but the core coverage is adequate.

Completeness4/5

The server provides solid coverage for web, image, and news search—key functionalities for a Bing integration. Minor gaps exist, such as missing video search or advanced filtering options, but agents can effectively perform most common search tasks with the available tools.

Maintenance

ActivityInactive
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI assistants to perform web searches using SearXNG, a privacy-respecting metasearch engine.
    1
    43
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    A Model Context Protocol server that enables AI assistants to perform real-time web searches, retrieving up-to-date information from the internet via a Crawler API.
    1
    51 npm
    42
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI assistants to perform web searches using Google Search API, returning up to 20 search results in JSON format.
    2
    Apache 2.0