mcp-gsc
Google Search Console Insights with Claude AI for SEOs
claude mcp add --transport stdio aminforou-mcp-gsc node path/to/server.js \ --env GSC_SKIP_OAUTH="true|1|yes to skip OAuth and use service account authentication" \ --env GSC_CREDENTIALS_PATH="Path to service account credentials JSON (if using Service Account authentication)" \ --env GSC_OAUTH_CLIENT_SECRETS_FILE="Path to OAuth client_secrets.json (if using OAuth authentication)"
How to use
This MCP server provides an integration between Google Search Console (GSC) and Claude AI, enabling natural language conversations to explore your SEO data. Once running, Claude can help you manage properties, fetch search analytics, inspect URLs, and handle sitemaps by interpreting natural language requests. Available actions include listing properties, getting site details, querying search analytics and performance, checking indexing status, inspecting URLs, and managing sitemaps. You can ask Claude to perform tasks like 'list my properties', 'show me search analytics for example.com last 30 days', or 'submit the sitemap for example.com'. The tools are designed to be used conversationally, but you can also request specific tool calls if needed by explicitly naming the action (e.g., get_search_analytics, check_indexing_issues).
How to install
Prerequisites:
- Python 3.11+ and Node.js
- Claude Desktop installed
- Access to Google Search Console (OAuth or Service Account)
- Clone the repository
git clone https://github.com/AminForou/mcp-gsc.git
cd mcp-gsc
- Set up Google Search Console credentials
- OAuth (recommended):
- Create OAuth client in Google Cloud Console and download client_secrets.json
- Set environment variable GSC_OAUTH_CLIENT_SECRETS_FILE to the path of this file
- When prompted, authorize access via the browser
- Service Account:
- Create a service account and download the JSON key as service_account_credentials.json
- Set environment variable GSC_CREDENTIALS_PATH to the path of this file
- Add the service account email to the appropriate GSC properties
- Install required software
- Python (3.11+)
- Node.js
- Claude Desktop
- Install dependencies (example if server.js uses npm install)
# If there is a package.json for the Node components
npm install
- Run the MCP server
# Depending on your setup, the server may be started with Node
# Ensure the path in the MCP config points to your actual server file
node path/to/server.js
- Run the MCP client (Claude) and connect to the running server by configuring your MCP client to the mcp-gsc server as defined in the mcp_config.
Additional notes
Environment variables are placeholders and should point to actual credential files when deploying. If OAuth is used, ensure the client secrets file is accessible and that the redirect/consent screens are properly configured in Google Cloud Console. For service accounts, you must grant access to the relevant GSC properties. If you encounter authentication issues, double-check the file permissions and that the environment variables are correctly exported in the shell that launches the server. The MCP tools support up to 19 distinct functions; you can request any of them by name (e.g., list_properties, get_search_analytics, submit_sitemap).
Related MCP Servers
mcp-pinecone
Model Context Protocol server to allow for reading and writing from Pinecone. Rudimentary RAG
mcp-python-interpreter
MCP Python Interpreter: run python code. Python-mcp-server, mcp-python-server, Code Executor
pfsense
pfSense MCP Server enables security administrators to manage their pfSense firewalls using natural language through AI assistants like Claude Desktop. Simply ask "Show me blocked IPs" or "Run a PCI compliance check" instead of navigating complex interfaces. Supports REST/XML-RPC/SSH connections, and includes built-in complian
mcp-images
## MCP-Images Looking for a powerful image processing server? MCP Server-Image provides enterprise-grade image handling with just a few lines of code. Perfect for AI applications, web services, and data processing pipelines. [Get Started](#installation) | [Support Us](https://www.buymeacoffee.com/blazzmocompany)
google-search-console
It connects directly to your Google Search Console account via the official API, letting you access key data right from AI tools like Claude Desktop or OpenAI Agents SDK and others .
coder_db
An intelligent code memory system that leverages vector embeddings, structured databases, and knowledge graphs to store, retrieve, and analyze code patterns with semantic search capabilities, quality metrics, and relationship modeling. Designed to enhance programming workflows through contextual recall of best practices, algorithms, and solutions.