O3 Search

Web search and scraping

MCP server for OpenAI o3 web search.

Your AI app calls the O3 Search MCP server, which does the web search and scraping work and sends the result back to the chat.

About O3 Search

O3 Search is a community MCP server from yoshiko-pg, filed in our directory under web search and scraping. MCP server for OpenAI o3 web search.

O3 Search runs on your own machine: your AI app starts it with the command npx -y o3-search-mcp and talks to it over standard input and output.

At a glance

Publisher
yoshiko-pg (community)
Runs
Locally on your machine
Install from
Node.js package on npm: o3-search-mcp
Written in
JavaScript
License
MIT
GitHub stars
286

How to set up O3 Search

  1. Install Node.js on the machine that runs your AI app, because O3 Search starts with npx and downloads its package on first run.
  2. Check the O3 Search README for keys or settings; the registry lists none that O3 Search requires.
  3. Add O3 Search to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the O3 Search tools to confirm the connection.
  5. Run one read-only task with O3 Search first, and keep your app asking before each tool call until the results look right.

O3 Search compared with similar servers

  • G Search by jae-jae has fewer GitHub stars than O3 Search (274 against 286); both are community servers, and both run locally.
  • Alfanous - Quranic Search Engine by Alfanous-team has fewer GitHub stars than O3 Search (286 against 286); both are community servers, and both run locally.
  • PyScrappy by mldsveda has fewer GitHub stars than O3 Search (266 against 286); both are community servers, and both run locally.

Before you connect O3 Search

  • Give O3 Search its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each O3 Search tool call until you trust what it does with them.
  • Treat text that O3 Search fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for O3 Search on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for O3 Search

How marketing and sales teams put O3 Search to work, by company size. Pick the size closest to yours and start O3 Search on one use case.

Small business

  • A founder can use O3 Search to research a market or a prospect in minutes, with sources cited, before a pitch or a pricing change.
  • Small teams can ask O3 Search what competitors launched this month and get the pages, not just a summary.
  • O3 Search runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can use O3 Search to gather fresh data for content, such as stats, quotes and examples, with each source linked for checking.
  • Outbound teams can connect O3 Search to research accounts from public pages and add one specific line to each first email.
  • Start O3 Search on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise research and competitive intel teams can schedule O3 Search to monitor many sources, with results stored and cited for review.
  • Large orgs can route O3 Search through approved providers and respect each site's terms, keeping scraping inside legal guidance.
  • O3 Search is a community server, so have security review the code and pin a version before O3 Search touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

O3 Search README

From yoshiko-pg/o3-search-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

o3-search-mcp (gpt-5, o4-mini support)

English | 日本語 | 简体中文 | 한국어

MCP server that enables the use of OpenAI's high-end models and their powerful web search capabilities. By registering it with any AI coding agent, the agent can autonomously consult with OpenAI models to solve complex problems.

Use Cases

(Although called o3 to match the MCP name, you can specify gpt-5 or o4-mini via env for the model to use)

🐛 When you're stuck debugging

o3's web search can scan a wide range of sources, including GitHub issues and Stack Overflow, significantly increasing the chances of resolving niche problems. Example prompts:

> I'm getting the following error on startup, please fix it. If it's too difficult, ask o3.
> [Paste error message here]
> The WebSocket connection isn't working. Please debug it. If you don't know how, ask o3.
📚 When you want to reference the latest library information

You can get answers from the powerful web search even when there's no well-organized documentation. Example prompts:

> I want to upgrade this library to v2. Proceed while consulting with o3.
> I was told this option for this library doesn't exist. It might have been removed. Ask o3 what to specify instead and replace it.
🧩 When tackling complex tasks

In addition to search, you can also use it as a sounding board for design. Example prompts:

> I want to create a collaborative editor, so please design it. Also, ask o3 for a design review and discuss if necessary.

Also, since it's provided as an MCP server, the AI agent may decide on its own to talk to o3 when it deems it necessary, without any instructions from you. This will dramatically expand the range of problems it can solve on its own!

Installation

npx (Recommended)

Claude Code:

$ claude mcp add o3 \
    -s user \  # If you omit this line, it will be installed in the project scope
    -e OPENAI_MODEL=o3 \ # o4-mini, gpt-5 also available
    -e OPENAI_API_KEY=your-api-key \
    -e SEARCH_CONTEXT_SIZE=medium \
    -e REASONING_EFFORT=medium \
    -e OPENAI_API_TIMEOUT=300000 \
    -e OPENAI_MAX_RETRIES=3 \
    -- npx o3-search-mcp

json:

{
  "mcpServers": {
    "o3-search": {
      "command": "npx",
      "args": ["o3-search-mcp"],
      "env": {
        "OPENAI_API_KEY": "your-api-key",
        // Optional: o3, o4-mini, gpt-5 (default: o3)
        "OPENAI_MODEL": "o3",
        // Optional: low, medium, high (default: medium)
        "SEARCH_CONTEXT_SIZE": "medium",
        "REASONING_EFFORT": "medium",
        // Optional: API timeout in milliseconds (default: 300000)
        "OPENAI_API_TIMEOUT": "300000",
        // Optional: Maximum number of retries (default: 3)
        "OPENAI_MAX_RETRIES": "3"
      }
    }
  }
}
Local Setup

If you want to download the code and run it locally:

git clone git@github.com:yoshiko-pg/o3-search-mcp.git
cd o3-search-mcp
pnpm install
pnpm build

Claude Code:

$ claude mcp add o3 \
    -s user \  # If you omit this line, it will be installed in the project scope
    -e OPENAI_MODEL=o3 \ # o4-mini, gpt-5 also available
    -e OPENAI_API_KEY=your-api-key \
    -e OPENAI_MODEL=o3 \
    -e SEARCH_CONTEXT_SIZE=medium \
    -e REASONING_EFFORT=medium \
    -e OPENAI_API_TIMEOUT=300000 \
    -e OPENAI_MAX_RETRIES=3 \
    -- node /path/to/o3-search-mcp/build/index.js

json:

{
  "mcpServers": {
    "o3-search": {
      "command": "node",
      "args": ["/path/to/o3-search-mcp/build/index.js"],
      "env": {
        "OPENAI_API_KEY": "your-api-key",
        // Optional: o3, o4-mini, gpt-5 (default: o3)
        "OPENAI_MODEL": "o3",
        // Optional: low, medium, high (default: medium)
        "SEARCH_CONTEXT_SIZE": "medium",
        "REASONING_EFFORT": "medium",
        // Optional: API timeout in milliseconds (default: 300000)
        "OPENAI_API_TIMEOUT": "300000",
        // Optional: Maximum number of retries (default: 3)
        "OPENAI_MAX_RETRIES": "3"
      }
    }
  }
}

Environment Variables

Environment Variable Options Default Description
OPENAI_API_KEY Required - OpenAI API Key
OPENAI_MODEL Optional o3 Model to use
Values: o3, o4-mini, gpt-5
SEARCH_CONTEXT_SIZE Optional medium Controls the search context size
Values: low, medium, high
REASONING_EFFORT Optional medium Controls the reasoning effort level
Values: low, medium, high
OPENAI_API_TIMEOUT Optional 300000 API request timeout in milliseconds
Example: 300000 for 5 minutes
OPENAI_MAX_RETRIES Optional 3 Maximum number of retries for failed requests
The SDK automatically retries on rate limits (429), server errors (5xx), and connection errors

Notes

To use the o3 model from the OpenAI API, you need to either raise your tier to 4 or verify your organization. If you register an API key that is not yet enabled for o3 with this MCP, calls will result in an error. Reference: https://help.openai.com/en/articles/10362446-api-access-to-o1-o3-and-o4-models

Questions about O3 Search

What is the O3 Search MCP server?

MCP server for OpenAI o3 web search. O3 Search is maintained by yoshiko-pg on GitHub at yoshiko-pg/o3-search-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the O3 Search MCP server?

Add O3 Search to your AI app's MCP config with the command npx -y o3-search-mcp. In Claude Code, run claude mcp add --transport stdio o3-search -- npx -y o3-search-mcp. To run O3 Search this way you need Node.js installed.

Does O3 Search need an API key?

The registry lists no required keys for O3 Search. Check the O3 Search README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is O3 Search an official MCP server?

No. O3 Search is a community server maintained by yoshiko-pg. Community servers can be excellent; read the code and the open issues before you give O3 Search access to company data.

What license is O3 Search under?

O3 Search is released under the MIT license, according to its GitHub repository. The license covers the code of O3 Search; the service it connects to has its own terms.