Google Search Console Insights with Claude AI for SEOs
A tool that connects Google Search Console (GSC) with Claude AI, allowing you to analyze your SEO data through natural language conversations. This integration gives you access to property information, search analytics, URL inspection, and sitemap management—all through simple chat with Claude.
Property Management
Search Analytics & Reporting
URL Inspection & Indexing
Sitemap Management
Here's what you can ask Claude to do once you've set up this integration:
What You Can Ask For | What It Does | What You'll Need to Provide |
---|---|---|
list_properties | Shows all your GSC properties | Nothing - just ask! |
get_site_details | Shows details about a specific site | Your website URL |
add_site | Adds a new site to your GSC properties | Your website URL |
delete_site | Removes a site from your GSC properties | Your website URL |
get_search_analytics | Shows top queries and pages with metrics | Your website URL and time period |
get_performance_overview | Gives a summary of site performance | Your website URL and time period |
check_indexing_issues | Checks if pages have indexing problems | Your website URL and list of pages to check |
inspect_url_enhanced | Detailed inspection of a specific URL | Your website URL and the page to inspect |
get_sitemaps | Lists all sitemaps for your site | Your website URL |
submit_sitemap | Submits a new sitemap to Google | Your website URL and sitemap URL |
For a complete list of all 19 available tools and their detailed descriptions, ask Claude to "list tools" after setup.
Before using this tool, you'll need to create API credentials that allow Claude to access your GSC data:
The tool supports two authentication methods:
This method allows you to authenticate with your own Google account, which is often more convenient than using a service account. It will have access to the same resources you normally do.
Set GSC_SKIP_OAUTH
to "true", "1", or "yes" to skip OAuth authentication and use only service account authentication
https://www.googleapis.com/auth/webmasters
to your projectclient_secrets.json
)GSC_OAUTH_CLIENT_SECRETS_FILE
environment variable to point to its locationWhen you run the tool for the first time with OAuth authentication, it will open a browser window asking you to sign in to your Google account and authorize the application. After authorization, the tool will save the token for future use.
This method uses a service account, which is useful for automated scripts or when you don't want to use your personal Google account. This requires adding the service account as a user in Google Search Console.
service_account_credentials.json
in the same directory as the script or set the GSC_CREDENTIALS_PATH
environment variable to point to its location🎬 Watch this beginner-friendly tutorial on Youtube:
Click the image above to watch the step-by-step video tutorial
You'll need to install these tools on your computer:
Make sure both Python and Node.js are properly installed and available in your system path before proceeding.
You need to download this tool to your computer. The easiest way is:
Alternatively, if you're familiar with Git:
git clone https://github.com/AminForou/mcp-gsc.git
Open your computer's Terminal (Mac) or Command Prompt (Windows):
Navigate to the folder where you unzipped the files:
# Example (replace with your actual path):
cd ~/Documents/mcp-gsc-main
Create a virtual environment (this keeps the project dependencies isolated):
# Using uv (recommended):
uv venv .venv
# If uv is not installed, install it first:
pip install uv
# Then create the virtual environment:
uv venv .venv
# OR using standard Python:
python -m venv .venv
Note: If you get a "pip not found" error when trying to install uv, see the "If you get 'pip not found' error" section below.
Activate the virtual environment:
# On Mac/Linux:
source .venv/bin/activate
# On Windows:
.venv\Scripts\activate
Install the required dependencies:
# Using uv:
uv pip install -r requirements.txt
# OR using standard pip:
pip install -r requirements.txt
If you get "pip not found" error:
# First ensure pip is installed and updated:
python3 -m ensurepip --upgrade
python3 -m pip install --upgrade pip
# Then try installing the requirements again:
python3 -m pip install -r requirements.txt
# Or to install uv:
python3 -m pip install uv
When you see (.venv)
at the beginning of your command prompt, it means the virtual environment is active and the dependencies will be installed there without affecting your system Python installation.
# For Mac users:
nano ~/Library/Application\ Support/Claude/claude_desktop_config.json
# For Windows users:
notepad %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"gscServer": {
"command": "/FULL/PATH/TO/-main/.venv/bin/python",
"args": ["/FULL/PATH/TO/mcp-gsc-main/gsc_server.py"],
"env": {
"GSC_OAUTH_CLIENT_SECRETS_FILE": "/FULL/PATH/TO/client_secrets.json"
}
}
}
}
{
"mcpServers": {
"gscServer": {
"command": "/FULL/PATH/TO/-main/.venv/bin/python",
"args": ["/FULL/PATH/TO/mcp-gsc-main/gsc_server.py"],
"env": {
"GSC_CREDENTIALS_PATH": "/FULL/PATH/TO/service_account_credentials.json",
"GSC_SKIP_OAUTH": "true"
}
}
}
}
Important: Replace all paths with the actual locations on your computer:
gsc_server.py
file inside the folder you unzippedExamples:
/Users/yourname/Documents/mcp-gsc/.venv/bin/python
/Users/yourname/Documents/mcp-gsc/gsc_server.py
C:\\Users\\yourname\\Documents\\mcp-gsc\\.venv\\Scripts\\python.exe
C:\\Users\\yourname\\Documents\\mcp-gsc\\gsc_server.py
Save the file:
Restart Claude Desktop
When Claude opens, you should now see GSC tools available in the tools section
Now you can ask Claude questions about your GSC data! Claude can not only retrieve the data but also analyze it, explain trends, and create visualizations to help you understand your SEO performance better.
Here are some powerful prompts you can use with each tool:
Tool Name | Sample Prompt |
---|---|
list_properties | "List all my GSC properties and tell me which ones have the most pages indexed." |
get_site_details | "Analyze the verification status of mywebsite.com and explain what the ownership details mean." |
add_site | "Add my new website https://mywebsite.com to Search Console and verify its status." |
delete_site | "Remove the old test site https://test.mywebsite.com from Search Console." |
get_search_analytics | "Show me the top 20 search queries for mywebsite.com in the last 30 days, highlight any with CTR below 2%, and suggest title improvements." |
get_performance_overview | "Create a visual performance overview of mywebsite.com for the last 28 days, identify any unusual drops or spikes, and explain possible causes." |
check_indexing_issues | "Check these important pages for indexing issues and prioritize which ones need immediate attention: mywebsite.com/product, mywebsite.com/services, mywebsite.com/about" |
inspect_url_enhanced | "Do a comprehensive inspection of mywebsite.com/landing-page and give me actionable recommendations to improve its indexing status." |
batch_url_inspection | "Inspect my top 5 product pages, identify common crawling or indexing patterns, and suggest technical SEO improvements." |
get_sitemaps | "List all sitemaps for mywebsite.com, identify any with errors, and recommend next steps." |
list_sitemaps_enhanced | "Analyze all my sitemaps for mywebsite.com, focusing on error patterns, and create a prioritized action plan." |
submit_sitemap | "Submit my new product sitemap at https://mywebsite.com/product-sitemap.xml and explain how long it typically takes for Google to process it." |
get_sitemap_details | "Check the status of my main sitemap at mywebsite.com/sitemap.xml and explain what the warnings mean for my SEO." |
get_search_by_page_query | "What search terms are driving traffic to my blog post at mywebsite.com/blog/post-title? Identify opportunities to optimize for related keywords." |
compare_search_periods | "Compare my site's performance between January and February. What queries improved the most, which declined, and what might explain these changes?" |
get_advanced_search_analytics | "Analyze my mobile search performance for queries with high impressions but positions below 10, and suggest content improvements to help them rank better." |
You can also ask Claude to combine multiple tools and analyze the results. For example:
"Find my top 20 landing pages by traffic, check their indexing status, and create a report highlighting any pages with both high traffic and indexing issues."
"Analyze my site's performance trend over the last 90 days, identify my fastest-growing queries, and check if the corresponding landing pages have any technical issues."
"Compare my desktop vs. mobile search performance, visualize the differences with charts, and recommend specific pages that need mobile optimization based on performance gaps."
"Identify queries where I'm ranking on page 2 (positions 11-20) that have high impressions but low CTR, then inspect the corresponding URLs and suggest title and meta description improvements."
Claude will use the GSC tools to fetch the data, present it in an easy-to-understand format, create visualizations when helpful, and provide actionable insights based on the results.
Claude can help you visualize your GSC data in various ways:
Simply ask Claude to "visualize" or "create a chart" when analyzing your data, and it will generate appropriate visualizations to help you understand the information better.
On macOS, the default Python command is often python3
rather than python
, which can cause issues with some applications including Node.js integrations.
If you encounter errors related to Python not being found, you can create an alias:
Create a Python alias (one-time setup):
# For macOS users:
sudo ln -s $(which python3) /usr/local/bin/python
# If that doesn't work, try finding your Python installation:
sudo ln -s /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 /usr/local/bin/python
Verify the alias works:
python --version
This creates a symbolic link so that when applications call python
, they'll actually use your python3
installation.
If you're having trouble connecting:
If you encounter any other unexpected issues during installation or usage:
Remember that most issues have been encountered by others before, and there's usually a straightforward solution available.
Found a bug or have an idea for improvement? We welcome your input! Open an issue or submit a pull request on GitHub.
This project is licensed under the MIT License. See the LICENSE file for details.
No configuration available
This service may require manual configuration, please check the details on the left
Related projects feature coming soon
Will recommend related projects based on sub-categories