プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Google Custom Search MCP

作者:A1-x-Techバージョン 1.1.1i★ –iパソコンで動く
レジストリ名io.github.A1-x-Tech/mcp-google-custom-search

インストール

概要

作者による説明(英語の原文)

MCP server for Google Custom Search: web and image search via a Programmable Search Engine.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 検索・AIの記憶
  • 入力が必要なもの:GOOGLE_CUSTOM_SEARCH_API_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: GOOGLE_CUSTOM_SEARCH_API_KEY, GOOGLE_CUSTOM_SEARCH_ENGINE_ID, GOOGLE_CUSTOM_SEARCH_API_BASE, GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS, GOOGLE_CUSTOM_SEARCH_MAX_RETRIES

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "google-custom-search": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-custom-search"
      ],
      "env": {
        "GOOGLE_CUSTOM_SEARCH_API_KEY": "your-value",
        "GOOGLE_CUSTOM_SEARCH_ENGINE_ID": "your-value",
        "GOOGLE_CUSTOM_SEARCH_API_BASE": "your-value",
        "GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS": "your-value",
        "GOOGLE_CUSTOM_SEARCH_MAX_RETRIES": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add google-custom-search --env GOOGLE_CUSTOM_SEARCH_API_KEY=your-value --env GOOGLE_CUSTOM_SEARCH_ENGINE_ID=your-value --env GOOGLE_CUSTOM_SEARCH_API_BASE=your-value --env GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS=your-value --env GOOGLE_CUSTOM_SEARCH_MAX_RETRIES=your-value -- npx -y mcp-google-custom-search

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "google-custom-search": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-custom-search"
      ],
      "env": {
        "GOOGLE_CUSTOM_SEARCH_API_KEY": "your-value",
        "GOOGLE_CUSTOM_SEARCH_ENGINE_ID": "your-value",
        "GOOGLE_CUSTOM_SEARCH_API_BASE": "your-value",
        "GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS": "your-value",
        "GOOGLE_CUSTOM_SEARCH_MAX_RETRIES": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "google-custom-search": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-custom-search"
      ],
      "env": {
        "GOOGLE_CUSTOM_SEARCH_API_KEY": "your-value",
        "GOOGLE_CUSTOM_SEARCH_ENGINE_ID": "your-value",
        "GOOGLE_CUSTOM_SEARCH_API_BASE": "your-value",
        "GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS": "your-value",
        "GOOGLE_CUSTOM_SEARCH_MAX_RETRIES": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • GOOGLE_CUSTOM_SEARCH_API_KEY 秘密 必須 env
    Google Cloud API key with the Custom Search API enabled. Treat it as a secret.
  • GOOGLE_CUSTOM_SEARCH_ENGINE_ID env
    Default Programmable Search Engine id (cx). Tools accept a per-call engine_id override.
  • GOOGLE_CUSTOM_SEARCH_API_BASE env
    API root override.
  • GOOGLE_CUSTOM_SEARCH_TIMEOUT_MS env
    Per-request timeout in milliseconds.
  • GOOGLE_CUSTOM_SEARCH_MAX_RETRIES env
    Retries on transient errors (429, and 5xx/network — the API is idempotent GETs only).

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント A1-x-Tech で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

検索・AIの記憶のほかのサーバーとの比較i

  • このカテゴリのほかの5675件のうち0%よりスターが多い
  • このカテゴリのほかの5675件のうち84%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの5675件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Google Custom Search MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:GOOGLE_CUSTOM_SEARCH_API_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.1.1)がレジストリに届いたのは7 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Context7, Codebase Memory, Exa

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Context7

作者:upstash

Up-to-date docs for AI agents

パソコンでもクラウドでも★ 64,224MIT昨日更新
インストール

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

パソコンで動く★ 48,148MIT21 日前更新
インストール

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

クラウドで動く★ 5,213MIT2 か月前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Google Custom Search MCP

English | Русский

A1 Google Custom Search MCP lets an AI app search the web and images in plain language through your Programmable Search Engine. Ask for pages, narrow by language, country, date or site, page through results and pull image files with thumbnails.

It uses the Google Custom Search JSON API with your Google Cloud API key. You decide what the engine covers — a handful of sites or the entire web — and the server makes the limits of the JSON API explicit instead of implying that every search task is possible.

  • 3 tools. Web search, image search, and a raw GET escape hatch for parameters the typed tools don't expose.
  • Read-only end to end. The Custom Search JSON API has no write endpoint; every tool is marked read-only and nothing here can modify data.
  • You control the coverage. The engine's configuration decides what gets searched; results and ranking can differ from google.com.
  • The key stays in a header. API-key authentication — no OAuth, no scopes; the key travels in the X-Goog-Api-Key header and never appears in a URL.
  • Not Google Search Console. It cannot report how your own site is indexed or ranked.

Start with a read-only question:

Find recent articles about passkey adoption from the last month and summarize the top three results.

Connect the server · Explore use cases · Open technical documentation


See it work in a minute

You: Find recent articles about passkey adoption, English only, from the last month.

Assistant: Runs one search through your engine and shows each result's title, link and snippet. Nothing changes — every tool is read-only.

You: Show the next page.

Assistant: Continues from the next_start cursor and shows results 11–20 of the same query.

You: Now find large press photos on the same topic.

Assistant: Switches to image search and returns image files with their dimensions, thumbnails and the pages that host them.

Contents

  • Quick start
  • What you can ask it to do
  • How a search works
  • What can change
  • Getting access
  • Configuration
  • Data, limits and background work
  • Technical documentation
  • Support

Quick start

You need Node.js 20+, a Google Cloud API key with the Custom Search API enabled and a Programmable Search Engine id (cx).

  1. Get an API key and an engine id.
  2. Add the server to your AI app.
  3. Ask the read-only question above.

Codex

In the app: open Settings → MCP servers, select Add server, choose STDIO, enter the command npx -y mcp-google-custom-search@latest and environment variables GOOGLE_CUSTOM_SEARCH_API_KEY, GOOGLE_CUSTOM_SEARCH_ENGINE_ID, then select Save and Restart.

From the command line:

codex mcp add google-custom-search \

--env GOOGLE_CUSTOM_SEARCH_API_KEY=your_api_key \ --env GOOGLE_CUSTOM_SEARCH_ENGINE_ID=your_engine_id \ -- npx -y mcp-google-custom-search@latest

codex mcp list

Codex MCP documentation

Claude Code

claude mcp add \

--env GOOGLE_CUSTOM_SEARCH_API_KEY=your_api_key \ --env GOOGLE_CUSTOM_SEARCH_ENGINE_ID=your_engine_id \ --transport stdio --scope user google-custom-search \ -- npx -y mcp-google-custom-search@latest

claude mcp list

Claude Code MCP documentation

Claude Desktop

The current official path is Settings → Extensions. For a custom desktop extension, open Advanced settings → Extension Developer → Install Extension…, select a .mcpb file and follow the prompts.

This repository currently publishes an npm stdio package and does not contain a .mcpb bundle. For Claude Desktop builds that still support local configuration, use the following JSON stdio configuration as a fallback:

{

"mcpServers": { "google-custom-search": { "command": "npx", "args": ["-y", "mcp-google-custom-search@latest"], "env": { "GOOGLE_CUSTOM_SEARCH_API_KEY": "your_api_key", "GOOGLE_CUSTOM_SEARCH_ENGINE_ID": "your_engine_id" } } } }

In those builds, save it to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows.

Claude Desktop MCP documentation

Cursor

Add this to ~/.cursor/mcp.json on macOS/Linux or %USERPROFILE%\.cursor\mcp.json on Windows:

{

"mcpServers": { "google-custom-search": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-google-custom-search@latest"], "env": { "GOOGLE_CUSTOM_SEARCH_API_KEY": "your_api_key", "GOOGLE_CUSTOM_SEARCH_ENGINE_ID": "your_engine_id" } } } }

Cursor MCP documentation

VS Code

Run MCP: Open User Configuration and add:

{

"servers": { "google-custom-search": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-google-custom-search@latest"], "env": { "GOOGLE_CUSTOM_SEARCH_API_KEY": "${input:custom_search_api_key}", "GOOGLE_CUSTOM_SEARCH_ENGINE_ID": "${input:custom_search_engine_id}" } } }, "inputs": [ { "type": "promptString", "id": "custom_search_api_key", "description": "Google Cloud API key", "password": true }, { "type": "promptString", "id": "custom_search_engine_id", "description": "Programmable Search Engine id (cx)" } ] }

Check it with MCP: List Servers.

VS Code MCP documentation

What you can ask it to do

Search the web
  • Find recent tutorials on a topic and summarize the top results.
  • Search only within docs.python.org — or everywhere except a site you distrust.
  • Show the next page of results for the same query.
Narrow the results
  • Only English pages published in the last month.
  • Only PDF files; require an exact phrase or exclude a term.
  • Restrict to one country's content, or to material with specific usage rights.
Find images
  • Find large photos on a topic, with dimensions and thumbnails.
  • Only clipart or line drawings, black and white ones.
  • Show the page each image comes from.
Go beyond the typed tools
  • Call the API with parameters the typed tools don't expose — fields to trim the response, lowRange/highRange, hq.
  • Fetch the raw response envelope with promotions and the full pagemap.

How a search works

  1. Every query runs through a Programmable Search Engine, identified by its cx id — the configured default or a per-call engine_id. The engine's configuration decides coverage: a list of specific sites, or the entire web when "Search the entire web" is enabled.
  2. Results come back normalized — title, URL, snippet and metadata — with next_start/previous_start cursors for paging. total_results is Google's estimate and can shrink while paging.
  3. The API returns at most 10 results per call and 100 per query (start + num - 1 must stay ≤ 100). The server rejects a wider window before the request — the API would answer 400 after burning a quota unit.
  4. Image search requires Image search enabled in the engine's control panel; otherwise the API answers 400.

A corrected_query in the response is a spelling suggestion only — the results are still for the original query. And this is Programmable Search, not Google Search Console: the API cannot report how your own site is indexed or ranked.

What can change

OperationWhat happensConfirmation boundary
Web search (search)Reads search results from your engineNo change
Image search (search_images)Reads image results from your engineNo change
Raw API request (raw_request)GET against any Custom Search API pathNo change — the API has no write endpoint

Every tool carries the read-only annotation, the escape hatch included. The Custom Search JSON API is a single GET endpoint with no writes, so the only thing a call spends is a unit of your daily quota.

Getting access

Google Custom Search authenticates with an API key; no OAuth and no scopes are involved.

  1. Create or select a Google Cloud project and enable the Custom Search API.
  2. Create an API key under APIs & Services → Credentials. Restricting the key to the Custom Search API is a good habit.
  3. Create a Programmable Search Engine in the control panel and copy its Search engine ID (cx). Enable Search the entire web for open-web search and Image search for the image tool.

Treat the API key as a password. The server sends it in the X-Goog-Api-Key header, never in a URL, so logged or echoed URLs cannot leak it.

Configuration

VariableRequiredDescription
GOOGLE_CUSTOM_SEARCH_API_KEYYesGoogle Cloud API key with the Custom Search API enabled. Secret.
GOOGLE_CUSTOM_SEARCH_ENGINE_IDRecommendedDefault Programmable Search Engine id (cx); tools accept a per-call engine_id override.
GOOGLE_CUSTOM_SEARCH_API_BASENoCustom Search API base URL override.
GOOGLE_CUSTOM_SEARCH_TIMEOUT_MSNoPer-request timeout; default 30000 ms.
GOOGLE_CUSTOM_SEARCH_MAX_RETRIESNoTransient-error retries (429/5xx/network); default 3.

Without credentials the server still starts and completes the MCP handshake; the first tool call explains exactly which variables to set. The one malformed setup is an engine id without an API key — the key cannot be supplied per call, so both must be set together.

Data, limits and background work

  • Requests go to Google. The local server calls the Custom Search JSON API. Its anonymous telemetry contains an installation ID, package version, AI client and platform versions, and tool names — never the API key, search queries, results or tool arguments. For each tool call it also sends the outcome and, on failure, an excerpt of the error text with e-mails, addresses, tokens, numbers of 4+ digits and quoted text replaced by #; a value from your request can appear in it if the error text contains it. Set ASKADS_TELEMETRY=0 to opt out.
  • Google applies a daily quota. Every call from any of the three tools costs one unit of the per-project quota — 100 queries per day free, up to 10,000 per day with billing. On 429, the server backs off honoring Retry-After; because the whole API is idempotent GETs, 5xx and network errors

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く