seo-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SECRET | No | Optional Google Search Console OAuth secret used with GSC_CLIENT_ID. | |
| PASSWORD | No | Optional DataForSEO password used with DATAFORSEO_LOGIN. | |
| SECRET_KEY | No | Optional Moz secret key used with MOZ_ACCESS_ID. | |
| GSC_CLIENT_ID | No | Optional Google Search Console OAuth client ID for GSC tools. | |
| MOZ_ACCESS_ID | No | Optional Moz access ID for backlinks and domain authority tools, as an alternative to DataForSEO. | |
| REFRESH_TOKEN | No | Optional Google Search Console OAuth refresh token for GSC tools. | |
| DATAFORSEO_LOGIN | No | Optional DataForSEO login for keyword research, SERP, backlinks, and domain authority tools. | |
| PAGESPEED_API_KEY | No | Optional API key for higher rate limits for performance tools. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_page | Run a comprehensive on-page SEO audit for a URL. Returns title, meta description, canonical, robots directives, Open Graph tags, heading summary, image summary, link counts, and an overall SEO score with per-category breakdowns. Optionally includes word count / readability when includeContent is true. |
| analyze_headings | Analyze the heading hierarchy (H1-H6) of a page. Returns a nested heading tree, flat list with ordering, tag counts, hierarchy issues, and optional keyword presence check across headings. |
| analyze_images | Audit all images on a page for SEO best practices. Checks alt text, file size, modern formats (WebP/AVIF), lazy loading, dimensions, and filename quality. Returns per-image details and an aggregate score. |
| analyze_internal_links | Analyze all internal and external links on a page. Returns link lists with anchor text, nofollow status, position (nav/content/footer/sidebar), anchor text quality distribution, and summary counts. Optionally checks for broken links. |
| extract_schema | Extract and validate all structured data (JSON-LD, Microdata, RDFa) from a page. Returns each schema with its format, type, raw data, and validation results including Google rich-result eligibility. |
| analyze_robots_txt | Fetch and analyze a domain's robots.txt file. Returns the raw content, parsed allow/disallow rules per user-agent, listed sitemaps, and any issues. Optionally tests whether a specific path is allowed. |
| analyze_sitemap | Fetch and analyze an XML sitemap (urlset or sitemap index). Returns URL count, lastmod distribution, and issues. Optionally spot-checks URLs for HTTP status codes. |
| audit_security_headers | Audit HTTP security headers for a URL. Checks HSTS, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, and detects mixed content (HTTP resources on HTTPS pages). Returns per-header status and an overall security score. |
| analyze_url_structure | Analyze a URL for SEO best practices. Checks length, depth, HTTPS, uppercase letters, underscores vs hyphens, non-ASCII characters, query parameters, file extensions, double slashes, and trailing slash consistency. Returns per-check results and a score. |
| validate_hreflang | Validate hreflang link elements on a page for international SEO. Checks language code format (ISO 639-1), x-default presence, self-referencing tags, duplicate codes, and optionally verifies that target pages link back (return link validation). |
| audit_accessibility | Run a lightweight WCAG accessibility audit on a page using Cheerio (no browser needed). Checks: lang attribute, form labels, empty buttons/links, image alt text, heading hierarchy, skip navigation, ARIA landmarks, document title, and tabindex issues. Returns per-check results and an overall score. |
| check_core_web_vitals | Measure Core Web Vitals and Lighthouse scores for a URL using the Google PageSpeed Insights API. Returns LCP, INP, CLS, FCP, and TTFB with ratings, Lighthouse category scores (performance, SEO, accessibility, best-practices), field data when available, performance opportunities, diagnostics, and a resource size summary. Works without an API key (rate-limited) or with a PAGESPEED_API_KEY for higher quotas. |
| check_mobile_friendly | Check whether a URL is mobile-friendly. Returns viewport configuration, font legibility, tap target sizing, content width checks, a mobile Lighthouse score, and a list of mobile-specific issues. |
| research_keywords | Research one or more keywords using the DataForSEO API. Returns search volume, keyword difficulty, CPC, competition level, 12-month trend data, and SERP features for each keyword. Optionally includes related keyword suggestions. Requires DATAFORSEO_LOGIN and DATAFORSEO_PASSWORD environment variables. |
| analyze_serp | Analyze the search engine results page (SERP) for a keyword. Returns organic results with position, URL, title, and description; detected SERP features (featured snippet, PAA, local pack, etc.); featured snippet content; People Also Ask questions; and estimated search intent. Requires DATAFORSEO_LOGIN and DATAFORSEO_PASSWORD. |
| analyze_backlinks | Analyze the backlink profile of a URL or domain. Returns total backlink count, referring domains, domain authority, follow ratio, top backlinks with source details, anchor text distribution (branded/exact/partial/generic/URL), and referring domain tier breakdown. Requires DataForSEO or Moz API credentials. |
| analyze_domain_authority | Check domain authority metrics for one or more domains. Returns domain authority score, total backlinks, referring domains, and optionally organic keyword count, traffic estimate, and spam score for each domain. Requires DataForSEO or Moz API credentials. |
| gsc_performance | Query Google Search Console performance data (clicks, impressions, CTR, position) for a verified property. Supports date range filtering, dimension breakdowns (query, page, country, device, searchAppearance), and row-level filters. Returns individual rows plus aggregate totals. Requires GSC_CLIENT_ID, GSC_CLIENT_SECRET, and GSC_REFRESH_TOKEN environment variables. |
| gsc_index_coverage | Check Google Search Console index coverage status. Returns counts of valid, warning, error, and excluded pages. When a specific URL is provided, returns detailed inspection results including index status, crawl status, canonical, and mobile usability. Requires GSC OAuth credentials. |
| gsc_sitemaps | List or submit sitemaps in Google Search Console. Without a sitemapUrl, lists all submitted sitemaps with their status, URL count, warnings, and errors. With a sitemapUrl, submits the sitemap to GSC for processing. Requires GSC OAuth credentials. |
| generate_schema | Generate valid Schema.org JSON-LD structured data markup. Provide the schema type and data fields; returns the full JSON-LD object, an HTML script snippet ready to paste, and validation results including Google rich-result eligibility. Supports all major types: Article, Product, LocalBusiness, FAQPage, HowTo, BreadcrumbList, Event, Organization, Person, Recipe, VideoObject, and more. |
| generate_robots_txt | Generate a robots.txt file from configuration options. Specify sitemap URLs, disallowed/allowed paths, crawl delay, and custom per-user-agent rules. Alternatively use a preset ("permissive", "restrictive", "wordpress", "ecommerce") as a starting point. Returns the complete robots.txt content ready to deploy. |
| generate_meta_suggestions | Analyze a page's current meta tags and generate optimized suggestions. Returns the current title, meta description, and Open Graph tags alongside improved versions with explanations. Takes an optional target keyword to optimize keyword placement and density in the suggestions. |
| crawl_site | Start a full site crawl using breadth-first discovery. Returns a crawl ID immediately — the crawl runs in the background. Use crawl_status to check progress and crawl_results to retrieve findings. Discovers pages by following internal links, checks SEO issues on each page, detects duplicate content, redirect chains, thin content, missing titles/descriptions, and more. |
| crawl_status | Check the progress of a running or completed site crawl. Returns the crawl state, pages crawled/queued/errored, issue counts, and status code distribution. |
| crawl_results | Retrieve the full results of a completed (or in-progress) site crawl. Returns aggregated issues, duplicate content groups, redirect chains, pages by status code, and per-page details. Use the filter parameter to focus on specific issue types. |
| detect_orphan_pages | Cross-reference a completed crawl with a sitemap to find orphan pages (in sitemap but not linked) and unlisted pages (found during crawl but not in sitemap). |
| compare_crawls | Diff two crawl sessions to track SEO changes over time. Shows new/removed pages, changed titles/descriptions/H1s, status code changes, new issues, and resolved issues. |
| list_crawls | List all crawl sessions (in-memory and saved to disk). Shows crawl ID, domain, state, pages crawled, and date for each. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |