drio
Open app

OpenAI Web Search MCP Server

Source

A server for handling OpenAI web search using MCP (Multi-Config Protocol)

Catalog onlyCatalog onlySTDIO

Overview

OpenAI-WebSearch-MCP-Server is a server-side implementation designed to handle web search capabilities in OpenAI-powered applications using the Multi-Config Protocol (MCP). It acts as middleware between OpenAI's services and applications, enabling advanced web search functionality.

To use the server, clone the repository, install the dependencies, configure your environment variables with your OpenAI API key, and start the server. You can then perform web searches through the provided API endpoints.

  • Real-time web search integration with OpenAI models - MCP (Multi-Config Protocol) implementation - Configurable search parameters - Response caching for improved performance - Rate limiting and quota management - Detailed logging and monitoring
  1. Integrating web search capabilities into AI applications.
  2. Enhancing user experience with real-time search results.
  3. Managing search queries efficiently with configurable parameters.

Add to your AI client

Use these steps to connect OpenAI Web Search MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "openai-websearch-mcp-server-bitibi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-openai-websearch-mcp-server-bitibi"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "openai-websearch-mcp-server-bitibi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-openai-websearch-mcp-server-bitibi"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "openai-websearch-mcp-server-bitibi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-openai-websearch-mcp-server-bitibi"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "openai-websearch-mcp-server-bitibi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-openai-websearch-mcp-server-bitibi"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "openai-websearch-mcp-server-bitibi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-openai-websearch-mcp-server-bitibi"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "openai-websearch-mcp-server-bitibi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-openai-websearch-mcp-server-bitibi"
      ]
    }
  }
}

FAQ

What are the prerequisites for running the server?

You need Node.js (v16 or higher), npm or yarn, and an OpenAI API key.

How do I configure the server?

You can configure the server using environment variables or a config file as detailed in the documentation.

Is this project open for contributions?

Yes! Contributions are welcome, and you can submit a Pull Request.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2930,"uuid":"84831b30-1da7-4f84-8ab1-08dfdd3c19a6","name":"OpenAI-WebSearch-MCP-Server","title":"OpenAI Web Search MCP Server","description":"A server for handling OpenAI web search using MCP (Multi-Config Protocol)","avatar_url":"https://avatars.githubusercontent.com/u/11761421?v=4","created_at":"2025-03-16T04:16:27.896Z","updated_at":"2025-03-16T04:17:41.300Z","status":"created","author_name":"bitibi","author_avatar_url":"https://avatars.githubusercontent.com/u/11761421?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/bitibi/OpenAI-WebSearch-MCP-Server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-16 17:06:09\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]

OpenAI Web Search MCP Server — MCP Registry