GSC MCP Server
Provides tools for interacting with Google Search Console, enabling AI agents to manage properties, analyze search performance, inspect URLs, and manage sitemaps.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GSC MCP Serverget search analytics for last month"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GSC MCP Server
Google Search Console MCP Server — a TypeScript Model Context Protocol server that provides tools for interacting with the Google Search Console API through AI assistants like Claude Desktop.
This is a TypeScript port of the mcp-gsc Python server, fully compatible with the MCP specification.
Features
19 MCP Tools covering all aspects of Google Search Console
Service Account authentication — no browser OAuth flow required
Cross-platform — Windows, macOS, Linux
STDIO transport support
Zero-config defaults — automatically picks up the service account JSON from the
keyfolderSafety-first — destructive operations disabled by default
Related MCP server: gsc-mcp
Tools Overview
Category | Tool | Description |
Properties |
| List all GSC sites you have access to |
| Get verification and ownership info for a site | |
| Add a new property (destructive — disabled by default) | |
| Remove a property (destructive — disabled by default) | |
Analytics |
| Top queries/pages with clicks, impressions, CTR, position |
| Summary + daily trend for a time period | |
| Compare performance between two date ranges | |
| Queries driving traffic to a specific page | |
| Advanced filtering, pagination, and explicit current-page sorting | |
URL Inspection |
| Detailed crawl/index/rich-result status for a URL |
| Inspect up to 10 URLs at once | |
| Check multiple URLs for indexing problems | |
Sitemaps |
| List all sitemaps for a site |
| Detailed sitemap info with errors and warnings | |
| Detailed info for a specific sitemap | |
| Submit or resubmit a sitemap | |
| Remove a sitemap (destructive — disabled by default) | |
| All-in-one: list, details, submit, delete | |
Info |
| List all tools, auth status, and getting started guide |
Prerequisites
Node.js 18+ (LTS recommended)
A Google Cloud project with the Search Console API enabled
A service account with access to your GSC properties (see below)
Installation
# Clone the repository
git clone <repo-url> gsc-mcp
cd gsc-mcp
# Install dependencies
npm install
# Build
npm run buildAuthentication Setup
This server uses Service Account authentication only.
Create a service account in your Google Cloud project
Download the JSON key file
Add the service account email as a user in GSC for each property
Place the key file in the key folder of the project (the server will automatically
pick the first JSON file there), or set the environment variable:
# Windows (PowerShell)
$env:GSC_CREDENTIALS_PATH = "C:\path\to\service_account_credentials.json"
# macOS / Linux
export GSC_CREDENTIALS_PATH="/path/to/service_account_credentials.json"Credential lookup priority:
GSC_CREDENTIALS_PATHenvironment variable (absolute path)The first JSON file in the
keyfolder (default)service_account_credentials.jsonin the script directory / current directory
Claude Desktop Configuration
Edit claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"gsc": {
"command": "node",
"args": [
"C:\\path\\to\\gsc-mcp\\build\\index.js"
],
"env": {}
}
}
}If you are not using the key folder, set GSC_CREDENTIALS_PATH in env:
{
"mcpServers": {
"gsc": {
"command": "node",
"args": ["C:\\path\\to\\gsc-mcp\\build\\index.js"],
"env": {
"GSC_CREDENTIALS_PATH": "C:\\path\\to\\service_account_credentials.json"
}
}
}
}For macOS/Linux, use forward slashes and the export-style environment configuration.
Restart Claude Desktop after saving. You should see the hammer icon in the input box.
Environment Variables
Variable | Default | Description |
| (none) | Absolute path to service account credentials JSON |
|
| Set to |
|
|
|
Development
# Install dependencies
npm install
# Build TypeScript
npm run build
# Run (STDIO)
npm startProject Structure
gsc-mcp/
├── src/
│ ├── index.ts # MCP server entry point + all tool registrations
│ └── auth.ts # Service account authentication
├── key/ # Default location for service account credentials JSON
├── build/ # Compiled JavaScript output
├── package.json
└── tsconfig.jsonCredits
Original Python MCP-GSC server created by Amin Foroutan.
License
ISC
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceModel Context Protocol (MCP) server that provides AI agents with access to Google Search Console data.212,582258MIT
- AlicenseAqualityCmaintenanceMCP server for querying Google Search Console data — search analytics, URL inspection, sitemap monitoring, and more — read-only tools for any MCP-compatible AI client.7Apache 2.0
- AlicenseAqualityCmaintenanceA lightweight, fast MCP server for Google Search Console. Query search analytics, manage sitemaps, and inspect URLs directly from your AI assistant.7Apache 2.0
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that provides read-only access to Google Search Console data, enabling natural language queries about SEO performance, rankings, and indexing status.123MIT
Related MCP Connectors
SEO research, audits, backlinks, GSC, and content workflow tools for AI agents.
Turn Search Console data into SEO actions, content, publishing, indexing, and AI insights.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/GuodongDai2113/gsc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server