Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Google Search Console for AI agents: search analytics, sitemaps, URL inspection.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
GSC_CREDENTIALS_PATH必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"gsc": {
"command": "npx",
"args": [
"-y",
"@conorbronsdon/gsc-mcp"
],
"env": {
"GSC_CREDENTIALS_PATH": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add gsc --env GSC_CREDENTIALS_PATH=your-value -- npx -y @conorbronsdon/gsc-mcp動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"gsc": {
"command": "npx",
"args": [
"-y",
"@conorbronsdon/gsc-mcp"
],
"env": {
"GSC_CREDENTIALS_PATH": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"gsc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@conorbronsdon/gsc-mcp"
],
"env": {
"GSC_CREDENTIALS_PATH": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
GSC_CREDENTIALS_PATH envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント conorbronsdon で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.1.0)がレジストリに届いたのは3 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Maintenance mode. This project is stable and receives security fixes. New features aren't planned, but issues and pull requests are still welcome.
Google Search Console for AI agents: search performance, striking-distance keywords, sitemaps, and URL inspection. SEO automation you can hand to an assistant.
An MCP server for Google Search Console. It gives an AI assistant the data and the levers behind organic search: how queries and pages perform, which keywords are one nudge away from page one, the state of your sitemaps, and whether a specific URL is indexed — plus the ability to submit or remove sitemaps.
Why this exists. Search Console is where SEO actually happens, but its UI is click-heavy and its data is hard to act on at a glance. The single most useful view — queries ranking in *striking distance* of page one — is not even a built-in report; you have to filter and eyeball it. This server puts that view, and the rest of the funnel, in front of an agent so the boring parts of SEO (find the near-miss keywords, check index status, keep sitemaps healthy) can be automated.
It was built to run SEO for two sites — a podcast and a personal site — but nothing here is specific to them. Point it at any property you have verified.
| Tool | Access | What it returns | API |
|---|---|---|---|
gsc_list_sites | read | Verified properties + permission level | GET webmasters/v3/sites |
gsc_search_analytics | read | Clicks/impressions/CTR/position by query, page, country, device, or date | POST .../searchAnalytics/query |
gsc_striking_distance | read | Queries at avg position 8–25 with enough impressions — the optimization list | computed from search analytics |
gsc_list_sitemaps | read | Submitted sitemaps with status, last download, warning/error counts | GET .../sitemaps |
gsc_submit_sitemap | write | Submits/pings a sitemap to Google | PUT .../sitemaps/{feedpath} |
gsc_delete_sitemap | write, destructive | Deregisters a sitemap from Search Console | DELETE .../sitemaps/{feedpath} |
gsc_inspect_url | read | Index status, last crawl, canonical, mobile/rich-results verdicts | POST searchconsole/v1/urlInspection/index:inspect |
Every tool carries MCP read/write annotations, so a client can tell the two write tools apart from the five read-only ones before calling them. Read tools are readOnlyHint: true; gsc_submit_sitemap is a non-destructive write; gsc_delete_sitemap is destructiveHint: true.
List tools default row_limit / limit low (25) to keep responses small — agents pay tokens per response.
This server uses an OAuth installed-app credential (a saved refresh token), not a service account or an API key. It reads the credential from:
~/.config/gws/searchconsole_credentials.json
The file is google-auth's Credentials.to_json() shape: it contains client_id, client_secret, refresh_token, and scopes. The server refreshes short-lived access tokens against Google's token endpoint directly with fetch — no heavy googleapis dependency.
To create the file yourself if you do not already have it:
client_secret.json.~/.config/gws/searchconsole_credentials.json. Any standard google-auth-oauthlib installed-app snippet works — about ten lines, and it opens a browser for a single consent click.The path is shared on purpose: if you already hold a Search Console credential in that location for other tooling, this server reuses it rather than asking you to mint a second one.
gsc_inspect_url, work with https://www.googleapis.com/auth/webmasters.readonly.gsc_submit_sitemap, gsc_delete_sitemap) need the full https://www.googleapis.com/auth/webmasters scope.If your saved credential only has the read-only scope, the read tools work and the write tools return a clear "re-mint with the full scope" error rather than a cryptic 403. Re-running the mint with the full scope upgrades the same file in place; read tools keep working throughout.
Set GSC_CREDENTIALS_PATH to point at a different credential file if you do not use the default location.
The server boots and answers tools/list even when no credential is present, so MCP inspectors can introspect it. Tool *calls* then return a setup pointer (to stderr at startup, and as the tool result). stdout is reserved for the MCP transport and stays clean.
Add your site at search.google.com/search-console. A Domain property (verified with a DNS TXT record) covers http/https and all subdomains and is the recommended choice. Note the exact property string — gsc_list_sites will show it as sc-domain:example.com (Domain) or https://example.com/ (URL-prefix).
Create ~/.config/gws/searchconsole_credentials.json as described under Authentication, requesting the full webmasters scope if you want the two sitemap write tools.
Add to your .mcp.json:
{
"mcpServers": { "gsc": { "command": "npx", "args": ["-y", "@conorbronsdon/gsc-mcp"] } } }
Add to your claude_desktop_config.json:
{
"mcpServers": { "gsc": { "command": "npx", "args": ["-y", "@conorbronsdon/gsc-mcp"] } } }
No env block is needed when the credential is at the default path. Set GSC_CREDENTIALS_PATH if it lives elsewhere.
Ask your assistant: "List my Search Console properties," then "Show me striking-distance keywords for it over the last 28 days."
Read these so you know what the numbers mean and what this can and cannot do.
JobPosting and BroadcastEvent pages, not normal content, and using it for normal pages violates its terms. So there is deliberately no "ask Google to index this page" tool here; for normal pages, requesting indexing is a manual click in the Search Console UI. gsc_submit_sitemap is the supported, API-backed way to nudge crawling.row_limit caps at 1000 here (the API allows 25,000 with pagination); for very large pulls, page with start_date/dimension filters rather than asking for everything at once.row_limit and inspection volume modest.git clone https://github.com/conorbronsdon/gsc-mcp.git
cd gsc-mcp npm install npm run build npm test
Run locally:
npm start
Tests mock fetch and make no network calls.
The package also exports its tools for embedding, so another MCP server can mount the Search Console tools next to its own instead of running a second process. Importing the package starts nothing and reads no credential.
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { DEFAULT_CREDENTIAL_PATH, GSCClient, GoogleAuth, registerGscTools } from "@conorbronsdon/gsc-mcp";
const server = new McpServer({ name: "my-server", version: "1.0.0" }); const auth = GoogleAuth.tryLoad(DEFAULT_CREDENTIAL_PATH); registerGscTools(server, auth ? new GSCClient(auth) : null);
The mounted tools have the same names, schemas, annotations and results as the standalone server. With a null client they still appear in tools/list and return a setup error when called; pass { credentialPath } as the third argument to name a non-default path in that error.
Issues and pull requests are welcome. If a Search Console endpoint is worth wrapping as a tool, open an issue describing what it should return and the endpoint it maps to. Keep the contract honest: read tools stay read-only, write tools carry the right annotations, and responses stay compact.
Search Console is one credential family in a wider Google data stack. The siblings, each with its own auth:
| Data | Server |
|---|---|
| Google Workspace (Gmail, Calendar, Drive, Sheets, Docs, Tasks) | gws-mcp-server — same curated approach: narrow surface, side effects declared on every tool |
| YouTube Analytics | yt-analytics-mcp — owner-side watch time, retention, traffic sources, and playlist metrics; read-only |
| Google Analytics 4 | googleanalytics/google-analytics-mcp — Google's own, read-only |
| BigQuery | googleapis/mcp-toolbox — Google's own |
Nothing here shares a token: this server uses a webmasters OAuth credential, Workspace uses gws auth login, YouTube Analytics uses a yt-analytics.readonly OAuth credential, GA4 uses Application Default Credentials scoped analytics.readonly.
Built and maintained by Conor Bronsdon. I host the Chain of Thought podcast, which covers AI infrastructure, developer tools, and how practitioners actually use this stuff. I built this to pull SEO work into the agent workflows that run the show and my site.
Companion tools:
冒頭だけを表示しています。続きはリポジトリで読めます