Schema Gen MCP Server
MCP server for generating Schema.org JSON-LD structured data markup. Supports Person, Organization, Product, FAQ, Article, LocalBusiness, Event, WebSite, BreadcrumbList, HowTo, Review, and VideoObject schemas.
Installation
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"schema-gen": {
"command": "npx",
"args": ["-y", "schema-gen-mcp"]
}
}
}
Cursor
Add to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"schema-gen": {
"command": "npx",
"args": ["-y", "schema-gen-mcp"]
}
}
}
Manual / npx
npx schema-gen-mcp
Tools
generate_schema
Generate JSON-LD for any of the 12 supported schema types. Pass the type and a fields object with key-value pairs.
Parameters:
type (required) — One of: Person, Organization, Product, FAQPage, Article, LocalBusiness, Event, WebSite, BreadcrumbList, HowTo, Review, VideoObject
fields (required) — Object with schema field key-value pairs
list_schema_types
List all supported schema types with their available fields and descriptions. No parameters required.
generate_person_schema
Shortcut for generating Person schema markup.
Parameters:
name (required) — Full name
jobTitle — Job title or role
url — Website URL
image — Image URL
email — Email address
sameAs — Array of social profile URLs
description — Short bio
worksFor — Organization name
birthDate — Date of birth (YYYY-MM-DD)
nationality — Nationality
generate_product_schema
Shortcut for generating Product schema markup.
Parameters:
name (required) — Product name
description — Product description
image — Image URL
brand — Brand name
sku — SKU identifier
price — Price
priceCurrency — Currency code (USD, EUR, etc.)
availability — InStock, OutOfStock, PreOrder, or Discontinued
url — Product page URL
generate_faq_schema
Shortcut for generating FAQPage schema markup.
Parameters:
questions (required) — Array of {question, answer} objects
generate_article_schema
Shortcut for generating Article schema markup.
Parameters:
headline (required) — Article title
author — Author name
datePublished — Publication date (ISO 8601)
dateModified — Last modified date (ISO 8601)
image — Image URL
publisher — Publisher name
description — Summary or excerpt
url — Article URL
generate_organization_schema
Shortcut for generating Organization schema markup.
Parameters:
name (required) — Organization name
url — Website URL
logo — Logo URL
description — Description
foundingDate — Founding date (YYYY-MM-DD)
founder — Founder name
sameAs — Array of social profile URLs
validate_schema
Validate an existing JSON-LD schema string. Checks for required fields, proper @context, valid @type, and common issues.
Parameters:
json (required) — JSON-LD string to validate
Development
npm install
npm run build
npm start
License
MIT