google-search-console-mcp
1
The Google Search Console MCP Server allows users to connect to the Google Search Console API, facilitating various operations like retrieving search analytics data and checking URL indexing status within n8n workflows. It supports listing sites, fetching top queries, and more, with secure handling of credentials.
Google Search Console MCP Server
- This project is an MCP server providing access to the Google Search Console API for use within n8n workflows using the MCP Client node.
- Features:
- List all Search Console sites
- Retrieve search analytics data
- View top search queries and pages
- Check URL indexing status
- Fetch sitemap information
Installation
- Ensure Python 3.7+ is installed.
- Clone the repository from GitHub.
- Create a virtual environment and install dependencies.
- Make the scripts executable and set up service account credentials.
Google API Credentials
- Reuse an existing service account or create a new one.
- Set up proper permissions within Google Search Console for the service account.
Usage with n8n
- Add an MCP Client node in n8n and configure the command and environment variables appropriately.
Available Tools
list_sites
: List all Search Console sitesget_search_analytics
: Retrieve search analytics dataget_top_queries
: Fetch top search queriesget_top_pages
: Retrieve top pagesget_queries_for_url
: Fetch queries for a specific URLinspect_url
: Check URL indexing statuslist_sitemaps
: List all sitemaps