Skip to main content
Glama
ConechoAI

OpenAI WebSearch MCP Server

by ConechoAI

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のオープンプラットフォームから取得できます。

カーソル

近日公開

ウィンドサーフィン

近日公開

Related MCP server: SearchAPI MCP Server

利用可能なツール

  • 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

Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv1.0.0
    • Addedopenai_web_search
    • Removedweb_search
  2. 1 tool update
    • First observedweb_search

TDQS

A3.7/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The tool has a single, clear purpose of performing web searches with OpenAI models.

Naming Consistency5/5

Since there is only one tool, naming consistency is inherently perfect. The tool name 'openai_web_search' follows a clear and descriptive pattern that would be consistent if more tools existed.

Tool Count2/5

A single tool is generally too few for a server's purpose, as it limits functionality and flexibility. While the tool is well-described, the server's scope appears to be web search, which could benefit from additional tools for filtering, refining, or managing searches.

Completeness2/5

The server is severely incomplete for web search functionality. It lacks essential operations such as filtering results, handling pagination, saving or retrieving search history, or configuring search parameters beyond model selection. This will likely cause agent failures in complex search tasks.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    A Model Context Protocol server that enables AI models to perform real-time internet and knowledge searches through Higress, enhancing model responses with up-to-date information from Google, Bing, Arxiv, and internal knowledge bases.
    1
    5
    Apache 2.0
  • A
    license
    B
    quality
    F
    maintenance
    Connects AI assistants to external data sources (Google, Bing, etc.) via SearchAPI.site, implementing the Model Context Protocol (MCP) for secure and contextual access to web information.
    3
    7 npm
    14
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI assistants to search the web using Bocha AI's search API, supporting features like time filtering, domain inclusion/exclusion, and summarized results.
    1
    45 npm
    3
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to automate web tasks such as browsing, clicking, typing, and taking screenshots via the Model Context Protocol.
    1
    MIT