Bing 検索 MCP サーバー
Microsoft Bing Search API 統合用のモデル コンテキスト プロトコル (MCP) サーバー。AI アシスタントが Web、ニュース、画像の検索を実行できるようになります。

特徴
一般情報のウェブ検索
最新の出来事やタイムリーな情報を検索するニュース
視覚コンテンツの画像検索
APIの不正使用を防ぐためのレート制限
包括的なエラー処理
Related MCP server: MCP Web Search Tool
要件
Python 3.10以上
Microsoft Bing 検索 API キー
MCP 互換クライアント (例: Claude Desktop、Cursor)
インストール
このリポジトリをクローンする
依存関係をインストールします:
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/" # OptionalWindowsの場合:
set BING_API_KEY=your-bing-api-key
set BING_API_URL=https://api.bing.microsoft.com/使用法
サーバーの実行
uvx bing-search-mcpClaude 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"
}
}
}
}
利用可能なツール
1. bing_web_search
情報、Web サイト、コンテンツに関する一般的な Web 検索。
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キーの取得
Microsoft Azureポータルにアクセス
Azure アカウントを作成またはサインインする
新しいBing検索リソースを作成する
リソースに移動し、「キーとエンドポイント」セクションでAPIキーを見つけます。
ライセンス
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.