Best for
- Developers using Claude Code or other AI coding agents to incorporate real-time information.
- Developers needing to resolve rare errors or lacking documentation.
- Developers needing design review or complex problem-solving support.
This server provides a convenient way to integrate OpenAI's advanced search capabilities via MCP, suitable for coding scenarios needing real-time info. However, it requires an OpenAI API key and possibly access permissions.
o3-search-mcp is an MCP server that allows AI coding agents (such as Claude Code) to autonomously consult OpenAI's advanced models for web search, helping solve complex problems. By integrating this server, agents can access real-time information from a wide range of sources, including GitHub issues and Stack Overflow, significantly increasing the chances of resolving niche issues. The server supports specifying OpenAI models (e.g., o3, o4-mini, gpt-5) and offers configurable parameters such as search context size and reasoning effort.
Recommended installation via npx: run claude mcp add o3 -s user -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 -- npx o3-search-mcp. Alternatively, clone the repo and build locally: git clone [email protected]:yoshiko-pg/o3-search-mcp.git && cd o3-search-mcp && pnpm install && pnpm build, then configure to run node /path/to/o3-search-mcp/build/index.js.
{
"mcpServers": {
"o3-search": {
"command": "npx",
"args": [
"o3-search-mcp"
],
"env": {
"OPENAI_API_KEY": "your-api-key",
"OPENAI_MODEL": "o3",
"SEARCH_CONTEXT_SIZE": "medium",
"REASONING_EFFORT": "medium",
"OPENAI_API_TIMEOUT": "300000",
"OPENAI_MAX_RETRIES": "3"
}
}
}
}