schema-gen-mcp
v1.0.1
Published
MCP server for generating Schema.org JSON-LD markup for Person, Organization, Product, FAQ, and more
Readme
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-mcpTools
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, VideoObjectfields(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 namejobTitle— Job title or roleurl— Website URLimage— Image URLemail— Email addresssameAs— Array of social profile URLsdescription— Short bioworksFor— Organization namebirthDate— Date of birth (YYYY-MM-DD)nationality— Nationality
generate_product_schema
Shortcut for generating Product schema markup.
Parameters:
name(required) — Product namedescription— Product descriptionimage— Image URLbrand— Brand namesku— SKU identifierprice— PricepriceCurrency— Currency code (USD, EUR, etc.)availability— InStock, OutOfStock, PreOrder, or Discontinuedurl— 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 titleauthor— Author namedatePublished— Publication date (ISO 8601)dateModified— Last modified date (ISO 8601)image— Image URLpublisher— Publisher namedescription— Summary or excerpturl— Article URL
generate_organization_schema
Shortcut for generating Organization schema markup.
Parameters:
name(required) — Organization nameurl— Website URLlogo— Logo URLdescription— DescriptionfoundingDate— Founding date (YYYY-MM-DD)founder— Founder namesameAs— 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 startLicense
MIT
