loading…
Search for a command to run...
loading…
Enables querying Google Search Console data including rankings, clicks, and impressions for websites. Provides tools for analyzing search performance, top queri
Enables querying Google Search Console data including rankings, clicks, and impressions for websites. Provides tools for analyzing search performance, top queries, page metrics, and ranking changes.
Query Google Search Console data from any AI assistant that supports the MCP protocol - rankings, clicks, impressions, and page-level performance.
npm install
.env filecp .env.example .env
Fill in the values:
| Variable | Where to find it |
|---|---|
GSC_SITE_URL |
GSC Settings > Association > Sc-domain (e.g. sc-domain:bwengr.com) |
GOOGLE_CLIENT_ID |
Google Cloud Console > Credentials (from step 3) |
GOOGLE_CLIENT_SECRET |
Google Cloud Console > Credentials (from step 3) |
npm start
On first run, a browser window will open automatically to complete OAuth authentication. After that, tokens are stored locally in .tokens.json and you will not be prompted again.
This server communicates over stdio (standard input/output), which is the standard way to connect MCP servers to AI assistants. Configure your AI assistant to use:
node /path/to/src/index.js
Replace /path/to with the actual path to this project on your machine.
Returns your top search queries ranked by clicks.
startDate (YYYY-MM-DD), endDate (YYYY-MM-DD), rowLimit (optional, default 10)Returns overall site search performance totals.
startDate (YYYY-MM-DD), endDate (YYYY-MM-DD)Returns performance data filtered to a specific page.
pageUrl (exact URL as shown in GSC), startDate (YYYY-MM-DD), endDate (YYYY-MM-DD)Finds pages with the biggest position changes between two periods.
days (number of days to compare, default 28)Never commit .env or .tokens.json to version control. These files are already excluded via .gitignore.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"google-search-console-mcp-server": {
"command": "npx",
"args": []
}
}
}