@buildbench/schema-generator-mcp
v1.0.0
Published
MCP server that generates proper Schema.org JSON-LD markup for local businesses, law firms, dental practices, contractors, and other service businesses. Pairs with @buildbench/seo-defect-scanner-mcp to find AND fix structured-data defects from inside Curs
Maintainers
Readme
Schema Generator MCP
Generate Schema.org JSON-LD markup for local businesses, law firms, dental practices, contractors, and other service businesses. Works with Cursor, Claude Desktop, Continue, and any MCP-compatible client.
Pairs with @buildbench/seo-defect-scanner-mcp — find defects with the scanner, fix them by generating proper schema with this tool.
What it generates
18 supported Schema.org business types:
| Type | Use for |
|---|---|
| LocalBusiness | Generic local business (default if no specific type fits) |
| LegalService | Law firm, attorney office |
| Attorney | Individual attorney (sole practitioner) |
| Dentist | Dental practice |
| MedicalBusiness | Medical clinic, doctor's office |
| HVACBusiness | HVAC contractor |
| Plumber | Plumbing contractor |
| RoofingContractor | Roofing contractor |
| VeterinaryCare | Vet clinic, animal hospital |
| HealthAndBeautyBusiness | Med spa, aesthetics, salon |
| InsuranceAgency | Insurance broker / agency |
| FinancialService | Financial advisor, mortgage broker |
| RealEstateAgent | Real estate brokerage |
| Optician | Optometry clinic |
| ChildCare | Daycare, preschool |
| ExerciseGym | Gym, pilates, yoga studio |
| AccountingService | CPA, accounting firm |
| LandscapingBusiness | Landscaping contractor |
Each generator returns a ready-to-paste <script type="application/ld+json"> block with proper @context: "https://schema.org", full PostalAddress, OpeningHoursSpecification, aggregateRating, geo coordinates, areaServed, and sameAs social profiles.
Installation
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"schema-generator": {
"command": "npx",
"args": ["-y", "@buildbench/schema-generator-mcp"]
}
}
}Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows):
{
"mcpServers": {
"schema-generator": {
"command": "npx",
"args": ["-y", "@buildbench/schema-generator-mcp"]
}
}
}Restart your editor after adding the config.
Usage examples
"Generate LegalService schema for a PI law firm in Mississauga at 123 Main St, phone 905-555-1234, open Mon-Fri 9am-5pm."
"I'm building a dental practice site. Generate Dentist schema with 4.8 stars from 200 reviews."
"List all supported schema types."
The MCP returns the JSON-LD block + Google Rich Results Test validation URL + a link to the productized fix at buildbench.ca/audit if the user wants the full deploy done for them.
Why proper schema matters
Most service businesses in 2026 have at least one of these schema defects:
og:locale="en_US"on Canadian businesses- Empty
PostalAddressblock ("address": {}) - Placeholder
"priceRange": "$" - Wrong
@context(http://schema.orginstead ofhttps://schema.org) - Missing
LocalBusinesstype entirely (only genericOrganization) - Dead Google Plus
sameAslinks
This MCP generates schema that avoids all of those. The 2026-correct defaults are:
@context: "https://schema.org"(with HTTPS, not HTTP)addressCountry: "CA"for Canadian businesses- No
priceRangefield if not provided (better than a placeholder) - No
sameAsfield if not provided - Real
OpeningHoursSpecificationblocks (not flat"openingHours": "..."strings)
Validation
After pasting the generated schema into your page, validate at:
- Google Rich Results Test: https://search.google.com/test/rich-results
- Schema.org Validator: https://validator.schema.org/
Both are free, instant.
License
MIT.
Built by
Build Bench — solo operator in Mississauga, Ontario building productized SEO and AI lead-capture tools for Canadian service businesses.
Contact: [email protected]
Companion tools
- Find defects: @buildbench/seo-defect-scanner-mcp — scan any URL for missing or malformed schema
- Web scanner: buildbench.ca/seo-defect-scanner
- Productized fix: buildbench.ca/audit — $497 CAD, 72-hour delivery, refund guarantee
