searchconsole-mcp
searchconsole-mcp
プロジェクト向けに Google Search Console を自動化する MCP サーバー:検索アナリティクス、サイトマップ管理、サイト プロパティ、URL 検査。
ツール
ツール | 説明 |
| サービス アカウントがアクセスできるすべてのプロパティを一覧表示します |
| プロパティを追加/削除します( |
| クエリ/ページ/国/デバイス/日付ごとにグループ化したクリック数、インプレッション数、CTR、掲載位置。フィルター対応。デフォルトは過去 28 日間 |
| 送信済みサイトマップとインデックス登録数を検査します |
| サイトマップを送信または削除します |
| URL Inspection API:インデックス登録ステータス、正規 URL、クロール情報、モバイル ユーザビリティ |
Related MCP server: Google Search Console + GA4 MCP Server
初回の Google セットアップ
Google Cloud Console でプロジェクトを作成します。
Google Search Console API を有効にします(API とサービス > ライブラリ)。
サービス アカウントを作成し(IAM と管理 > サービス アカウント)、JSON キーをダウンロードします。
Search Console の各プロパティで 設定 > ユーザーと権限 > ユーザーを追加 に移動し、サービス アカウントのメールアドレス(
...@...iam.gserviceaccount.com)を貼り付けて オーナー 権限を付与します(URL Inspection API を使用するにはオーナー権限が必要です)。
設定
環境変数:
変数 | 必須 | 説明 |
| いずれか | サービス アカウントの JSON キー全体をインラインで指定 |
| いずれか | キーファイルへのパス。デフォルトは |
| 任意 | デフォルトのプロパティ。各呼び出しで |
サーバーは起動時に作業ディレクトリから .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 でサービス アカウントのメールアドレスをオーナーとして追加することです。
Maintenance
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
- AlicenseNot gradedqualityDmaintenanceEnables 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.1233MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables 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.
- AlicenseNot gradedqualityCmaintenanceEnables interaction with Google Search Console via MCP, offering search analytics, performance summaries, URL inspection, sitemap management, and property listing for SEO workflows.1651MIT
- FlicenseNot gradedqualityFmaintenanceEnables interacting with Google Search Console via natural language, supporting search analytics, URL inspection, sitemap management, and site listing.24
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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