🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

schema-gen-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schema-gen-mcp

MCP server for generating Schema.org JSON-LD markup for Person, Organization, Product, FAQ, and more

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
27
-18.18%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 21 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts