LB

leehanchung/bing-search-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

81 stars 12 forks 품질 65 트렌드 0MIT

leehanchung/bing-search-mcp는 MCP 서버 후보로 수입 https://github.com/leehanchung/bing-search-mcp.]

개요

leehanchung/bing-search-mcp는 MCP 서버 후보로 수입 https://github.com/leehanchung/bing-search-mcp.]

개요(AI 번역)

Microsoft Bing Search API 통합을 위한 Model Context Protocol (MCP) 서버는 웹, 뉴스 및 이미지 검색을 수행하기 위해 AI 조수가 허용됩니다.

특징

  • 일반 정보 검색
  • 최근 행사 및 적시 정보 검색
  • 영상 검색
  • API 남용을 방지하는 비율 제한
  • 포괄적인 오류 처리

요구 사항

  • Python 3.10 이상
  • Microsoft Bing 검색 API 키
  • MCP 호환 클라이언트 (예 : Claude Desktop, Cursor)

설치

  1. Clone 이 저장소
  2. 의존성 설치:

구성

필요한 환경 변수를 설정:

Windows를 위해:

사용법

서버 실행

데스크탑용 Claude로 구성

Windows에서 Claude Desktop 구성 파일 (~/Library/Application Support/Claude/claude_desktop_config.json]])에 다음을 추가하십시오.

사용 가능한 도구

##1 빙 web search 정보, 웹 사이트 및 콘텐츠에 대한 일반 웹 검색.

##2. bing news search 뉴스 기사 및 현재 이벤트 검색.

##3 빙 image search 이미지 검색.

Bing API 키 받기

  1. Microsoft Azure Portal 방문
  2. 명세.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

Bing Search MCP Server

A Model Context Protocol (MCP) server for Microsoft Bing Search API integration, allowing AI assistants to perform web, news, and image searches.

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

  1. Clone this repository
  2. 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. bing_web_search

General web search for information, websites, and content.

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

2. bing_news_search

Search for news articles and current events.

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

3. bing_image_search

Search for images.

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

Getting a Bing API Key

  1. Visit Microsoft Azure Portal
  2. Create or sign in to your Azure account
  3. Create a new Bing Search resource
  4. Go to the resource and find your API key in the “Keys and Endpoint” section

License

MIT License

GitHub에서 전체 README 보기

설치

uvx /path/to/your/bing-search-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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