Skip to main content
Glama
Google Search Console MCP Server

Google Search Console MCP Server

by ahonn

Google Search Console MCP サーバー

鍛冶屋のバッジ

Google Search Console へのアクセスを提供するモデル コンテキスト プロトコル (MCP) サーバー。

特徴

  • ディメンションサポートによる検索分析データの取得

  • カスタマイズ可能なレポート期間による豊富なデータ分析

Related MCP server: Google Search Console API MCP Server

前提条件

  • Node.js 18以降

  • Search Console API が有効になっている Google Cloud プロジェクト

  • Search Console にアクセスできるサービス アカウントの認証情報

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Google Search Console を自動的にインストールするには:

npx -y @smithery/cli install mcp-server-gsc --client claude

手動インストール

npm install mcp-server-gsc

認証設定

Google Search Console API 認証情報を取得するには:

  1. Google Cloud Consoleにアクセスする

  2. 新しいプロジェクトを作成するか、既存のプロジェクトを選択してください

  3. API を有効にします。

  • 「APIとサービス」>「ライブラリ」に移動します

  • 「Search Console API」を検索して有効にします

  1. 資格情報を作成します:

  • 「APIとサービス」>「認証情報」に移動します

  • 「認証情報を作成」>「サービスアカウント」をクリックします

  • サービスアカウントの詳細を入力してください

  • JSON形式で新しいキーを作成する

  • 資格情報ファイル(.json)は自動的にダウンロードされます

  1. アクセスを許可:

  • 検索コンソールを開く

  • プロパティ管理者としてサービス アカウントのメール アドレス (形式: name@project.iam.gserviceaccount.com ) を追加します。

使用法

クロードデスクトップ構成

{
  "mcpServers": {
    "gsc": {
      "command": "npx",
      "args": ["-y", "mcp-server-gsc"],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/credentials.json"
      }
    }
  }
}

利用可能なツール

検索分析

カスタマイズ可能なパラメータを使用して、Google Search Console から検索パフォーマンス データを取得します。

必須パラメータ:

  • siteUrl : サイト URL (形式: http://www.example.com/またはsc-domain:example.com )

  • startDate : 開始日 (YYYY-MM-DD)

  • endDate : 終了日 (YYYY-MM-DD)

オプションパラメータ:

  • dimensions : カンマ区切りのリスト ( query,page,country,device,searchAppearance )

  • type : 検索タイプ( web 、 image 、 video 、 news )

  • aggregationType : 集計方法 ( auto 、 byNewsShowcasePanel 、 byProperty 、 byPage )

  • rowLimit : 返される最大行数(デフォルト: 1000)

例:

{
  "siteUrl": "https://example.com",
  "startDate": "2024-01-01",
  "endDate": "2024-01-31",
  "dimensions": "query,country",
  "type": "web",
  "rowLimit": 500
}

ライセンス

マサチューセッツ工科大学

貢献

貢献を歓迎します!プルリクエストを送信する前に、貢献ガイドラインをお読みください。

Available Tools

8 tools
detect_quick_winsC

Automatically detect SEO quick wins and optimization opportunities

Inputs: siteUrl (required), startDate (required), endDate (required), minImpressions, +5 more.

enhanced_search_analyticsC

Enhanced search analytics with up to 25,000 rows, regex filters, and quick wins detection

Inputs: siteUrl (required), startDate (required), endDate (required), dimensions, +11 more.

get_sitemapC

Get a sitemap for a site in Google Search Console

Inputs: feedpath, siteUrl.

index_inspectC

Inspect a URL to see if it is indexed or can be indexed

Inputs: siteUrl (required), inspectionUrl (required), languageCode.

list_sitemapsC

List sitemaps for a site in Google Search Console

Inputs: sitemapIndex, siteUrl.

list_sitesB

List all sites in Google Search Console

Inputs: no named parameters.

search_analyticsC

Get search performance data from Google Search Console

Inputs: siteUrl (required), startDate (required), endDate (required), dimensions, +9 more.

submit_sitemapC

Submit a sitemap for a site in Google Search Console

Inputs: feedpath (required), siteUrl (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 8 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting different Google Search Console operations, but there is some overlap between 'search_analytics' and 'enhanced_search_analytics' which could cause confusion as both handle search performance data. The 'detect_quick_wins' tool also overlaps with the quick wins detection feature mentioned in 'enhanced_search_analytics', creating minor ambiguity.

    Naming Consistency4/5

    Tool names follow a consistent verb_noun pattern throughout (e.g., list_sites, get_sitemap, submit_sitemap), with all using snake_case. The only deviation is 'index_inspect' which uses a noun_verb structure instead of verb_noun, but this is minor and doesn't significantly impact readability.

    Tool Count5/5

    With 8 tools, the count is well-scoped for a Google Search Console server, covering core functionalities like site management, sitemap handling, search analytics, and URL inspection. Each tool appears to earn its place without feeling excessive or insufficient for the domain.

    Completeness4/5

    The tool set provides good coverage for Google Search Console operations, including listing sites, managing sitemaps, inspecting URLs, and analyzing search data. A minor gap exists in missing tools for more advanced features like URL removal requests or security issue reporting, but core workflows are well-covered.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that provides unified access to Google Analytics 4 and Google Search Console data through real-time analytics queries.
      2
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP Server that provides access to Google's Search Console API, allowing users to interact with website search performance data and manage search presence through natural language.
      -
    • A
      license
      B
      quality
      A
      maintenance
      Model Context Protocol (MCP) server that provides AI agents with access to Google Search Console data.
      25
      1,169 npm
      330
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for Google Search Console API that enables querying search analytics, managing sites, inspecting URLs, and supporting domain delegation via service accounts.
      1
      MIT