Skip to content

sharozdawa/schema-gen

Repository files navigation

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

  • ✨ 12 Schema Types β€” Person, Organization, Product, FAQ, Article, LocalBusiness, Event, WebSite, BreadcrumbList, HowTo, Review, VideoObject
  • πŸ‘€ Live JSON-LD Preview β€” See your structured data rendered in real-time as you fill in fields
  • πŸ“‹ One-Click Copy β€” Copy generated JSON-LD to clipboard instantly
  • βœ… Google Rich Results Ready β€” Output is validated against Google's structured data requirements
  • πŸ€– MCP Server β€” Use with Claude Desktop, Cursor, or any MCP-compatible AI assistant
  • πŸ›‘οΈ Schema Validation β€” Validate existing JSON-LD for errors and warnings
  • ⚑ No Dependencies β€” Clean, standalone web app with zero external runtime dependencies

Supported Schema Types

Type Description Google Rich Result
Person People, professionals, public figures βœ… Knowledge Panel
Organization Companies, non-profits, institutions βœ… Logo, Knowledge Panel
Product Products with pricing and reviews βœ… Product Rich Snippet
FAQPage Frequently asked questions βœ… FAQ Rich Result
Article Blog posts, news articles βœ… Article Rich Result
LocalBusiness Physical stores, restaurants, services βœ… Local Business Panel
Event Concerts, conferences, meetups βœ… Event Rich Result
WebSite Websites with search functionality βœ… Sitelinks Search Box
BreadcrumbList Navigation breadcrumb trails βœ… Breadcrumb Rich Result
HowTo Step-by-step instructions βœ… How-to Rich Result
Review Product or service reviews βœ… Review Snippet
VideoObject Videos with metadata βœ… 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

Tool Description
generate_schema Generate JSON-LD for any of the 12 schema types
list_schema_types List all supported types with their fields
generate_person_schema Quick Person schema generation
generate_product_schema Quick Product schema with pricing
generate_faq_schema Quick FAQ schema from Q&A pairs
generate_article_schema Quick Article schema for blog posts
generate_organization_schema Quick Organization schema
validate_schema Validate 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

Feature schema-gen TechnicalSEO.com Merkle Schema Generator
Schema types 12 8 6
Live preview Yes Yes No
MCP Server Yes No No
Self-hostable Yes No No
Open source Yes No No
Price Free Free Free

More Open Source SEO Tools

Tool Description
awesome-seo-mcp-servers Curated list of SEO MCP servers and agent skills
robotstxt-ai Visual robots.txt manager for AI crawlers
indexnow-mcp Instant URL indexing via IndexNow
ai-visibility AI brand visibility tracker

License

MIT


Built by Sharoz Dawa

GitHub Twitter

About

AI-powered Schema.org JSON-LD markup generator. 12 schema types with live preview. Web app + MCP server.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors