OpenAI WebSearch MCP Server
Servidor MCP de OpenAI WebSearch
Este servidor MCP proporciona acceso a la funcionalidad de búsqueda web de OpenAI mediante el Protocolo de Contexto de Modelo. Permite a los asistentes de IA buscar en la web durante las conversaciones con los usuarios, proporcionando información actualizada que podría no estar disponible en los datos de entrenamiento del asistente. El servidor se puede instalar y configurar para su uso con Claude.app o el editor Zed.
Instalación y configuración con un solo clic
Claude
¡¡Puede usar este comando para actualizar automáticamente el archivo de configuración (recomendado)
OPENAI_API_KEY=sk-xxxx uv run --with uv --with openai-websearch-mcp openai-websearch-mcp-installsk-xxxx es tu clave API. Puedes obtenerla en la plataforma abierta de OpenAI.
Cursor
Llegando pronto
Windsurf
Llegando pronto
Related MCP server: MCP-Bocha
Herramientas disponibles
web_search- Llamar a openai websearch como herramienta.Argumentos obligatorios:
type(cadena): web_search_previewsearch_context_size(cadena): Indicaciones generales sobre la cantidad de espacio de la ventana de contexto que se utilizará para la búsqueda. Bajo, medio o alto. El valor predeterminado es medio.user_location(objeto o nulo)type(cadena): El tipo de ubicación > aproximación. Siempre aproximado.city(cadena): entrada de texto libre para la ciudad del usuario, por ejemplo, San Francisco.country(cadena): el código de país ISO de dos letras del usuario, por ejemplo, EE. UU.region(cadena): entrada de texto libre para la región del usuario, por ejemplo, California.timezone(cadena): la zona horaria IANA del usuario, por ejemplo, América/Los_Angeles.
Instalación y configuración manual
Asegúrese de que uvx esté instalado antes de la instalación.
Añade a tu configuración de Claude:
1、Uso de uvx
"mcpServers": {
"openai-websearch-mcp": {
"command": "uvx",
"args": ["openai-websearch-mcp"],
"env": {
"OPENAI_API_KEY": "your-api-key-here"
}
}
}2、Usando la instalación de pip
1)Instalar openai-websearch-mcp mediante pip:
pip install openai-websearch-mcp2)Modifica tu configuración de Claude
"mcpServers": {
"openai-websearch-mcp": {
"command": "python",
"args": ["-m", "openai_websearch_mcp"],
"env": {
"OPENAI_API_KEY": "your-api-key-here"
}
}
}Configurar para Zed
Añade a tu configuración Zed settings.json:
Uso de uvx
"context_servers": [
"openai-websearch-mcp": {
"command": "uvx",
"args": ["openai-websearch-mcp"],
"env": {
"OPENAI_API_KEY": "your-api-key-here"
}
}
],Usando la instalación de pip
"context_servers": {
"openai-websearch-mcp": {
"command": "python",
"args": ["-m", "openai_websearch_mcp"],
"env": {
"OPENAI_API_KEY": "your-api-key-here"
}
}
},Depuración
Puede usar el inspector MCP para depurar el servidor. Para instalaciones uvx:
npx @modelcontextprotocol/inspector uvx openai-websearch-mcpAvailable Tools
1 toolopenai_web_searchA
OpenAI Web Search with reasoning models.
For quick multi-round searches: Use 'gpt-5-mini' with reasoning_effort='low' for fast iterations.
For deep research: Use 'gpt-5' with reasoning_effort='medium' or 'high'. The result is already multi-round reasoned, so agents don't need continuous iterations.
Supports: gpt-4o (no reasoning), gpt-5/gpt-5-mini/gpt-5-nano, o3/o4-mini (with reasoning).
Inputs: input (required), model, reasoning_effort, type, +2 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool has a single, clear purpose of performing web searches with OpenAI models.
Since there is only one tool, naming consistency is inherently perfect. The tool name 'openai_web_search' follows a clear and descriptive pattern that would be consistent if more tools existed.
A single tool is generally too few for a server's purpose, as it limits functionality and flexibility. While the tool is well-described, the server's scope appears to be web search, which could benefit from additional tools for filtering, refining, or managing searches.
The server is severely incomplete for web search functionality. It lacks essential operations such as filtering results, handling pagination, saving or retrieving search history, or configuring search parameters beyond model selection. This will likely cause agent failures in complex search tasks.
Related MCP Connectors
The best web search for your AI Agent
Free web search for AI agents. No API key required. Hosted MCP in active development.
Web search API and MCP server for developers building AI agents.
- NativePortDeprecatedai.nativeport
30+ web-access and AI APIs behind one key: search, scraping, browsers, voice, OCR and LLMs.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI models to perform real-time internet and knowledge searches through Higress, enhancing model responses with up-to-date information from Google, Bing, Arxiv, and internal knowledge bases.15Apache 2.0
- AlicenseCqualityDmaintenanceA Model Context Protocol server that enables AI assistants to search the web using Bocha AI's search API, supporting features like time filtering, domain inclusion/exclusion, and summarized results.155 npm3Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to automate web tasks such as browsing, clicking, typing, and taking screenshots via the Model Context Protocol.1MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables web search via DuckDuckGo and web content fetching through the Model Context Protocol, allowing AI assistants to search and retrieve web page content.9 npmMIT