Google Search Console MCP Server
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 認証情報を取得するには:
Google Cloud Consoleにアクセスする
新しいプロジェクトを作成するか、既存のプロジェクトを選択してください
API を有効にします。
「APIとサービス」>「ライブラリ」に移動します
「Search Console API」を検索して有効にします
資格情報を作成します:
「APIとサービス」>「認証情報」に移動します
「認証情報を作成」>「サービスアカウント」をクリックします
サービスアカウントの詳細を入力してください
JSON形式で新しいキーを作成する
資格情報ファイル(.json)は自動的にダウンロードされます
アクセスを許可:
検索コンソールを開く
プロパティ管理者としてサービス アカウントのメール アドレス (形式: 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
15 toolsbatch_url_inspectBatch Inspect URLsBRead-onlyIdempotent
Inspect up to 100 URLs with rate limiting. Returns index status per URL, a verdict summary, and partial results if the quota runs out
Inputs: siteUrl (required), inspectionUrls (required), languageCode. Returns: meta, results, summary
brand_splitBranded Traffic SplitBRead-onlyIdempotent
Split query traffic into branded and non-branded segments using your brand terms
Inputs: siteUrl (required), brandTerms (required), days, type, +4 more. Returns: meta, branded, endDate, startDate, +4 more
compare_periodsCompare PeriodsBRead-onlyIdempotent
Compare two date ranges by query, page, country, or device, with totals and top movers
Inputs: siteUrl (required), days, type, limit, +6 more. Returns: meta, current, summary, previous, +4 more
detect_content_decayDetect Content DecayBRead-onlyIdempotent
Find pages whose clicks fell in every one of several consecutive time windows
Inputs: siteUrl (required), type, limit, endDate, +5 more. Returns: meta, pages, windows, dataTruncated, +2 more
detect_quick_winsDetect Quick WinsBRead-onlyIdempotent
Find query and page pairs that rank close to the top but have a low CTR
Inputs: siteUrl (required), days, type, limit, +8 more. Returns: meta, endDate, quickWins, startDate, +4 more
detect_traffic_dropsDetect Traffic DropsARead-onlyIdempotent
Find pages that lost clicks between two periods and classify the likely cause: ranking, impressions, CTR, or visibility
Inputs: siteUrl (required), days, type, limit, +7 more. Returns: meta, drops, causes, current, +4 more
diagnose_siteDiagnose SiteARead-onlyIdempotent
Run one site diagnosis: period totals, dropped pages with likely causes, content decay, URL Inspection for the top dropped pages, and sitemap errors. Use it first for a broad "what changed" question
Inputs: siteUrl (required), days, type, limit, +6 more. Returns: meta, current, summary, indexing, +6 more
find_cannibalizationFind Keyword CannibalizationBRead-onlyIdempotent
Find queries where several pages of the site compete for impressions
Inputs: siteUrl (required), days, type, limit, +5 more. Returns: meta, conflicts, rowsAnalyzed, dataTruncated, +1 more
find_ctr_opportunitiesFind CTR OpportunitiesARead-onlyIdempotent
Find query and page pairs whose CTR is below this site's median CTR at the same position
Inputs: siteUrl (required), days, type, limit, +6 more. Returns: meta, rowsAnalyzed, dataTruncated, opportunities, +2 more
get_sitemapGet SitemapCRead-onlyIdempotent
Get a sitemap for a site in Google Search Console
Inputs: siteUrl (required), feedpath (required).
index_inspectInspect URLBRead-onlyIdempotent
Inspect a URL to see if it is indexed or can be indexed
Inputs: siteUrl (required), inspectionUrl (required), languageCode.
list_sitemapsList SitemapsARead-onlyIdempotent
List sitemaps for a site in Google Search Console
Inputs: siteUrl (required), sitemapIndex.
list_sitesList SitesBRead-onlyIdempotent
List all sites in Google Search Console
Inputs: no named parameters.
multi_site_overviewMulti-Site OverviewBRead-onlyIdempotent
Compare clicks, impressions, CTR, and position across all or selected properties
Inputs: days, type, endDate, siteUrls, +3 more. Returns: meta, sites, current, summary, +1 more
search_analyticsSearch AnalyticsARead-onlyIdempotent
Get search performance rows. Dates are optional and default to the last 28 days of final data. Returns compact TSV with a # meta line. Supports hourly data, fresh data, filters, and pagination through startRow
Inputs: siteUrl (required), days, type, endDate, +15 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools have distinct purposes, but the analytics family overlaps significantly: detect_quick_wins and find_ctr_opportunities both surface low-CTR-at-good-position pairs, and detect_traffic_drops, detect_content_decay, and compare_periods all report period-over-period declines. diagnose_site also duplicates pieces of several other tools, so an agent must read descriptions carefully to pick correctly.
A verb_noun pattern (search_analytics, list_sites, detect_traffic_drops, get_sitemap) dominates, but it is broken by brand_split, multi_site_overview, index_inspect, and batch_url_inspect, which use noun_noun or noun_verb forms. The verb choice is also inconsistent for near-identical tasks, using detect_ for some opportunity/decline finders and find_ for others.
15 tools is reasonable for a read-only Search Console analysis server, and each tool maps to a recognizable GSC concept. It sits at the upper edge of the ideal range, with a few analysis tools that could be consolidated.
The surface covers search analytics, sites, sitemaps (list/get), URL inspection (single and batch), and a solid set of diagnostic analyses, which is good lifecycle coverage for a read-only server. Gaps are minor but real: no sitemap submission, no site add/remove, and no rich-results or search-appearance data.
Maintenance
Related MCP Connectors
Read-only Google Search Console MCP server for AI assistants.
Hosted Google Search Console MCP server: >16-month archive, SEO diagnostics, and unlimited export.
1Query your Google Search Console clicks, impressions, CTR and position via a hosted MCP server.
Google Search Console for AI assistants: traffic, rankings, indexing and page checks. Read-only.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides unified access to Google Analytics 4 and Google Search Console data through real-time analytics queries.2MIT
- FlicenseNot gradedqualityDmaintenanceAn 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.-
- AlicenseBqualityBmaintenanceModel Context Protocol (MCP) server that provides AI agents with access to Google Search Console data.251,350 npm334MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for Google Search Console API that enables querying search analytics, managing sites, inspecting URLs, and supporting domain delegation via service accounts.1MIT