Skip to main content
Glama
harisnadeem

searchconsole-mcp

by harisnadeem

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GOOGLE_APPLICATION_CREDENTIALSNoPath to service account key JSON

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_sitesA

List all websites in the user's Search Console account.

Returns a list of site entries, each containing 'siteUrl' and permission level.

query_search_analyticsA

Query Search Analytics data for a website.

Args: site_url: The site to query, e.g. 'https://example.com/' or 'sc-domain:example.com'. start_date: Start date in YYYY-MM-DD format. end_date: End date in YYYY-MM-DD format. dimensions: Group results by these dimensions. Valid values: date, query, page, country, device, searchAppearance. Omit to get aggregate totals with no grouping. search_type: Type of search to filter by. Values: web (default), image, video, news, discover, googleNews. row_limit: Maximum number of rows to return (default 1000). start_row: Zero-based offset for pagination (default 0). data_state: Include only 'final' (default) confirmed data, or 'all'. aggregation_type: How to aggregate data. 'auto' (default), 'byPage', or 'byProperty'. dimension_filter_groups: List of filter groups to apply. Each group has 'groupType' ('and'/'or') and 'filters' list. Each filter: {dimension, expression, operator}. Operators: equals, notEquals, contains, notContains, beginsWith, notBeginsWith, endsWith, notEndsWith, isEmpty, isNotEmpty.

Returns: Dictionary with 'rows' (list of result rows) and 'responseAggregationType'. Each row contains dimension values in 'keys' plus: - clicks (total clicks) - impressions (total impressions) - ctr (click-through rate) - position (average search position)

get_sitemapA

Get details about a specific sitemap.

Args: site_url: The site, e.g. 'https://example.com/'. feedpath: The sitemap path, e.g. '/sitemap.xml'.

Returns: Dictionary with sitemap metadata (submitted/referenced counts, last downloaded, errors, warnings).

list_sitemapsA

List all sitemaps submitted for a website.

Args: site_url: The site whose sitemaps to list, e.g. 'https://example.com/'.

Returns: Dictionary with 'sitemap' list containing feedpath, type, contentsCounts, etc.

submit_sitemapA

Submit (add) a sitemap to a website.

Args: site_url: The site, e.g. 'https://example.com/'. feedpath: The sitemap path to submit, e.g. '/sitemap.xml'.

Returns: Empty dict on success.

delete_sitemapA

Delete a sitemap from a website.

Args: site_url: The site, e.g. 'https://example.com/'. feedpath: The sitemap path to delete, e.g. '/sitemap.xml'.

Returns: Empty dict on success.

inspect_urlA

Inspect the indexing status of a URL in Google.

Args: site_url: The site URL registered in Search Console, e.g. 'https://example.com/'. inspection_url: The full URL to inspect, e.g. 'https://example.com/some-page'. language_code: The language code for the inspection request (default 'en-US').

Returns: Dictionary with inspection result including indexStatus, coverageState, robots_txt_state, page_fetch_state, etc.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/harisnadeem/searchconsole-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server