loading…
Search for a command to run...
loading…
MCP server for Google Search Console. 21 tools for search analytics, keyword opportunities, URL inspection, sitemaps, indexing, and property management.
MCP server for Google Search Console. 21 tools for search analytics, keyword opportunities, URL inspection, sitemaps, indexing, and property management.
A fast, single-binary MCP server for Google Search Console. 21 tools covering search analytics, URL inspection, sitemaps, indexing, and property management.
cargo install gsc-mcp-rs
Or build from source:
git clone https://github.com/eyupcanakman/gsc-mcp-rs.git
cd gsc-mcp-rs
cargo build --release
Option 1: OAuth (personal use)
mkdir -p ~/.config/gsc-mcp-rs
cat > ~/.config/gsc-mcp-rs/oauth_credentials.json << 'EOF'
{"client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET"}
EOF
gsc-mcp-rs auth
Option 2: Service Account (automation)
cp your-key.json ~/.config/gsc-mcp-rs/service_account.json
Or set the environment variable:
export GSC_SERVICE_ACCOUNT_PATH=/path/to/key.json
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"gsc": {
"command": "gsc-mcp-rs",
"args": ["stdio"]
}
}
}
claude mcp add gsc-mcp-rs -- gsc-mcp-rs stdio
| Tool | Description |
|---|---|
list_sites |
List all accessible GSC properties with permission levels |
get_site_details |
Get verification status and ownership details |
manage_site |
Add or remove a property (action: "add"|"delete", idempotent) |
reauthenticate |
Clear tokens for account switching |
| Tool | Description |
|---|---|
search_analytics |
All dimensions, filters, 25K rows, sorting. Use breakdown for device/country splits |
compare_periods |
Side-by-side period comparison with deltas |
performance_overview |
Quick aggregate summary + daily trend |
page_query_breakdown |
Which queries drive traffic to a specific page |
| Tool | Description |
|---|---|
top_pages |
Best-performing pages by clicks/impressions/CTR/position |
keyword_opportunities |
5 modes: quick_wins (default), cannibalization, ctr_gaps, declining, growing |
brand_query_analysis |
Brand vs non-brand traffic split |
keyword_trend |
Daily tracking of a single keyword |
detect_anomalies |
Automatic drop detection with severity levels |
| Tool | Description |
|---|---|
query_by_search_appearance |
Filter by rich result type (FAQ, VIDEO, etc.) |
| Tool | Description |
|---|---|
export_analytics |
Force CSV file export for large datasets |
| Tool | Description |
|---|---|
inspect_url |
Check indexing status of a single URL |
batch_inspect_urls |
Inspect up to 50 URLs with configurable concurrency |
| Tool | Description |
|---|---|
list_sitemaps |
List submitted sitemaps with status |
manage_sitemap |
Submit or remove a sitemap (action: "submit"|"delete", idempotent) |
| Tool | Description |
|---|---|
request_indexing |
Request Google to crawl a URL |
| Tool | Description |
|---|---|
api_reference |
All dimensions and metrics with descriptions and value ranges |
| Variable | Default | Description |
|---|---|---|
GSC_MCP_CONFIG_DIR |
~/.config/gsc-mcp-rs/ |
Config and token storage directory |
GSC_MCP_OUTPUT_DIR |
System temp dir | CSV export directory |
GSC_SERVICE_ACCOUNT_PATH |
(none) | Path to service account JSON key |
gsc-mcp-rs stdio # stdio transport (default)
gsc-mcp-rs auth # Interactive OAuth flow
gsc-mcp-rs --version # Show version
gsc-mcp-rs --help # Show help
docker build -t gsc-mcp-rs .
docker run -i --rm -v ~/.config/gsc-mcp-rs:/root/.config/gsc-mcp-rs gsc-mcp-rs
Rust 1.85 or later.
See CONTRIBUTING.md for development setup and guidelines.
See SECURITY.md for the vulnerability reporting process.
MIT. See LICENSE.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"gsc-mcp-rs": {
"command": "npx",
"args": []
}
}
}