Meta Pixel
Back to Blog
Connection guide6 min readNov 12, 2026By Andrii Pasika· Founder, LoomaScale

How to Connect Claude Code to GSC (Google Search Console)

Short answer

To connect Claude Code to GSC, connect Google Search Console in LoomaScale and add the GSC HTTP MCP server with claude mcp add. Authenticate from /mcp, list your properties, and select the exact site identifier. Use sitemap and indexed URL data alongside repository inspection to investigate technical SEO questions.

A Search Console MCP connection gives Claude Code search evidence to accompany its route and sitemap analysis. This is useful when an exported site contains a page but Google reports a different index state. Start by verifying the property, then relate sitemap status and selected URL results to the repository's intended output.

What do you need before connecting?

Use Claude Code installed on the computer where you will run these commands. Its CLI supports remote HTTP MCP servers and browser OAuth. This route registers an explicit user-scoped server for use across your projects; project-scoped team configuration is a separate choice. You do not need to run a local Google API server.

  • A Google login with access to the Search Console property you intend to query.
  • A LoomaScale account with Google Search Console connected; a GA4 connection does not grant Search Console access.
  • The exact property returned by discovery: a domain property such as sc-domain:example.com or a URL-prefix property such as https://www.example.com/.

How do you connect Claude Code to GSC?

1. Connect GSC in LoomaScale

Create or sign in to your LoomaScale account, then open Connections. Choose Google Search Console, sign in with the Google email that has access to the required data, and review the requested permissions. Signing in to LoomaScale with Google is not a substitute for connecting this data source. You can connect this service without connecting an advertising account.

2. Register the remote MCP server in Claude Code

Run this command in your system terminal, outside a Claude Code conversation. User scope makes the connection available across your projects. The URL selects this Google service's tools.

claude mcp add --transport http --scope user loomascale-gsc https://api.loomascale.com/mcp/gsc

If you already use the full LoomaScale agent plugin, check its tools before adding a second connection. The plugin route is documented in the Claude Code setup guide; this article uses direct MCP setup.

3. Authenticate from Claude Code's MCP menu

Open Claude Code and enter /mcp. Select loomascale-gsc and complete its authentication flow in the browser. Use the LoomaScale account with your Google source connected. Return to Claude Code and confirm the server is connected. You can inspect the saved server from the system terminal with claude mcp get loomascale-gsc or claude mcp list. A successful add command saves configuration; it does not prove that the Google account lookup succeeded.

4. Verify access with an actual account lookup

Use LoomaScale to call gsc_list_sites. List my Search Console properties with their exact site URLs and permission levels. Ask me which property to use. Do not guess a domain or submit anything to Google.

Match the returned property to the site you manage. A domain property and a URL-prefix property can cover different URL sets, so keep the exact returned identifier. After selection, request a small performance report with explicit dates and search type. Check the actual tool result before interpreting a table: an explanation of Search Console without a tool call is not a connection test.

How do you review a sitemap issue with Claude Code?

Ask for the submitted sitemap's status and the code that generates its URLs. Pick a few representative affected URLs rather than treating the sitemap's status as proof that every page is indexed. If you have a built export, compare its canonical paths with the source configuration before proposing changes.

Use LoomaScale with my selected Search Console property. List submitted sitemaps with their processing state, errors and warnings. Read this repository's sitemap and route-generation code without edits. Ask me to choose up to five affected URLs and inspect their stored index status. Compare intended URLs, canonical paths and Google's findings. Propose one focused follow-up and list missing evidence. Do not submit a sitemap or change files.

A sitemap accepted by Google is a discovery signal, not an indexing guarantee for every included URL. The repository can show intent; the built files and served responses show what ships. Keep those evidence layers separate from Google's historical inspection. If a repair is needed, verify the generated artifact before treating a source change as complete.

Which MCP endpoint does this guide use?

https://api.loomascale.com/mcp/gsc

The service-specific endpoint exposes GSC tools and LoomaScale account helpers. The full directory plugin or connector uses https://api.loomascale.com/mcp and can reach all sources you separately connect. Choose the full connection for work across services; use the specific endpoint when you want this source's tool set. An endpoint choice limits exposed tools, not the Google roles your login holds.

What can Claude Code read or change in GSC?

LoomaScale's Search Console tools retrieve organic clicks, impressions, CTR, average position, query and page opportunities, sitemap status and Google's indexed URL-inspection result. When you ask in chat, they can also submit, resubmit or delete a sitemap and add or remove a property in your Search Console list; removing a property needs explicit confirmation, and an added property stays unverified until you verify it in Search Console. They cannot request indexing or change a website's content. Connections made before November 16, 2026 need a reconnect to grant the write permission. Performance rows describe Google Search visibility, while GA4 sessions describe measured visits. Google's Search Analytics API returns leading rows within its limits and does not guarantee every data row; a missing query is not proof that it received no searches.

Why is the connection or data missing?

If the server needs authentication, open /mcp and sign in again. If tools are missing, check claude mcp list, the source endpoint, and whether an organization policy restricts the server. Restart the session after a configuration change if needed. A Claude web connector and an explicit CLI server can overlap; check the active tools before adding duplicate connections.

For a missing site, check the connected Google email and Search Console access. For unexpected totals, keep the same property, dates, filters and search type as the interface you compare with. Recent data may be incomplete; name the period you used. URL Inspection reports Google's stored index view, rather than a new browser crawl of the current page. A successful connection does not improve rankings or cause a page to be indexed.

Related connection guides and official references

Use GSC in another assistant

Connect another Google source to Claude Code

Official setup references

Setup references checked on November 12, 2026. Menu labels and workspace policies can change; use the linked vendor guidance for your account. For LoomaScale's supported workflows, see the documentation hub.

FAQ

Can Claude Code submit a sitemap through LoomaScale's GSC tools?

Yes, when you ask. LoomaScale's GSC tools can submit or resubmit a sitemap for the selected property, as well as list sitemap status and inspect indexed URLs. They cannot request indexing for individual URLs; that stays in URL Inspection in Search Console. With file access, Claude Code can check the repository's sitemap generation first, so the sitemap you submit is one you have verified. Connections made before November 16, 2026 need a reconnect to grant the write permission.

Can this Search Console connection request indexing?

No. Google offers no public API to request indexing for ordinary pages, so that stays in URL Inspection in the Search Console interface. LoomaScale's Search Console tools read performance, sitemap status and indexed URL-inspection results and, when you ask, submit or delete sitemaps and add or remove properties; they do not submit individual URLs or change your site. Use the results to identify a specific issue and handle any separate website fix or Google action deliberately.

Where do I run claude mcp add and /mcp?

Run claude mcp add in your system terminal. Then open Claude Code and enter /mcp inside its conversation interface to inspect the server and authenticate. The user-scoped command in this guide makes the server available across your projects on that computer.

Who wrote this

Andrii Pasika, founder of LoomaScale

Andrii Pasika

Founder, LoomaScale

Andrii founded LoomaScale and wrote the Google Ads MCP server behind it. He runs his own campaigns through it, and mail to team@loomascale.com reaches him.

Connect GSC to Claude Code

Create your LoomaScale account, connect the Google source, and use the verification prompt above to retrieve your own account data.

Start with LoomaScale

Connect your assistant to your ad platform

LoomaScale runs inside the assistant you already use. Pick the pair you work with; each guide takes about five minutes.

ChatGPT
Google Ads

Manage Google Ads campaigns from ChatGPT: search terms, budgets and new campaigns, paused for your review. One-click install from ChatGPT's directory.

Read the integration
Claude
Google Ads

Manage Google Ads from Claude: audits, budget changes and new campaigns, every write inside the spend cap you set. Connect from Claude's directory.

Read the integration
Claude Code
Google Ads

Install the LoomaScale plugin in Claude Code with two commands and audit Google Ads from your terminal: search terms, budgets and pacing, with skills built in.

Read the integration
Codex
Google Ads

Install the LoomaScale plugin in OpenAI Codex with two commands and audit Google Ads from your terminal: search terms, budgets and conversion goals.

Read the integration
ChatGPT
Meta Ads

Manage Facebook and Instagram campaigns from ChatGPT: ad sets, budgets and creatives in one chat. The same one-click install.

Read the integration
Claude
Meta Ads

Manage Facebook and Instagram campaigns from Claude: audits, budget caps and new ad sets, inside the limits you set.

Read the integration
Claude Code
Meta Ads

Run Facebook and Instagram campaign reviews from Claude Code: the same plugin, one sign-in, and skills for waste audits, pacing and creative fatigue.

Read the integration
Codex
Meta Ads

Review Facebook and Instagram campaigns from OpenAI Codex: the same plugin and sign-in, with placement, age and lead-quality checks.

Read the integration
ChatGPT
TikTok Ads

Manage TikTok campaigns from ChatGPT: reports, video watch-through, audience breakdowns, and pauses, budgets and bids on request. The same one-click install.

Read the integration
Claude
TikTok Ads

Manage TikTok campaigns from Claude: audits, video and audience reports, and pauses, budgets and bids inside the spend cap you set.

Read the integration
Manus
Google Ads

Connect Manus to Google Ads through LoomaScale’s MCP server. Analyze campaigns, keywords and search terms, then request changes within your permissions and spend cap.

Read the integration
Slack
Google Ads

Ask Slackbot about Google Ads in any Slack DM: audits, search terms and pacing checks, with changes kept inside your spend cap. Install the app once per workspace.

Read the integration
Manus
Meta Ads

Connect Manus to Meta Ads through LoomaScale’s MCP server. Review Facebook and Instagram campaigns, ad sets, creatives and placements.

Read the integration
Slack
Meta Ads

Ask Slackbot about Facebook and Instagram campaigns in any Slack DM: delivery, pacing and ad-set spend, read live from Meta Ads.

Read the integration