bing search.com
bing search.com logo

Bing Search

Search the web using Bing services.

Created byApr 22, 2025

Bing Search MCP Server

Searches the web and reads links
This is a Model Context Protocol (MCP) server project.

Tools

`search(query: str) -> str`

  • Calls the Bing Search API with the provided query.
  • Processes each URL from the search results:
  • Returns the processed content and links as a LLM-friendly string.

`click(hashes: list[str]) -> str`

  • Takes a list of hashes (which originate from the search tool).
  • For each hash gets the corresponding URL from the local cache.
  • Then does the same processing as search for each URL and returns a similar LLM-friendly string.

Setup and Installation

Simply run:
To create the virtual environment and install dependencies.

Setup Environment Variables

Create a .env file based on .env.sample and populate it with:
  • BING_SEARCH_API_KEY
  • ASSISTANT__AZURE_OPENAI_ENDPOINT - This is necessary if you want to post process web content.

Running the Server

Use the VSCode launch configuration, or run manually:
Defaults to stdio transport:
For SSE transport:
The SSE URL is:

Client Configuration

To use this MCP server in your setup, consider the following configuration:

Stdio

SSE

Bing Search MCP Server

Searches the web and reads links
This is a Model Context Protocol (MCP) server project.

Tools

`search(query: str) -> str`

  • Calls the Bing Search API with the provided query.
  • Processes each URL from the search results:
  • Returns the processed content and links as a LLM-friendly string.

`click(hashes: list[str]) -> str`

  • Takes a list of hashes (which originate from the search tool).
  • For each hash gets the corresponding URL from the local cache.
  • Then does the same processing as search for each URL and returns a similar LLM-friendly string.

Setup and Installation

Simply run:
To create the virtual environment and install dependencies.

Setup Environment Variables

Create a .env file based on .env.sample and populate it with:
  • BING_SEARCH_API_KEY
  • ASSISTANT__AZURE_OPENAI_ENDPOINT - This is necessary if you want to post process web content.

Running the Server

Use the VSCode launch configuration, or run manually:
Defaults to stdio transport:
For SSE transport:
The SSE URL is:

Client Configuration

To use this MCP server in your setup, consider the following configuration:

Stdio

SSE