Skip to main content
Glama
Parithosh-Varma

searchconsole-mcp

searchconsole-mcp

プロジェクト向けに Google Search Console を自動化する MCP サーバー:検索アナリティクス、サイトマップ管理、サイト プロパティ、URL 検査。

ツール

ツール

説明

gsc_list_sites

サービス アカウントがアクセスできるすべてのプロパティを一覧表示します

gsc_add_site / gsc_remove_site

プロパティを追加/削除します(sc-domain:example.com または https://www.example.com/

gsc_search_analytics

クエリ/ページ/国/デバイス/日付ごとにグループ化したクリック数、インプレッション数、CTR、掲載位置。フィルター対応。デフォルトは過去 28 日間

gsc_list_sitemaps / gsc_get_sitemap

送信済みサイトマップとインデックス登録数を検査します

gsc_submit_sitemap / gsc_delete_sitemap

サイトマップを送信または削除します

gsc_inspect_url

URL Inspection API:インデックス登録ステータス、正規 URL、クロール情報、モバイル ユーザビリティ

Related MCP server: Google Search Console + GA4 MCP Server

初回の Google セットアップ

  1. Google Cloud Console でプロジェクトを作成します。

  2. Google Search Console API を有効にします(API とサービス > ライブラリ)。

  3. サービス アカウントを作成し(IAM と管理 > サービス アカウント)、JSON キーをダウンロードします。

  4. Search Console の各プロパティで 設定 > ユーザーと権限 > ユーザーを追加 に移動し、サービス アカウントのメールアドレス(...@...iam.gserviceaccount.com)を貼り付けて オーナー 権限を付与します(URL Inspection API を使用するにはオーナー権限が必要です)。

設定

環境変数:

変数

必須

説明

GSC_SERVICE_ACCOUNT_JSON

いずれか

サービス アカウントの JSON キー全体をインラインで指定

GSC_SERVICE_ACCOUNT_FILE

いずれか

キーファイルへのパス。デフォルトは ./service-account.json

GSC_DEFAULT_SITE

任意

デフォルトのプロパティ。各呼び出しで siteUrl を省略できます

サーバーは起動時に作業ディレクトリから .env も読み込みます。

MCP クライアントへの登録

opencode(~/.config/opencode/opencode.json またはプロジェクトの .opencode/opencode.json):

{
  "mcp": {
    "searchconsole": {
      "type": "local",
      "command": ["node", "/absolute/path/to/searchconsole-mcp/dist/index.js"],
      "environment": {
        "GSC_SERVICE_ACCOUNT_FILE": "/absolute/path/to/service-account.json",
        "GSC_DEFAULT_SITE": "sc-domain:example.com"
      }
    }
  }
}

Claude Desktop(claude_desktop_config.json):

{
  "mcpServers": {
    "searchconsole": {
      "command": "node",
      "args": ["/absolute/path/to/searchconsole-mcp/dist/index.js"],
      "env": {
        "GSC_SERVICE_ACCOUNT_FILE": "/absolute/path/to/service-account.json",
        "GSC_DEFAULT_SITE": "sc-domain:example.com"
      }
    }
  }
}

開発

npm install
npm run build     # tsc -> dist/
npm start         # run the server on stdio
npm run smoke     # boots the server and lists tools

注記

  • アナリティクス データは約 2 日遅れます。最新の部分的なデータも含めるには、dataState: "all" を渡します。

  • API は 1 リクエストあたりのアナリティクスの行数を 25,000 行に制限しています。ページングには startRow を使用してください。

  • API 経由でサイトを追加した場合、所有権が確認されるまでそのサイトは未確認のままです。最も簡単な方法は、先に UI でサービス アカウントのメールアドレスをオーナーとして追加することです。

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with Google Search Console to query search analytics, inspect URL indexing status, and manage sitemaps. It allows users to monitor SEO performance and site health through natural language commands in MCP-compatible clients.
    123
    3
    MIT
  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables querying Google Search Console and Google Analytics 4 data to retrieve search performance and site analytics. It provides tools for listing web properties and running detailed reports using secure Google OAuth authentication.
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables interaction with Google Search Console via MCP, offering search analytics, performance summaries, URL inspection, sitemap management, and property listing for SEO workflows.
    165
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Turn Search Console data into SEO actions, content, publishing, indexing, and AI insights.

  • SEO research, audits, backlinks, GSC, and content workflow tools for AI agents.

  • Web search, news, page retrieval, sitemaps, and trending topics through Search1API.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Parithosh-Varma/searchconsole-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server