Google Search Console MCP
local-only server
The server can only run on the client’s local machine because it depends on local resources.
Integrations
Provides tools for accessing Google Search Console data including property management, search analytics, URL inspection, and sitemap management. Enables analysis of SEO data through property listings, site details, search query metrics, indexing status checks, and sitemap submission.
Google Search Console MCP
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.
What Can This Tool Do For SEO Professionals?
- Property Management
- See all your GSC properties in one place
- Get verification details and basic site information
- Search Analytics & Reporting
- Discover which search queries bring visitors to your site
- Track impressions, clicks, and click-through rates
- Analyze performance trends over time
- Compare different time periods to spot changes
- Visualize your data with charts and graphs created by Claude
- URL Inspection & Indexing
- Check if specific pages have indexing problems
- See when Google last crawled your pages
- Inspect multiple URLs at once to identify patterns
- Get actionable insights on how to improve indexing
- Sitemap Management
- View all your sitemaps and their status
- Submit new sitemaps directly through Claude
- Check for errors or warnings in your sitemaps
- Monitor sitemap processing status
Available Tools
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 |
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 17 available tools and their detailed descriptions, ask Claude to "list tools" after setup.
Getting Started (No Coding Experience Required!)
1. Set Up Google Search Console API Access
Before using this tool, you'll need to create API credentials that allow Claude to access your GSC data:
- Create a Google Cloud account if you don't have one and access the Google Cloud Console
- Set up a service account (like a special user for API access)
- Download the credentials file (a JSON file)
- Grant this service account access to your GSC properties
🎬 Watch this beginner-friendly tutorial on Youtube:
Click the image above to watch the step-by-step video tutorial
2. Install Required Software
You'll need to install these tools on your computer:
- Python (version 3.11 or newer) - This runs the connection between GSC and Claude
- Node.js - Required for running the MCP inspector and certain MCP components
- Claude Desktop - The AI assistant you'll chat with
Make sure both Python and Node.js are properly installed and available in your system path before proceeding.
3. Download the Google Search Console MCP
You need to download this tool to your computer. The easiest way is:
- Click the green "Code" button at the top of this page
- Select "Download ZIP"
- Unzip the downloaded file to a location you can easily find (like your Documents folder)
Alternatively, if you're familiar with Git:
4. Install Required Components
Open your computer's Terminal (Mac) or Command Prompt (Windows):
- Navigate to the folder where you unzipped the files:Copy
- Create a virtual environment (this keeps the project dependencies isolated):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.Copy
- Activate the virtual environment:Copy
- Install the required dependencies:If you get "pip not found" error:CopyCopy
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.
5. Connect Claude to Google Search Console
- Download and install Claude Desktop if you haven't already
- Make sure you have your Google service account credentials file saved somewhere on your computer
- Open your computer's Terminal (Mac) or Command Prompt (Windows) and type:
- Add the following text (this tells Claude how to connect to GSC):Important: Replace all paths with the actual locations on your computer:Copy
- The first path should point to the Python executable inside your virtual environment
- The second path should point to the
gsc_server.py
file inside the folder you unzipped - The third path should point to your Google service account credentials JSON file
Examples:
- Mac:
- Python path:
/Users/yourname/Documents/mcp-gsc/.venv/bin/python
- Script path:
/Users/yourname/Documents/mcp-gsc/gsc_server.py
- Python path:
- Windows:
- Python path:
C:\\Users\\yourname\\Documents\\mcp-gsc\\.venv\\Scripts\\python.exe
- Script path:
C:\\Users\\yourname\\Documents\\mcp-gsc\\gsc_server.py
- Python path:
- Save the file:
- Mac: Press Ctrl+O, then Enter, then Ctrl+X to exit
- Windows: Click File > Save, then close Notepad
- Restart Claude Desktop
- When Claude opens, you should now see GSC tools available in the tools section
6. Start Analyzing Your SEO Data!
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." |
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.
Data Visualization Capabilities
Claude can help you visualize your GSC data in various ways:
- Trend Charts: See how metrics change over time
- Comparison Graphs: Compare different time periods or dimensions
- Performance Distributions: Understand how your content performs across positions
- Correlation Analysis: Identify relationships between different metrics
- Heatmaps: Visualize complex datasets with color-coded representations
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.
Troubleshooting
Python Command Not Found
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):Copy
- Verify the alias works:Copy
This creates a symbolic link so that when applications call python
, they'll actually use your python3
installation.
Claude Configuration Issues
If you're having trouble connecting:
- Make sure all file paths in your configuration are correct and use the full path
- Check that your service account has access to your GSC properties
- Restart Claude Desktop after making any changes
- Look for error messages in Claude's response when you try to use a tool
- Ensure your virtual environment is activated when running the server manually
Other Unexpected Issues
If you encounter any other unexpected issues during installation or usage:
- Copy the exact error message you're receiving
- Use ChatGPT or Claude and explain your problem in detail, including:
- What you were trying to do
- The exact error message
- Your operating system
- Any steps you've already tried
- AI assistants can often help diagnose and resolve technical issues by suggesting specific solutions for your situation
Remember that most issues have been encountered by others before, and there's usually a straightforward solution available.
Contributing
Found a bug or have an idea for improvement? We welcome your input! Open an issue or submit a pull request on GitHub.
License
This project is licensed under the MIT License. See the LICENSE file for details.
This server cannot be installed
Connects Google Search Console with Claude AI to enable SEO professionals to analyze their SEO data through natural language conversations, providing access to property information, search analytics, URL inspection, and sitemap management.