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%" />
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。