Openai Websearch MCP logo

Openai Websearch MCP

by ConechoAI

Exposes OpenAI web search through MCP with configurable models, reasoning effort, context size, and localized results.

Install Openai Websearch MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "conechoai-openai-websearch-mcp": {
      "command": "uvx",
      "args": [
        "--with",
        "openai-websearch-mcp",
        "openai-websearch-mcp-install"
      ],
      "env": {
        "OPENAI_API_KEY": "YOUR_VALUE_HERE",
        "OPENAI_DEFAULT_MODEL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx --with openai-websearch-mcp openai-websearch-mcp-install

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

ConechoAI/openai-websearch-mcp MCP server exposes OpenAI's web search API as an MCP tool for assistants that need current information. It accepts a query and optional model, reasoning, context, search-version, and location parameters, then uses the configured OpenAI API key. Use it for quick searches, deeper research, or location-aware queries from supported MCP clients. The package runs locally through uvx or Python and requires an OpenAI API key.

Use cases

  • Search for current technology developments
  • Research complex topics with higher reasoning effort
  • Find location-specific events or services
  • Run quick multi-round web queries

Key features

  • OpenAI web search through MCP
  • Reasoning model selection
  • Configurable reasoning effort
  • Adjustable search context size
  • Localized search support
  • Claude Desktop and Cursor configuration

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

35/35 checks healthy over the last 114d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · openai-websearch-mcp-install (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars93Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Openai Websearch MCP works

What ConechoAI/openai-websearch-mcp MCP server does

ConechoAI/openai-websearch-mcp MCP server makes OpenAI web search available to MCP-compatible assistants through one tool, openai_web_search. The tool accepts a search question or query and sends it to OpenAI's web search capability. It is intended for tasks where an assistant needs information that may have changed since its training data, such as current technology developments, research topics, or local events.

The server supports OpenAI models listed in the project documentation, including gpt-4o, gpt-4o-mini, gpt-5, gpt-5-mini, gpt-5-nano, o3, and o4-mini. Reasoning-capable models can be paired with a selected reasoning effort for faster searches or more extensive analysis.

How it works

The server runs as a local MCP process and communicates with the client over the configured command. When the assistant calls openai_web_search, the server uses OPENAI_API_KEY to access OpenAI's API. The query is supplied through the required input parameter.

Optional parameters control the request:

  • model selects the OpenAI model, with gpt-5-mini as the documented default.
  • reasoning_effort accepts low, medium, high, or minimal where supported.
  • type selects the web search API version and defaults to web_search_preview.
  • search_context_size controls the amount of search context with low, medium, or high.
  • user_location supplies location information for localized results.

The server applies reasoning settings only to models that support them, avoiding the unsupported-parameter error described for non-reasoning models.

Setup and configuration

Install or run ConechoAI/openai-websearch-mcp MCP server with uvx:

bash
uvx openai-websearch-mcp

It can also be installed from PyPI with pip install openai-websearch-mcp and started with python -m openai_websearch_mcp. The required environment variable is OPENAI_API_KEY. OPENAI_DEFAULT_MODEL optionally changes the default model from gpt-5-mini.

Claude Desktop and Cursor configurations use uvx as the command and openai-websearch-mcp as its argument. Claude Code can use the same MCP configuration as Claude Desktop. Local development is also documented with a virtual-environment Python executable and the module name.

Tools and capabilities

ConechoAI/openai-websearch-mcp MCP server provides the openai_web_search tool. Its capabilities include:

  • Current web searches through OpenAI's Web Search API.
  • Model selection across standard and reasoning models documented by the project.
  • Configurable reasoning effort for compatible models.
  • Adjustable search context size.
  • Optional location-aware search results.
  • Fast multi-round searches or deeper research workflows, depending on model and reasoning settings.

Limitations and notes

An OpenAI API key is required, and API usage may incur OpenAI charges. The server is a local wrapper around OpenAI's web search functionality; the documentation does not describe an independent search index or offline mode. Reasoning parameters should not be used with models that do not support them, although the server handles this compatibility case automatically.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Openai Websearch MCP

Run `uvx openai-websearch-mcp`, or install the PyPI package with pip and run `python -m openai_websearch_mcp`.

Set the `OPENAI_API_KEY` environment variable to an OpenAI API key.

Yes. The README provides a Claude Desktop configuration using `uvx`, the package name, and `OPENAI_API_KEY`.

Yes. The README includes a Cursor MCP configuration using the same local uvx command.

The documented models are gpt-4o, gpt-4o-mini, gpt-5, gpt-5-mini, gpt-5-nano, o3, and o4-mini.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOpenai Websearch MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/conechoai-openai-websearch-mcp?style=directory)](https://allmcps.com/mcp/conechoai-openai-websearch-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/conechoai-openai-websearch-mcp"><img src="https://allmcps.com/api/badge/conechoai-openai-websearch-mcp?style=directory" alt="Openai Websearch MCP on AllMCPs" /></a>