Skip to main content
Glama
mgsrevolver

SEO Inspector & Schema Validator MCP

by mgsrevolver

// README.md - Instructions for setup and use

SEO Inspector & Schema Validator MCP

A Model Context Protocol (MCP) server for Cursor that analyzes web pages for SEO issues and validates structured data schemas.

Features

  • Analyze HTML files in a codebase for SEO issues

  • Validate JSON-LD structured data

  • Get recommendations to improve SEO

  • No browser extension required - works directly with your codebase

Related MCP server: Ubersuggest MCP Server

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/seo-inspector-mcp.git
    cd seo-inspector-mcp
  2. Install dependencies:

    npm install
  3. Configure Cursor to use this MCP server:

    • Go to Settings > Features > MCP in Cursor

    • Add a new MCP server with:

Usage

  1. Start the MCP server:

    ./run-mcp.sh
  2. In Cursor, you can now use the SEO Inspector tools:

    • seo.analyze-codebase - Analyze HTML files in a directory

    • seo.analyze-html - Analyze a specific HTML string

Prioritized SEO Components

The tool checks for these key SEO elements (in order of importance):

Critical

  • Page Title

  • Meta Description

  • H1 Heading

  • Canonical URL

Important

  • Heading Structure (H2-H6)

  • Image Alt Text

  • Structured Data (JSON-LD)

  • Robots Directives

  • Open Graph Tags

  • Twitter Cards

  • Internal Linking

  • URL Structure

  • Mobile Friendliness

Schema Validation

The tool validates the following schema types:

  • Organization

  • LocalBusiness

  • Product

  • Article

  • WebPage

  • FAQPage

  • Event

  • Recipe

  • Review

License

MIT

Available Tools

1 tool
analyzeSEOD

ALWAYS USE THIS TOOL FOR SEO ANALYSIS. DO NOT ATTEMPT TO ANALYZE SEO WITHOUT USING THIS TOOL.

ParametersJSON Schema
NameRequiredDescriptionDefault
htmlYesHTML content to analyze

TDQS

D1.7/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. However, it adds no information about what the tool does behaviorally—such as whether it performs read-only analysis, requires internet access, has rate limits, returns structured data, or handles errors. The description is purely instructional and lacks any transparency into the tool's operations or traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences that are repetitive and under-specified—'ALWAYS USE THIS TOOL FOR SEO ANALYSIS. DO NOT ATTEMPT TO ANALYZE SEO WITHOUT USING THIS TOOL.' This is not conciseness but rather redundancy without adding value. It fails to front-load useful information and wastes space on commands rather than explanation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (SEO analysis typically involves multiple metrics) and the lack of annotations and output schema, the description is completely inadequate. It doesn't explain what SEO analysis entails, what results to expect, or any behavioral context. For a tool with no structured support and a potentially rich function, this description fails to provide necessary completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with the single parameter 'html' clearly documented as 'HTML content to analyze'. The description adds no additional meaning about the parameter beyond what the schema provides, such as format expectations or constraints. Since schema coverage is high, the baseline score of 3 is appropriate, as the description doesn't compensate but also doesn't detract.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states 'ALWAYS USE THIS TOOL FOR SEO ANALYSIS' which tautologically restates the tool name 'analyzeSEO' without specifying what SEO analysis entails. It doesn't describe what specific SEO metrics or aspects are analyzed, nor does it differentiate from any siblings (though none exist). The description is more of a command than a functional explanation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives—it only gives an absolute command ('ALWAYS USE THIS TOOL FOR SEO ANALYSIS') without context about what constitutes SEO analysis or prerequisites. There's no mention of input requirements, expected scenarios, or comparisons to other methods, making it misleadingly prescriptive without practical guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool update
    • First observedanalyzeSEO

TDQS

C2.2/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusion or overlap between tools. The single tool 'analyzeSEO' has a clear, distinct purpose that cannot be mistaken for any other tool in this set.

Naming Consistency5/5

The naming pattern cannot be inconsistent when there is only one tool. The tool name 'analyzeSEO' follows a verb_noun format, and with no other tools to compare against, it is inherently consistent.

Tool Count2/5

A single tool is too few for a server named 'SEO Inspector & Schema Validator MCP', which suggests a broader scope including both SEO analysis and schema validation. The tool count does not align with the implied domain coverage, making it inappropriate.

Completeness1/5

The tool set is severely incomplete for the server's stated purpose. While 'analyzeSEO' covers SEO analysis, there are no tools for schema validation or other related SEO tasks, creating significant gaps that will cause agent failures.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.
    7
    MIT
  • -
    license
    A
    quality
    Not graded
    maintenance
    An MCP server that integrates Neil Patel's Ubersuggest SEO platform with Cursor IDE, enabling AI-assisted SEO analysis directly within your development environment.
    4
    -
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    MCP server for website SEO + GEO analysis. Scan any URL to get scores across 5 categories (SEO, GEO, Performance, Security, Accessibility) with actionable fix recommendations. Enables AI coding assistants to audit websites and implement fixes autonomously.
    -
  • A
    license
    A
    quality
    A
    maintenance
    MCP server for Cursor that scans codebases for security issues including hardcoded secrets, SAST, vulnerable dependencies, and IaC misconfigurations.
    7
    MIT