Local SEO

Local Business Schema

/local-schema

Generate LocalBusiness JSON-LD schema markup with all recommended properties. Includes opening hours, service areas, accepted payments, and department details.

Get this skill

Install all free SEO skills with one command:

curl -fsSL https://raw.githubusercontent.com/ccforseo/seo-skills/main/install.sh | bash

Or install this skill manually:

$ git clone https://github.com/ccforseo/seo-skills.git
$ cp -r seo-skills/local-schema ~/.claude/skills/local-schema
View on GitHubFree ยท MIT License ยท 8 skills included

What it does

The Local Business Schema skill generates comprehensive LocalBusiness JSON-LD structured data for your website. It includes all recommended properties: business name, address, phone, opening hours, geo-coordinates, service area, accepted payment methods, price range, and department details for multi-department businesses. The output follows Google's guidelines for local business rich results.

Key features

  • Generates LocalBusiness schema with all recommended properties
  • Supports sub-types (Restaurant, MedicalBusiness, LegalService, etc.)
  • Includes opening hours with special hours and holiday exceptions
  • Adds service area markup for service-area businesses
  • Generates department schema for multi-department locations

How to use Local Business Schema

  1. Run the command

    Type /local-schema with your business details: name, address, phone, category, and hours. The skill generates the complete JSON-LD markup.

  2. Review the output

    The generated schema includes all required and recommended properties. Review for accuracy, especially hours, service area boundaries, and category sub-type.

  3. Deploy to your site

    Add the JSON-LD to your location pages. For multi-location businesses, generate separate schema for each location with unique details.

When to use it

Adding local schema to a new business website

Updating schema after changing business hours or services

Generating per-location schema for multi-location businesses

Adding service area schema for businesses without a storefront

Frequently asked questions

Which LocalBusiness sub-type should I use?

Use the most specific sub-type that matches your business: Restaurant, MedicalBusiness, LegalService, AutomotiveBusiness, etc. Google provides richer features for specific sub-types. The skill recommends the best sub-type based on your business category.

Do I need separate schema for each business location?

Yes. Each physical location should have its own LocalBusiness schema with unique address, phone, and hours. The skill generates individual schema blocks for each location you specify.

How does local schema affect Google Maps and local pack results?

Local schema helps Google verify and enhance your business information. Accurate schema with opening hours, geo-coordinates, and service areas reinforces your GBP data and can improve how your business appears in Maps and local search results.

Should service-area businesses use LocalBusiness schema?

Yes. Service-area businesses should use LocalBusiness schema with the areaServed property instead of a physical address. The skill generates the correct markup with GeoCircle or GeoShape to define your service area boundaries.

Get all 50 skills

The SEO Command Center includes every skill in this library plus Python data fetchers, CLAUDE.md configs, and report templates. One-time purchase.

Browse all skills