schema-gen-mcp
Generate Schema.org JSON-LD markup for 12 types including Person, Product, and FAQ.
README
<p align="center"> <img src="https://capsule-render.vercel.app/api?type=waving&color=0:4F46E5,100:7C3AED&height=220§ion=header&text=Schema%20Gen&fontSize=80&fontColor=ffffff&animation=fadeIn&fontAlignY=35&desc=Generate%20Schema.org%20markup%20in%20seconds&descSize=20&descAlignY=55&descColor=E0E7FF" width="100%" /> </p>
<p align="center"> <a href="https://www.npmjs.com/package/schema-gen-mcp"><img src="https://img.shields.io/npm/v/schema-gen-mcp?style=for-the-badge&color=4F46E5&labelColor=1E1B4B" alt="npm version" /></a> <a href="https://github.com/sharozdawa/schema-gen/stargazers"><img src="https://img.shields.io/github/stars/sharozdawa/schema-gen?style=for-the-badge&color=7C3AED&labelColor=1E1B4B" alt="GitHub stars" /></a> <a href="https://github.com/sharozdawa/schema-gen/blob/main/LICENSE"><img src="https://img.shields.io/github/license/sharozdawa/schema-gen?style=for-the-badge&color=6366F1&labelColor=1E1B4B" alt="License" /></a> </p>
<p align="center"> <strong>Generate Schema.org JSON-LD structured data markup for any schema type.</strong><br/> Web app with live preview + MCP server for AI-powered schema generation. </p>
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
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 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
<p align="center"> Built by <strong>Sharoz Dawa</strong> </p>
<p align="center"> <a href="https://github.com/sharozdawa"><img src="https://img.shields.io/badge/GitHub-sharozdawa-181717?style=for-the-badge&logo=github" alt="GitHub" /></a> <a href="https://twitter.com/AISEOSharoz"><img src="https://img.shields.io/badge/Twitter-@AISEOSharoz-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white" alt="Twitter" /></a> </p>
<img src="https://capsule-render.vercel.app/api?type=waving&color=0:4F46E5,100:7C3AED&height=120§ion=footer" width="100%" />
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.