schema-gen-mcp
The schema-gen-mcp server enables AI assistants to generate and validate Schema.org JSON-LD structured data markup for SEO optimization.
Generate structured data for 12 Schema.org types: Create JSON-LD markup for Person, Organization, Product, FAQPage, Article, LocalBusiness, Event, WebSite, BreadcrumbList, HowTo, Review, and VideoObject by providing a type and key-value field pairs
List supported schema types: Retrieve all supported schema types with their available fields and descriptions
Quickly generate common schemas:
Person — name, job title, email, image, social profiles, organization, birth date, nationality
Product — pricing, currency, brand, SKU, availability, image, description
FAQPage — from an array of question-and-answer pairs
Article — headline, author, publisher, publication/modified date
Organization — name, URL, logo, founder, founding date, description, social profiles
Validate existing JSON-LD: Check markup for errors, missing required fields, improper
@context, invalid@type, and other common issuesGoogle Rich Results compatibility: Output validated against Google's structured data requirements for rich snippets
Generates Schema.org JSON-LD structured data markup that is validated against Google's structured data requirements to support Rich Results such as Knowledge Panels, FAQ results, and Product snippets.
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
Related MCP server: ai-visibility-mcp
Supported Schema Types
Type | Description | Google Rich Result |
Person | People, professionals, public figures | :white_check_mark: Knowledge Panel |
Organization | Companies, non-profits, institutions | :white_check_mark: Logo, Knowledge Panel |
Product | Products with pricing and reviews | :white_check_mark: Product Rich Snippet |
FAQPage | Frequently asked questions | :white_check_mark: FAQ Rich Result |
Article | Blog posts, news articles | :white_check_mark: Article Rich Result |
LocalBusiness | Physical stores, restaurants, services | :white_check_mark: Local Business Panel |
Event | Concerts, conferences, meetups | :white_check_mark: Event Rich Result |
WebSite | Websites with search functionality | :white_check_mark: Sitelinks Search Box |
BreadcrumbList | Navigation breadcrumb trails | :white_check_mark: Breadcrumb Rich Result |
HowTo | Step-by-step instructions | :white_check_mark: How-to Rich Result |
Review | Product or service reviews | :white_check_mark: Review Snippet |
VideoObject | Videos 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 devOpen 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 JSON-LD for any of the 12 schema types |
| List all supported types with their fields |
| Quick Person schema generation |
| Quick Product schema with pricing |
| Quick FAQ schema from Q&A pairs |
| Quick Article schema for blog posts |
| Quick Organization 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 |
Curated list of SEO MCP servers and agent skills | |
Visual robots.txt manager for AI crawlers | |
Instant URL indexing via IndexNow | |
AI brand visibility tracker |
License
MIT
Available Tools
8 toolsgenerate_article_schemaA
Generate an Article JSON-LD schema for blog posts, news articles, or other written content.
Inputs: headline (required), url, image, author, +4 more.
generate_faq_schemaB
Generate a FAQPage JSON-LD schema from a list of question-answer pairs.
Inputs: questions (required).
generate_organization_schemaB
Generate an Organization JSON-LD schema for companies, non-profits, or other organizations.
Inputs: name (required), url, logo, sameAs, +3 more.
generate_person_schemaA
Generate a Person JSON-LD schema with common fields like name, job title, social profiles, and more.
Inputs: name (required), url, email, image, +6 more.
generate_product_schemaB
Generate a Product JSON-LD schema with pricing, brand, availability, and other product details.
Inputs: name (required), sku, url, brand, +5 more.
generate_schemaA
Generate JSON-LD structured data for any Schema.org type. Provide the schema type and a set of key-value field pairs.
Inputs: type (required), fields (required).
list_schema_typesA
List all supported Schema.org types with their available fields and descriptions.
Inputs: no named parameters.
validate_schemaA
Validate an existing JSON-LD schema. Checks for required fields, proper @context, valid @type, and common issues.
Inputs: json (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct schema type or function (generation for specific types, generic generation, listing, validation) with no overlapping purposes, making it easy for an agent to select the correct tool.
All tool names follow a consistent verb_noun snake_case pattern (e.g., generate_article_schema, list_schema_types, validate_schema), ensuring predictability and readability.
With 8 tools, the set is well-scoped for generating, listing, and validating JSON-LD schemas; it covers essential functionality without being bloated or insufficient.
The tool surface provides generation for common schema types, a generic generator for any type, type listing, and validation—covering the full lifecycle of creating and checking schemas with no obvious gaps.
Maintenance
Related MCP Connectors
Generate and check schema.org JSON-LD for Google rich results from Claude.
Generate SEO structured data: JSON-LD schema, robots.txt, sitemaps, hreflang, Open Graph, meta.
Generate and validate LocalBusiness JSON-LD for local SEO. Free tools, no key needed.
VISEON's Schema.org knowledge graph: products, services, people, FAQs and terms, from viseon.io
Related MCP Servers
- AlicenseAqualityDmaintenanceSubmit URLs for instant indexing via IndexNow and Google Indexing API644 npm2MIT
- AlicenseAqualityDmaintenanceTrack brand visibility across ChatGPT, Perplexity, Claude, and Gemini.611MIT
- AlicenseAqualityDmaintenanceSERP-based content scoring and optimization with 7 SEO categories.61MIT
- AlicenseAqualityDmaintenanceEnables SEO page generation with competitor research and Schema.org structured data. Provides tools to search competitors for a keyword and generate high-quality SEO content with FAQPage schema.26 npmMIT