openai-websearch-mcp

This repository provides an MCP server for accessing OpenAI's websearch functionality, enabling AI assistants like Claude to search the web for up-to-date information during conversations with users. This repository provides

35
2

OpenAI WebSearch MCP Server

This MCP server enables AI assistants to access OpenAI's web search capabilities via the Model Context Protocol. It allows assistants to augment their knowledge with real-time web information during conversations. The server is designed for integration with Claude.app and Zed editor.

One-Click Installation & Configuration

Claude

OPENAI_API_KEY=sk-xxxx uv run --with uv --with openai-websearch-mcp openai-websearch-mcp-install

This command automatically configures the server, using your OpenAI API key.

Cursor & Windsurf

Coming soon.

Manual Installation and Configuration

Ensure uvx is installed.

Claude:

  1. Using uvx:
"mcpServers": { "openai-websearch-mcp": { "command": "uvx", "args": ["openai-websearch-mcp"], "env": { "OPENAI_API_KEY": "your-api-key-here" } } }
  1. Using pip:
pip install openai-websearch-mcp
"mcpServers": { "openai-websearch-mcp": { "command": "python", "args": ["-m", "openai_websearch_mcp"], "env": { "OPENAI_API_KEY": "your-api-key-here" } } }

Zed:

Use similar JSON configurations within Zed's settings.json, adapting the "mcpServers" key to "context_servers".

Debugging

Use the MCP inspector:

npx @modelcontextprotocol/inspector uvx openai-websearch-mcp

Repository

CO
ConechoAI

ConechoAI/openai-websearch-mcp

Created

March 12, 2025

Updated

March 26, 2025

Language

Python

Category

Search & Knowledge