{"_id":"@buildbench/schema-generator-mcp","name":"@buildbench/schema-generator-mcp","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@buildbench/schema-generator-mcp","version":"1.0.0","description":"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","type":"module","main":"dist/index.js","bin":{"schema-generator-mcp":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"keywords":["mcp","model-context-protocol","claude","cursor","seo","schema","schema-org","json-ld","structured-data","buildbench"],"author":{"name":"Harjas Chahal","email":"harjas@buildbench.ca","url":"https://buildbench.ca"},"license":"MIT","homepage":"https://buildbench.ca/audit","repository":{"type":"git","url":"git+https://github.com/buildbench/schema-generator-mcp.git"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.4"},"devDependencies":{"@types/node":"^22.0.0","typescript":"^5.6.0"},"engines":{"node":">=18"},"types":"./dist/index.d.ts","_id":"@buildbench/schema-generator-mcp@1.0.0","bugs":{"url":"https://github.com/buildbench/schema-generator-mcp/issues"},"_nodeVersion":"24.13.1","_npmVersion":"11.12.0","dist":{"integrity":"sha512-3RngdRKlA4BeeBEypEiIa7/7RpIn6A6HC/ZmmycLHnndOGx0eTrTnAfBIQ63YhonDVVj98tPFhE6V9z/8QIGxQ==","shasum":"53927331e869739cdef939aeefb607d9d17a7e5e","tarball":"https://registry.npmjs.org/@buildbench/schema-generator-mcp/-/schema-generator-mcp-1.0.0.tgz","fileCount":6,"unpackedSize":32576,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID1UusSkrJ4oCHA/kjBu5eAEhMoYkYczZh5o/yrxb41fAiBuM2Cxz5kk+pR5+nxuLdf/hF/vzfhk+KspkjIlyO5F9Q=="}]},"_npmUser":{"name":"builderbench","email":"aubreystone84@gmail.com"},"directories":{},"maintainers":[{"name":"builderbench","email":"aubreystone84@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema-generator-mcp_1.0.0_1779750822714_0.8379864916471149"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-25T23:13:42.568Z","1.0.0":"2026-05-25T23:13:42.863Z","modified":"2026-05-25T23:13:43.073Z"},"maintainers":[{"name":"builderbench","email":"aubreystone84@gmail.com"}],"description":"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","homepage":"https://buildbench.ca/audit","keywords":["mcp","model-context-protocol","claude","cursor","seo","schema","schema-org","json-ld","structured-data","buildbench"],"repository":{"type":"git","url":"git+https://github.com/buildbench/schema-generator-mcp.git"},"author":{"name":"Harjas Chahal","email":"harjas@buildbench.ca","url":"https://buildbench.ca"},"bugs":{"url":"https://github.com/buildbench/schema-generator-mcp/issues"},"license":"MIT","readme":"# Schema Generator MCP\n\nGenerate 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.\n\nPairs with [@buildbench/seo-defect-scanner-mcp](https://www.npmjs.com/package/@buildbench/seo-defect-scanner-mcp) — find defects with the scanner, fix them by generating proper schema with this tool.\n\n## What it generates\n\n18 supported Schema.org business types:\n\n| Type | Use for |\n|---|---|\n| `LocalBusiness` | Generic local business (default if no specific type fits) |\n| `LegalService` | Law firm, attorney office |\n| `Attorney` | Individual attorney (sole practitioner) |\n| `Dentist` | Dental practice |\n| `MedicalBusiness` | Medical clinic, doctor's office |\n| `HVACBusiness` | HVAC contractor |\n| `Plumber` | Plumbing contractor |\n| `RoofingContractor` | Roofing contractor |\n| `VeterinaryCare` | Vet clinic, animal hospital |\n| `HealthAndBeautyBusiness` | Med spa, aesthetics, salon |\n| `InsuranceAgency` | Insurance broker / agency |\n| `FinancialService` | Financial advisor, mortgage broker |\n| `RealEstateAgent` | Real estate brokerage |\n| `Optician` | Optometry clinic |\n| `ChildCare` | Daycare, preschool |\n| `ExerciseGym` | Gym, pilates, yoga studio |\n| `AccountingService` | CPA, accounting firm |\n| `LandscapingBusiness` | Landscaping contractor |\n\nEach 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.\n\n## Installation\n\n### Cursor\n\nAdd to `~/.cursor/mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"schema-generator\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@buildbench/schema-generator-mcp\"]\n    }\n  }\n}\n```\n\n### Claude Desktop\n\nAdd to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%/Claude/claude_desktop_config.json` (Windows):\n\n```json\n{\n  \"mcpServers\": {\n    \"schema-generator\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@buildbench/schema-generator-mcp\"]\n    }\n  }\n}\n```\n\nRestart your editor after adding the config.\n\n## Usage examples\n\n> \"Generate LegalService schema for a PI law firm in Mississauga at 123 Main St, phone 905-555-1234, open Mon-Fri 9am-5pm.\"\n\n> \"I'm building a dental practice site. Generate Dentist schema with 4.8 stars from 200 reviews.\"\n\n> \"List all supported schema types.\"\n\nThe 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.\n\n## Why proper schema matters\n\nMost service businesses in 2026 have at least one of these schema defects:\n\n- `og:locale=\"en_US\"` on Canadian businesses\n- Empty `PostalAddress` block (`\"address\": {}`)\n- Placeholder `\"priceRange\": \"$\"`\n- Wrong `@context` (`http://schema.org` instead of `https://schema.org`)\n- Missing `LocalBusiness` type entirely (only generic `Organization`)\n- Dead Google Plus `sameAs` links\n\nThis MCP generates schema that avoids all of those. The 2026-correct defaults are:\n- `@context: \"https://schema.org\"` (with HTTPS, not HTTP)\n- `addressCountry: \"CA\"` for Canadian businesses\n- No `priceRange` field if not provided (better than a placeholder)\n- No `sameAs` field if not provided\n- Real `OpeningHoursSpecification` blocks (not flat `\"openingHours\": \"...\"` strings)\n\n## Validation\n\nAfter pasting the generated schema into your page, validate at:\n\n- **Google Rich Results Test**: https://search.google.com/test/rich-results\n- **Schema.org Validator**: https://validator.schema.org/\n\nBoth are free, instant.\n\n## License\n\nMIT.\n\n## Built by\n\n[Build Bench](https://buildbench.ca) — solo operator in Mississauga, Ontario building productized SEO and AI lead-capture tools for Canadian service businesses.\n\nContact: harjas@buildbench.ca\n\n## Companion tools\n\n- **Find defects**: [@buildbench/seo-defect-scanner-mcp](https://www.npmjs.com/package/@buildbench/seo-defect-scanner-mcp) — scan any URL for missing or malformed schema\n- **Web scanner**: [buildbench.ca/seo-defect-scanner](https://buildbench.ca/seo-defect-scanner)\n- **Productized fix**: [buildbench.ca/audit](https://buildbench.ca/audit) — $497 CAD, 72-hour delivery, refund guarantee\n","readmeFilename":"README.md","_rev":"1-a467fee9deb1b0555ba7166214c0ee96"}