mcpField
S
schema-gen

schema-gen

Local
github.com/sharozdawaBusiness & Marketing1Updated 32w ago

About schema-gen

schema-gen is a web app and MCP server for generating Schema.org JSON-LD, aimed at site owners and AI assistants. It supports 12 schema types with live preview and validation of existing markup.

Key features

  1. 01Generate JSON-LD for 12 schema types
  2. 02Preview markup as fields change
  3. 03Copy generated JSON-LD
  4. 04Validate existing markup
  5. 05Google structured-data requirements

Use cases

  1. 01Create Product or FAQ structured data
  2. 02Add JSON-LD to site pages
  3. 03Check markup for errors and warnings

MCP support

The MCP server exposes tools to generate JSON-LD across 12 types, list supported types, and validate existing markup.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"sharozdawa-schema-gen": {
"command": "npx",
"args": [
"-y",
"schema-gen-mcp"
]
}
}
}
Run commandnpx -y schema-gen-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmschema-gen-mcp1.0.0

Tools

8

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
typeenumYesThe Schema.org type to generatePerson | Organization | Product | FAQPage | Article | LocalBusiness | Event | WebSite | BreadcrumbList | HowTo | Review | VideoObject
fieldsobjectYesKey-value pairs of schema fields and their values

Details

From the project README

README image

npm version GitHub stars License Schema Gen MCP server

Generate Schema.org JSON-LD structured data markup for any schema type.
Web app with live preview + MCP server for AI-powered schema generation.


Features

  • :sparkles: 12 Schema Types — Person, Organization, Product, FAQ, Article, LocalBusiness, Event, WebSite, BreadcrumbList, HowTo, Review, VideoObject
  • :eyes: Live JSON-LD Preview — See your structured data rendered in real-time as you fill in fields
  • :clipboard: One-Click Copy — Copy generated JSON-LD to clipboard instantly
  • :white_check_mark: Google Rich Results Ready — Output is validated against Google's structured data requirements
  • :robot: MCP Server — Use with Claude Desktop, Cursor, or any MCP-compatible AI assistant
  • :shield: Schema Validation — Validate existing JSON-LD for errors and warnings
  • :zap: No Dependencies — Clean, standalone web app with zero external runtime dependencies

Supported Schema Types

TypeDescriptionGoogle Rich Result
PersonPeople, professionals, public figures:white_check_mark: Knowledge Panel
OrganizationCompanies, non-profits, institutions:white_check_mark: Logo, Knowledge Panel
ProductProducts with pricing and reviews:white_check_mark: Product Rich Snippet
FAQPageFrequently asked questions:white_check_mark: FAQ Rich Result
ArticleBlog posts, news articles:white_check_mark: Article Rich Result
LocalBusinessPhysical stores, restaurants, services:white_check_mark: Local Business Panel
EventConcerts, conferences, meetups:white_check_mark: Event Rich Result
WebSiteWebsites with search functionality:white_check_mark: Sitelinks Search Box
BreadcrumbListNavigation breadcrumb trails:white_check_mark: Breadcrumb Rich Result
HowToStep-by-step instructions:white_check_mark: How-to Rich Result
ReviewProduct or service reviews:white_check_mark: Review Snippet
VideoObjectVideos with metadata:white_check_mark: Video Rich Result

Screenshots

Screenshots coming soon.


Getting Started

Web App
# Clone the repository
git clone https://github.com/sharozdawa/schema-gen.git
cd schema-gen

# Install dependencies
npm install

# Start the development server
npm run dev

Open http://localhost:3000 in your browser.


MCP Server

The MCP server lets AI assistants generate Schema.org markup directly. Install it in your preferred AI tool:

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "schema-gen": {
      "command": "npx",
      "args": ["-y", "schema-gen-mcp"]
    }
  }
}
Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "schema-gen": {
      "command": "npx",
      "args": ["-y", "schema-gen-mcp"]
    }
  }
}
Available MCP Tools
ToolDescription
generate_schemaGenerate JSON-LD for any of the 12 schema types
list_schema_typesList all supported types with their fields
generate_person_schemaQuick Person schema generation
generate_product_schemaQuick Product schema with pricing
generate_faq_schemaQuick FAQ schema from Q&A pairs
generate_article_schemaQuick Article schema for blog posts
generate_organization_schemaQuick Organization schema
validate_schemaValidate existing JSON-LD markup

Example Output

{
  "@context": "https://schema.org",
  "@type": "Person",
  "name": "Jane Doe",
  "jobTitle": "Software Engineer",
  "url": "https://janedoe.com",
  "worksFor": {
    "@type": "Organization",
    "name": "Acme Corp"
  },
  "sameAs": [
    "https://twitter.com/janedoe",
    "https://linkedin.com/in/janedoe"
  ]
}

Why Schema Gen vs Alternatives

Featureschema-genTechnicalSEO.comMerkle Schema Generator
Schema types1286
Live previewYesYesNo
MCP ServerYesNoNo
Self-hostableYesNoNo
Open sourceYesNoNo
PriceFreeFreeFree

More Open Source SEO Tools

ToolDescription
awesome-seo-mcp-serversCurated list of SEO MCP servers and agent skills
robotstxt-aiVisual robots.txt manager for AI crawlers
indexnow-mcpInstant URL indexing via IndexNow
ai-visibilityAI brand visibility tracker

License

MIT


Built by Sharoz Dawa

GitHub Twitter

README image

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.