The Google Search Console MCP Server provides access to Google Search Console data and functionality through a Model Context Protocol (MCP) server interface. You can:
List Sites: View all sites associated with your account
Search Analytics: Retrieve search performance data with customizable dimensions, dates, filters, search types, and row limits
URL Inspection: Check if a specific URL is indexed or can be indexed
Sitemap Management: List existing sitemaps, get details about specific sitemaps, and submit new sitemaps for a site
Allows retrieving search analytics data from Google Search Console, including search performance metrics with dimensions support, customizable reporting periods, and rich data analysis capabilities.
Google Search Console MCP Server
A Model Context Protocol (MCP) server providing comprehensive access to Google Search Console data with enhanced analytics capabilities.
Sponsored by
Features
- Enhanced Search Analytics: Retrieve up to 25,000 rows of performance data
- Advanced Filtering: Support for regex patterns and multiple filter operators
- Quick Wins Detection: Automatically identify optimization opportunities
- Rich Dimensions: Query, page, country, device, and search appearance analysis
- Flexible Date Ranges: Customizable reporting periods with historical data access
Prerequisites
- Node.js 18 or later
- Google Cloud Project with Search Console API enabled
- Service Account credentials with Search Console access
Installation
Installing via Smithery
To install Google Search Console for Claude Desktop automatically via Smithery:
Manual Installation
Authentication Setup
To obtain Google Search Console API credentials:
- Visit the Google Cloud Console
- Create a new project or select an existing one
- Enable the API:
- Go to "APIs & Services" > "Library"
- Search for and enable "Search Console API"
- Create credentials:
- Navigate to "APIs & Services" > "Credentials"
- Click "Create Credentials" > "Service Account"
- Fill in the service account details
- Create a new key in JSON format
- The credentials file (.json) will download automatically
- Grant access:
- Open Search Console
- Add the service account email (format: name@project.iam.gserviceaccount.com) as a property administrator
Usage
Claude Desktop Configuration
Available Tools
search_analytics
Get comprehensive search performance data from Google Search Console with enhanced analytics capabilities.
Required Parameters:
siteUrl
: Site URL (format:http://www.example.com/
orsc-domain:example.com
)startDate
: Start date (YYYY-MM-DD)endDate
: End date (YYYY-MM-DD)
Optional Parameters:
dimensions
: Comma-separated list (query
,page
,country
,device
,searchAppearance
,date
)type
: Search type (web
,image
,video
,news
,discover
,googleNews
)aggregationType
: Aggregation method (auto
,byNewsShowcasePanel
,byProperty
,byPage
)rowLimit
: Maximum rows to return (default: 1000, max: 25000)dataState
: Data freshness (all
orfinal
, default:final
)
Filter Parameters:
pageFilter
: Filter by page URL (supports regex withregex:
prefix)queryFilter
: Filter by search query (supports regex withregex:
prefix)countryFilter
: Filter by country ISO 3166-1 alpha-3 code (e.g.,USA
,CHN
)deviceFilter
: Filter by device type (DESKTOP
,MOBILE
,TABLET
)searchAppearanceFilter
: Filter by search feature (e.g.,AMP_BLUE_LINK
,AMP_TOP_STORIES
)filterOperator
: Operator for filters (equals
,contains
,notEquals
,notContains
,includingRegex
,excludingRegex
)
Quick Wins Detection:
detectQuickWins
: Enable automatic detection of optimization opportunities (default:false
)quickWinsConfig
: Configuration for quick wins detection:positionRange
: Position range to consider (default:[4, 20]
)minImpressions
: Minimum impressions threshold (default:100
)minCtr
: Minimum CTR percentage (default:1
)
Example - Basic Query:
Example - Advanced Filtering with Regex:
Example - Quick Wins Detection:
License
MIT
Contributing
Contributions are welcome! Please read our contributing guidelines before submitting pull requests.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A server that provides access to Google Search Console data through the Model Context Protocol, allowing users to retrieve and analyze search analytics data with customizable dimensions and reporting periods.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that connects to Google Cloud services, allowing users to query logs, interact with Spanner databases, and analyze Cloud Monitoring metrics through natural language interaction.Last updated -406651Apache 2.0
- AsecurityFlicenseAqualityA Model Context Protocol server that provides web search capabilities using Google Custom Search API and webpage content extraction functionality.Last updated -281
- AsecurityFlicenseAqualityA Model Context Protocol server that provides web and image search capabilities through Google's Custom Search API, allowing AI assistants like Claude to access current information from the internet.Last updated -21
- -securityFlicense-qualityA Model Context Protocol server that provides unified access to Google Analytics 4 and Google Search Console data through real-time analytics queries.Last updated -2