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

Google Gsc

作者:mharnettバージョン 1.0.1i★ –iパソコンで動く
レジストリ名io.github.mharnett/google-gsc

インストール

概要

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

Google Search Console MCP: search analytics, URL inspection, site management.

PopNx MCPの3つの柱

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

できること

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

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: マーケティング・SNS
  • 入力が必要なもの:GOOGLE_APPLICATION_CREDENTIALS

インストール

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

インストールの前に

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

必要なもの

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

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

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

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

{
  "mcpServers": {
    "google-gsc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-gsc"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "your-value"
      }
    }
  }
}

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

claude mcp add google-gsc --env GOOGLE_APPLICATION_CREDENTIALS=your-value -- npx -y mcp-google-gsc

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

Cursorで開く

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

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

{
  "mcpServers": {
    "google-gsc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-gsc"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "your-value"
      }
    }
  }
}

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

VS Codeで開く

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

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

{
  "servers": {
    "google-gsc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-gsc"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "your-value"
      }
    }
  }
}

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

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

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

自分で入力する値

  • GOOGLE_APPLICATION_CREDENTIALS 必須 env
    Path to service account JSON credentials file

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

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • … 未チェック

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

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

  • … 未チェック

    ライセンスがある

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

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

マーケティング・SNSのほかのサーバーとの比較i

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

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

よくある質問

Google Gscは安全ですか?

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

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

入力が必要なもの:GOOGLE_APPLICATION_CREDENTIALS

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

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

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

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

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

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

代わりに使えるものは?

同じカテゴリには:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

代わりの候補

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

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

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

パソコンで動く★ 244MIT10 日前更新
インストール

作者のREADME

READMEを開く

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

mcp-google-gsc

MCP server for Google Search Console -- search analytics, URL inspection, and site management via Claude.

Features

  • Search Analytics -- Query clicks, impressions, CTR, and position with flexible dimension filters (query, page, device, country, date)
  • URL Inspection -- Check indexing status, mobile usability, and rich results for any URL
  • Site Listing -- List all verified Search Console properties accessible to your authenticated account (OAuth user or service account)
  • Multi-Client Support -- Manage multiple GSC properties with per-directory config mapping

Installation

From npm
npm install mcp-google-gsc
From source
git clone https://github.com/mharnett/mcp-search-console.git

cd mcp-google-gsc npm install npm run build

Configuration

Security: Never share your .mcp.json file or commit it to git -- it may contain API credentials. Add .mcp.json to your .gitignore.

mcp-gsc supports two authentication modes. Pick whichever fits your setup. Neither requires any file living at a hardcoded machine-local path -- credentials come from environment variables (or a config.json you create).

Which mode to use:

  • Service Account (Mode B) -- recommended for unattended / server / headless use. A service account has no interactive login to expire or re-consent, so it is the right fit for always-on deployments. The one setup requirement is that the service account's email must be granted access on each Search Console property you want to query (see Mode B).
  • User OAuth (Mode A) -- for personal / interactive use, where you want to authorize with your own Google login.

Precedence when both are configured: if a service-account keyfile is explicitly set (GOOGLE_APPLICATION_CREDENTIALS, or credentials_file in config.json), it wins over any OAuth refresh token or stored OAuth credentials. If neither is configured, the server fails loudly at startup with an onboarding message rather than silently guessing -- there is no machine-local default and no silent runtime failover between modes.

Mode A: User OAuth (bring your own Google account)

Use this if you want to authorize with your own Google login (the account that has Search Console access). Best for personal / interactive use.

  1. In the Google Cloud Console, create an OAuth 2.0 Client ID of type Desktop app and enable the Search Console API. (For a Desktop-app client, Google accepts any http://localhost loopback redirect -- you do not need to pre-register a port.)
  2. Export your client credentials:
   export GOOGLE_GSC_CLIENT_ID=...apps.googleusercontent.com

export GOOGLE_GSC_CLIENT_SECRET=...

3. Mint a refresh token (opens your browser, uses PKCE + `access_type=offline`):
   node get-refresh-token.cjs

Do not redirect this command's stdout to a shared log -- it prints the refresh token to stdout by design.

  1. Copy the printed line into your environment:
   export GOOGLE_GSC_REFRESH_TOKEN=...

The server reads GOOGLE_GSC_CLIENT_ID, GOOGLE_GSC_CLIENT_SECRET, and GOOGLE_GSC_REFRESH_TOKEN from the environment at runtime.

Alternatively, run the guided helper npx mcp-gsc-auth, which performs the same PKCE OAuth flow, lets you pick a default Search Console property, and writes the result to a per-user credentials file.

Mode B: Service Account (recommended for unattended / server use)

Use this for server / headless / always-on contexts -- it is the recommended path when no human is present to complete or refresh an interactive login.

  1. Create a Google Cloud service account with Search Console API access and download its JSON key file.
  2. Grant the service account's email access on each Search Console property you want to query (add it as a user in Search Console). Without this grant on the property, the service account can authenticate but will see no sites.
  3. Point the server at the key file via an environment variable (no hardcoded path):
   export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/service-account-key.json
OAuth scope

Both modes request a single, read-only scope: https://www.googleapis.com/auth/webmasters.readonly. All four tools are reads -- nothing writes -- so the server never asks for read/write access.

The scope is defined once in config.json under oauth.scope (see config.example.json). The OAuth helper and the runtime read the same value, so they never drift. If config.json is absent (e.g. a fresh install), the committed read-only default is used.

Multi-client config (optional)

To map working directories to Search Console properties, create a config.json in the project root (see config.example.json):

{

"oauth": { "scope": "https://www.googleapis.com/auth/webmasters.readonly" }, "clients": { "my-project": { "name": "My Project", "folder": "/path/to/project", "site_url": "https://example.com/" } } }

Usage

Add to your Claude Code .mcp.json:

{

"mcpServers": { "gsc": { "command": "node", "args": ["/path/to/mcp-gsc/dist/index.js"] } } }

Or if installed globally:

{

"mcpServers": { "gsc": { "command": "npx", "args": ["mcp-google-gsc"] } } }

Claude Desktop: Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).

Tools

ToolDescription
gsc_get_client_contextDetect the GSC property from your working directory based on config mapping
gsc_list_sitesList all verified Search Console properties accessible to the authenticated account
gsc_search_analyticsQuery search performance data (clicks, impressions, CTR, position) with dimension and filter support
gsc_inspectionInspect a URL for indexing status, mobile usability, and rich results
gsc_search_analytics

Supports dimensions: query, page, device, country, date. Filter by any dimension with operators like equals, contains, notContains. Date range defaults to the last 28 days.

gsc_inspection

Returns index coverage, crawl status, mobile usability verdict, and rich result details for a specific URL within a property.

Architecture

  • Resilience -- Uses cockatiel for retry with exponential backoff and circuit breaker patterns on all Google API calls
  • Logging -- Structured logging via pino with configurable log levels
  • Response Handling -- Responses truncated at 200KB to stay within MCP transport limits

License

MIT -- see LICENSE.


Built by Mark Harnett / drak-marketing

PopNxに聞く