A Model Context Protocol (MCP) server providing access to Google Search Console
A Model Context Protocol (MCP) server providing access to Google Search Console.
To install Google Search Console for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-server-gsc --client claude
npm install mcp-server-gsc
To obtain Google Search Console API credentials:
{
"mcpServers": {
"gsc": {
"command": "npx",
"args": ["-y", "mcp-server-gsc"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/credentials.json"
}
}
}
}
Get search performance data from Google Search Console with customizable parameters:
Required Parameters:
siteUrl
: Site URL (format: http://www.example.com/
or sc-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
)type
: Search type (web
, image
, video
, news
)aggregationType
: Aggregation method (auto
, byNewsShowcasePanel
, byProperty
, byPage
)rowLimit
: Maximum rows to return (default: 1000)Example:
{
"siteUrl": "https://example.com",
"startDate": "2024-01-01",
"endDate": "2024-01-31",
"dimensions": "query,country",
"type": "web",
"rowLimit": 500
}
MIT
Contributions are welcome! Please read our contributing guidelines before submitting pull requests.