RW

richard-weiss/mcp-google-cse

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

47 stars 10 forks 品質 69 トレンド 0Unlicense

richard-weisss/mcp-google-cse は https://github.com/richard-weiss/mcp-google-cse. からインポートされた MCP サーバーの候補です

概要

richard-weisss/mcp-google-cse は https://github.com/richard-weiss/mcp-google-cse. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

CSE(カスタム検索エンジン)を使用して検索機能を提供するモデルコンテキストプロトコルサーバー。 LLM は、通常の google 検索用語を提供し、見つかった検索結果を返します。

このツールは、結果自体を返し、コンテンツではなく、検索結果からコンテンツを抽出するためにmcp-server-fetchのような他のサーバーと組み合わせるべきです。 また、他のツールと組み合わせて、一般的な「ディープ検索」やツールチェーンを有効にすることもできます。

無料クォータは、1日あたりの100件のツールコール = = 1件の検索です。課金を設定したくない場合は、使用ケースに不十分です。別のサーバーを使用して検討する必要があります。

利用可能なツール

  • [google_search - 検索用語を使用してカスタム検索エンジンを検索し、各結果のタイトル、リンク、スニペットを含む結果のリストを返します。
  • search_term: 通常のGoogle検索でクエリパラメータ[[T2]を等しく検索する検索条件。

環境変数

  • [API_KEY] (必須): カスタム検索エンジン用のAPIキー。
  • [ENGINE_ID] (必須): カスタム検索エンジン用のエンジンID.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Google Custom Search Engine MCP Server

A Model Context Protocol server that provides search capabilities using a CSE (custom search engine). This server enables LLMs to provide a regular google search term and returns the found search results.

The tool only returns the results itself and not the content, the tool should be combined with other servers like mcp-server-fetch to extract the content from the search results. You may also combine it with other tools to enable some kind of “deep search” or tool chaining in general.

The free quota is 100 searches (1 tool call == 1 search) per day, if you don’t want to set up billing and this is insufficient for your use case, you should consider using another server.

Available Tools

  • google_search - Searches the custom search engine using the search term and returns a list of results containing the title, link and snippet of each result.
    • search_term (string, required): The search term to search for, equaling the query parameter q in the usual Google search.

Environment variables

  • API_KEY (required): The API key for the custom search engine.
  • ENGINE_ID (required): The engine ID for the custom search engine.
  • SERVICE_NAME (required/optional): The name of the service, leave empty if you haven’t changed the name (customsearch).
  • COUNTRY_REGION (optional): Restricts search results to documents originating in a particular country. See Country Parameter Values for valid values.
  • GEOLOCATION (optional, default “us”): The geolocation of the end-user performing the search. See Geolocation Parameter Values for valid values.
  • RESULT_LANGUAGE (optional, default “lang_en”): The language of the search results. See CSE Query parameters, lr for valid values.
  • RESULT_NUM (optional, default 10): The number of search results to return. Range from 1-10.

CSE Setup

Creating a custom search engine is comparatively easy, completely free and can be done in under 5 minutes.

  1. Go to https://console.cloud.google.com/ and create a new project. Call it “Claude CSE” for example.
  2. Select the project and search for “Custom Search API” in the search bar.
  3. Click on the search result and click on “Enable”.
  4. Click on the Credentials tab and create a new API key.
GitHub で README 全文を見る

インストール

uvx mcp-google-cse
MCP 初心者?mcpskill.org のガイドから始めましょう →