OpenAI WebSearch MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides access to OpenAI's websearch tool to query for current information from the web

OpenAI WebSearch MCP サーバー

このMCPサーバーは、モデルコンテキストプロトコル(MCP)を介してOpenAIのウェブ検索機能へのアクセスを提供します。AIアシスタントは、ユーザーとの会話中にウェブを検索し、アシスタントの学習データには含まれていない可能性のある最新情報を提供できます。このサーバーは、Claude.appまたはZedエディタで使用できるようにインストールおよび設定できます。

ワンクリックインストールと設定

クロード

!!このコマンドを使うとconfigureファイルを自動更新できます(推奨)

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

sk-xxxxはAPIキーです。OpenAIのオープンプラットフォームから取得できます。

カーソル

近日公開

ウィンドサーフィン

近日公開

利用可能なツール

  • web_search - openai websearch をツールとして呼び出します。
    • 必要な引数:
      • type (文字列):web_search_preview
      • search_context_size (文字列): 検索に使用するコンテキストウィンドウのスペース量に関する概要ガイドライン。low、medium、high のいずれかです。デフォルトは medium です。
      • user_location (オブジェクトまたはnull)
        • type (文字列): 位置情報の種類 > 近似値。常に近似値となります。
        • city (文字列): ユーザーの都市のフリーテキスト入力 (例: San Francisco)。
        • country (文字列): ユーザーの 2 文字の ISO 国コード (例: US)。
        • region (文字列): ユーザーの地域を自由に入力するテキスト (例: カリフォルニア)。
        • timezone (文字列): ユーザーの IANA タイムゾーン (例: America/Los_Angeles)。

手動インストールと設定

インストール前にuvxがインストールされていることを確認してください

Claude 設定に追加:

1、uvxの使用

"mcpServers": { "openai-websearch-mcp": { "command": "uvx", "args": ["openai-websearch-mcp"], "env": { "OPENAI_API_KEY": "your-api-key-here" } } }

2、pipインストールを使用する

1)pipでopenai-websearch-mcpをインストールします。

pip install openai-websearch-mcp

2)Claudeの設定を変更する

"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-mcp
-
security - not tested
A
license - permissive license
-
quality - not tested

ワンクリックでインストールと構成を行い、モデルコンテキストプロトコルを通じて OpenAI の Web 検索機能にアクセスできます。

  1. One click installation & Configuration
    1. Claude
    2. Cursor
    3. Windsurf
  2. Available Tools
    1. Manual installation and configuration
      1. Configure for Zed
    2. Debugging
      ID: o08k5k0v1r