OpenAI WebSearch MCP Server
@ConechoAI
About OpenAI WebSearch MCP Server
openai websearch tool as mcp server
Basic information
Category
AI & Agents
License
MIT license
Runtime
python
Transports
stdio
Publisher
ConechoAI
Submitted by
Elric liu
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"openai-websearch-mcp": {
"command": "uv",
"args": [
"run",
"--with",
"uv",
"--with",
"openai-websearch-mcp",
"openai-websearch-mcp-install"
],
"env": {
"OPENAI_API_KEY": "sk-xxxx"
}
}
}
}Tools
1Call openai websearch as tool.
Overview
What is OpenAI WebSearch MCP Server?
This MCP server provides access to OpenAI's web search functionality through the Model Context Protocol. It enables AI assistants to search the web during conversations, retrieving up-to-date information beyond the assistant's training data. Designed for use with Claude.app and Zed editor.
How to use OpenAI WebSearch MCP Server?
Install via uvx openai-websearch-mcp or pip install openai-websearch-mcp. Set the OPENAI_API_KEY environment variable with your API key from platform.openai.com. Configure the server in your Claude settings or Zed settings.json by adding the appropriate command and arguments. Use the web_search tool, providing required arguments type (string) and search_context_size (low/medium/high), with an optional user_location object.
Key features of OpenAI WebSearch MCP Server
- One-click installation for Claude with auto-configuration.
- Web search tool with configurable search context size.
- Optional user location data (city, country, region, timezone).
- Supports both uvx and pip installation methods.
- Integrates with Claude.app and Zed editor.
- Debuggable via MCP inspector.
Use cases of OpenAI WebSearch MCP Server
- AI assistants retrieving current news or real‑time data during a conversation.
- Answering queries about recent events not covered in the training data.
- Providing location‑specific search results by passing user location.
- Enhancing chatbot responses with live web information in Claude or Zed.
FAQ from OpenAI WebSearch MCP Server
What does this server do?
It exposes OpenAI’s web search as an MCP tool, allowing AI assistants to perform web searches and return results within a conversation.
How do I install it?
You can install via uvx openai-websearch-mcp (recommended) or pip install openai-websearch-mcp, then configure your client with the required command and your OPENAI_API_KEY.
What are the dependencies?
You need uvx (or pip and Python) and a valid OpenAI API key. No other runtime dependencies are mentioned.
Which tools are available?
The server provides one tool: web_search. It requires type (string) and search_context_size (low/medium/high), and accepts an optional user_location object with city, country, region, and timezone.
Does it support editor integrations besides Claude?
Yes, the README includes configuration examples for Zed editor. Cursor and Windsurf support are listed as “Coming soon”.
More AI & Agents MCP servers
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
Solon Ai
opensolonJava AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java25. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.
1Panel
1Panel-dev🔥 1Panel is a modern, open-source VPS control panel — and the only one with native AI agent support. Run Ollama models, deploy OpenClaw agents, and manage your entire server stack from one clean web interface.
Open Multi-Agent Canvas
CopilotKitThe open-source multi-agent chat interface that lets you manage multiple agents in one dynamic conversation and add MCP servers for deep research
Comments