XooCode(){

Structured Data MCP Server

Validate JSON-LD structured data from any MCP-compatible AI agent.

Install the server, set your API key, and your agent gets two validation tools. Every finding includes a fix suggestion your agent can apply directly.

Installation

Add the server to your MCP configuration. It runs via npx, no global install needed.

Claude Code CLI

claude mcp add xoocode-structured-data -- npx xoocode-structured-data-mcp

Manual .mcp.json config

{
  "mcpServers": {
    "xoocode-structured-data": {
      "command": "npx",
      "args": ["xoocode-structured-data-mcp"],
      "env": {
        "XOOCODE_API_KEY": "xoo_your_key_here"
      }
    }
  }
}

Replace xoo_your_key_here with your API key. Sign up at xoocode.com/signup and create a key at Account > API Keys. The free tier includes 50 requests per month.

Tools

validate_url

Fetch a URL and validate all JSON-LD blocks found on the page.

Input example

{ "url": "https://example.com/product-page" }

Returns a structured report with per-block errors and warnings, plus markdown fix instructions your agent can apply directly.

validate_raw

Validate raw JSON-LD markup without fetching a URL.

Input example

{ "jsonld": "{\"@context\":\"https://schema.org\",\"@type\":\"Product\",\"name\":\"Widget\"}" }

How it works

1

Install the server

Run the CLI command or add the config to your .mcp.json. The server runs locally via npx.
2

Agent discovers tools

MCP auto-discovery exposes validate_url and validate_raw to your agent. No manual configuration needed.
3

Validate and fix

Ask your agent to check any URL. It calls the API, gets findings with fix suggestions, and can apply fixes directly in your codebase.

Features

Works with any MCP client

Claude, Cursor, Windsurf, and any editor that supports the Model Context Protocol.

Two validation tools

validate_url fetches and checks a live page. validate_raw checks markup you paste directly.

Fix suggestions included

Every finding comes with a concrete fix. Your agent can apply them directly in your code.

Rate limit aware

The server reports your API quota so your agent knows when to pause.

Free tier included

50 requests per month at no cost. Pro tier (19.99/month) gives 500 requests per day.

Open source

MIT licensed. Inspect the source, fork it, or contribute on GitHub.