Skip to main content
Glama

Bing Search MCP Server

by leehanchung

Bing 搜索 MCP 服务器

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

Bing 搜索 MCP 服务器

特征

  • 网上搜索一般信息
  • 新闻搜索最近发生的事件和及时的信息
  • 视觉内容的图像搜索
  • 限制速率以防止 API 滥用
  • 全面的错误处理

要求

  • 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

可用工具

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

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

搜索新闻文章和时事。

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

搜索图像。

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

获取 Bing API 密钥

  1. 访问Microsoft Azure 门户
  2. 创建或登录 Azure 帐户
  3. 创建新的必应搜索资源
  4. 转到资源并在“密钥和端点”部分中找到您的 API 密钥

执照

MIT 许可证

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

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

  1. 特征
    1. 要求
      1. 安装
        1. 配置
          1. 用法
            1. 运行服务器
            2. 使用 Claude for Desktop 进行配置
          2. 可用工具
            1. bing\_web\_search
            2. bing\_news\_search
            3. bing\_image\_search
          3. 获取 Bing API 密钥
            1. 执照

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that enables AI models to perform real-time internet and knowledge searches through Higress, enhancing model responses with up-to-date information from Google, Bing, Arxiv, and internal knowledge bases.
                Last updated -
                1
                5
                Python
                Apache 2.0
              • A
                security
                F
                license
                A
                quality
                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.
                Last updated -
                1
                44
                8
                JavaScript
                • Apple
                • Linux
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that provides real-time web search capabilities to AI assistants through pluggable search providers, currently integrated with the Brave Search API.
                Last updated -
                3
                TypeScript
                MIT License
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server implementation that enables AI assistants like Claude to perform Google searches and retrieve web data directly through natural language requests.
                Last updated -
                1
                75
                3
                TypeScript
                MIT License

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/leehanchung/bing-search-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server