OpenAI WebSearch MCP Server
OpenAI 웹 검색 MCP 서버
이 MCP 서버는 모델 컨텍스트 프로토콜(Model Context Protocol)을 통해 OpenAI의 웹 검색 기능에 대한 액세스를 제공합니다. AI 어시스턴트가 사용자와 대화하는 동안 웹을 검색하여 어시스턴트의 학습 데이터에는 없는 최신 정보를 제공할 수 있습니다. 이 서버는 Claude.app 또는 Zed 편집기와 함께 사용하도록 설치 및 구성할 수 있습니다.
원클릭 설치 및 구성
클로드
!!이 명령을 사용하면 구성 파일을 자동으로 업데이트할 수 있습니다(권장)
지엑스피1
sk-xxxx는 API 키입니다. OpenAI의 오픈 플랫폼 에서 받으실 수 있습니다.
커서
곧 시작해요
윈드서핑
곧 시작해요
Related MCP server: SearchAPI MCP Server
사용 가능한 도구
web_search- 도구로 openai websearch를 호출합니다.필수 인수:
type(문자열): web_search_previewsearch_context_size(문자열): 검색에 사용할 컨텍스트 창 공간의 크기에 대한 개략적인 지침입니다. 낮음, 보통, 높음 중 하나이며, 기본값은 보통입니다.user_location(객체 또는 null)type(문자열): 위치 유형 > 근사치. 항상 근사치입니다.city(문자열): 사용자의 도시에 대한 자유 텍스트 입력, 예: 샌프란시스코.country(문자열): 사용자의 두 글자 ISO 국가 코드(예: 미국).region(문자열): 사용자 지역에 대한 자유 텍스트 입력(예: 캘리포니아).timezone(문자열): 사용자의 IANA 시간대, 예: America/Los_Angeles.
수동 설치 및 구성
설치 전에 uvx 설치되어 있는지 확인하세요.
Claude 설정에 추가:
uvx 사용하기
"mcpServers": {
"openai-websearch-mcp": {
"command": "uvx",
"args": ["openai-websearch-mcp"],
"env": {
"OPENAI_API_KEY": "your-api-key-here"
}
}
}pip 설치 사용
pip를 통해
openai-websearch-mcp설치합니다.
pip install openai-websearch-mcpClaude 설정 수정
"mcpServers": {
"openai-websearch-mcp": {
"command": "python",
"args": ["-m", "openai_websearch_mcp"],
"env": {
"OPENAI_API_KEY": "your-api-key-here"
}
}
}Zed에 대한 구성
Zed settings.json에 다음을 추가합니다.
uvx 사용
"context_servers": [
"openai-websearch-mcp": {
"command": "uvx",
"args": ["openai-websearch-mcp"],
"env": {
"OPENAI_API_KEY": "your-api-key-here"
}
}
],pip 설치 사용
"context_servers": {
"openai-websearch-mcp": {
"command": "python",
"args": ["-m", "openai_websearch_mcp"],
"env": {
"OPENAI_API_KEY": "your-api-key-here"
}
}
},디버깅
MCP 검사기를 사용하여 서버를 디버깅할 수 있습니다. 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).
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The search query or question to search for | |
| model | No | AI model to use. Defaults to OPENAI_DEFAULT_MODEL env var or gpt-5-mini | |
| reasoning_effort | No | Reasoning effort level for supported models (gpt-5, o3, o4-mini). Default: low for gpt-5-mini, medium for others | |
| type | No | Web search API version to use | web_search_preview |
| search_context_size | No | Amount of context to include in search results | medium |
| user_location | No | Optional user location for localized search results |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses that the result is 'already multi-round reasoned, so agents don't need continuous iterations', providing useful behavioral insight about the reasoning process. However, it doesn't mention potential rate limits, API requirements, or other operational characteristics. Since web search is inherently read-only, that aspect is implied.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded, with the main purpose stated in the first line. It then provides two clear usage scenarios and a list of supported models. Every sentence earns its place, with no redundant or filler content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that the tool has a rich schema and an output schema (which explains return values), the description doesn't need to cover those. It adequately covers the critical model selection guidance and reasoning effort recommendations, which are the non-obvious parts of using this tool. It's complete enough for an agent to decide when and how to invoke it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already includes descriptions for all 6 parameters (100% coverage), so the baseline is 3. The description adds extra meaning by explaining the relationship between models and reasoning_effort for different use cases, which goes beyond the schema's per-parameter descriptions. This helps the agent select appropriate model/effort combinations.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'OpenAI Web Search' which indicates the tool performs web searches, and mentions reasoning models. It doesn't use a specific verb like 'search' but the name and description together make the purpose clear. No sibling tools exist to differentiate from, so it doesn't need to distinguish itself.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit guidance for different usage scenarios: 'For quick multi-round searches: Use gpt-5-mini with reasoning_effort='low'' and 'For deep research: Use gpt-5 with reasoning_effort='medium' or 'high''. This provides clear context on when to use specific model settings, though it doesn't mention when not to use the tool since there are no sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
v1.0.0- Added
openai_web_search - Removed
web_search
1 tool update
- First observed
web_search
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.
Maintenance
Related MCP Connectors
One API key for 6 AI models. Pay-per-use. MCP protocol support with web search.
The best web search for your AI Agent
Free web search for AI agents. No API key required. Hosted MCP in active development.
30+ web-access and AI APIs behind one key: search, scraping, browsers, voice, OCR and LLMs.
Related MCP Servers
- AlicenseAqualityCmaintenanceA 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
- AlicenseBqualityFmaintenanceConnects AI assistants to external data sources (Google, Bing, etc.) via SearchAPI.site, implementing the Model Context Protocol (MCP) for secure and contextual access to web information.37 npm14MIT
- 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.145 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