MCP.so
登录

OpenAI Web Search MCP Server

@bitibi

基本信息

分类

AI 与智能体

传输方式

stdio

作者

bitibi

关于 OpenAI Web Search MCP Server

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

OpenAI Web Search MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "OpenAI-WebSearch-MCP-Server": {
      "command": "npx",
      "args": [
        "openai-websearch-mcp-server"
      ]
    }
  }
}

OpenAI Web Search MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is OpenAI Web Search MCP Server?

A TypeScript‑based MCP server that lets AI models perform real‑time web searches through the OpenAI API, using the Responses API’s web_search_preview feature. It is built for developers who want to add live web search capabilities to any MCP‑compatible client (e.g., Claude Desktop).

How to use OpenAI Web Search MCP Server?

Install with npx openai-websearch-mcp-server or npm install -g openai-websearch-mcp-server, then set the OPENAI_API_KEY environment variable. Run the server with openai-websearch-mcp. Configure your MCP client to launch the server and send tool calls to the web_search tool, which accepts a query string and returns results from across the internet.

Key features of OpenAI Web Search MCP Server

  • Real‑time web search via OpenAI’s web_search_preview capability
  • Simple MCP‑compliant tool interface (web_search)
  • Run directly with npx or install globally
  • Port configurable via the PORT environment variable
  • Works with any MCP client (Claude Desktop, etc.)

Use cases of OpenAI Web Search MCP Server

  • Enabling an AI assistant to look up current news or facts
  • Providing up‑to‑date information to a chatbot without manual data refreshes
  • Adding a search tool to your custom MCP‑powered application

常见问题

1

What does the server do?

It exposes a `web_search` tool that uses OpenAI’s Responses API to perform live web searches, returning results directly to an MCP client.

2

How do I set my OpenAI API key?

Set the environment variable `OPENAI_API_KEY` before running the server: `export OPENAI_API_KEY='your-api-key-here'`.

3

Do I need any other services?

Only an OpenAI API key with access to the Responses API’s `web_search_preview` feature. No additional database or third‑party search engine is required.

4

How do I change the port?

Set the `PORT` environment variable, e.g., `PORT=8080 openai-websearch-mcp`. The default port is 3000.

5

How is this server intended to be used?

It is designed to be launched by an MCP client (like Claude Desktop) via the command line, with the API key provided in the client configuration’s environment.

评论

AI 与智能体 分类下的更多 MCP 服务器