LocalSchema is an MCP server published by app.lovable.local-schema-beacon, hosted at local-schema-beacon.lovable.app. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 11 tools, including list_business_types, generate_schema, validate_schema, validate_page, get_embed_snippet.
Generate and validate LocalBusiness JSON-LD for local SEO. Free tools, no key needed.
16 connections through 4 shared values. Tap any node.
List the schema.org LocalBusiness subtypes LocalSchema supports (Dentist, Plumber, Restaurant, …). Use the most specific one as businessType.
No parameters.
{
"name": "list_business_types",
"title": "List business types",
"description": "List the schema.org LocalBusiness subtypes LocalSchema supports (Dentist, Plumber, Restaurant, …). Use the most specific one as businessType.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Generate LocalBusiness JSON-LD (schema.org) from business details and validate it against Google's rich result rules. Returns the JSON-LD, a ready-to-paste <script> tag and issues to fix. No API key needed.
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| Parameter | Type | Description |
|---|---|---|
| geo | object | |
| url | string | Website URL (https://…) |
| logo | string | |
| menu | string | |
| name * | string | Public business name |
| string | ||
| hasMap | string | |
| images | array | |
| rating | object | LocalSchema Pro — omitted from free output |
| sameAs | array | Google Business Profile, Yelp, Facebook, LinkedIn… profile URLs |
| slogan | string | |
| address | object | |
| reviews | array | LocalSchema Pro — omitted from free output |
| services | array | |
| legalName | string | |
| telephone | string | International format, e.g. +31 50 123 4567 |
| areaServed | array | |
| priceRange | string | e.g. €€ or €20-€80 |
| description | string | |
| businessType | string | schema.org type, e.g. Dentist, Plumber, Restaurant. See /business-types. |
| foundingDate | string | |
| openingHours | array | Regular hours. Days not listed are closed. Use two entries for split hours. |
| specialHours | array | Holiday exceptions (LocalSchema Pro — omitted from free output) |
| alternateName | string | |
| knowsLanguage | array | |
| servesCuisine | array | |
| paymentAccepted | array | |
| serviceAreaOnly | boolean | True for service-area businesses without a storefront (address is hidden) |
| medicalSpecialty | string | |
| currenciesAccepted | array | |
| acceptsReservations | boolean | |
| isAcceptingNewPatients | boolean |
{
"name": "generate_schema",
"title": "Generate LocalBusiness schema",
"description": "Generate LocalBusiness JSON-LD (schema.org) from business details and validate it against Google's rich result rules. Returns the JSON-LD, a ready-to-paste <script> tag and issues to fix. No API key needed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name"
],
"properties": {
"geo": {
"type": "object",
"required": [
"latitude",
"longitude"
],
"properties": {
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180
}
}
},
"url": {
"type": "string",
"maxLength": 2000,
"description": "Website URL (https://…)"
},
"logo": {
"type": "string",
"maxLength": 2000
},
"menu": {
"type": "string",
"maxLength": 2000
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Public business name"
},
"email": {
"type": "string",
"maxLength": 200
},
"hasMap": {
"type": "string",
"maxLength": 2000
},
"images": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2000
},
"maxItems": 20
},
"rating": {
"type": "object",
"required": [
"ratingValue",
"reviewCount"
],
"properties": {
"bestRating": {
"type": "number",
"exclusiveMinimum": 0
},
"ratingValue": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"reviewCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"description": "LocalSchema Pro — omitted from free output"
},
"sameAs": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2000
},
"maxItems": 30,
"description": "Google Business Profile, Yelp, Facebook, LinkedIn… profile URLs"
},
"slogan": {
"type": "string",
"maxLength": 200
},
"address": {
"type": "object",
"properties": {
"postalCode": {
"type": "string",
"maxLength": 20
},
"addressRegion": {
"type": "string",
"maxLength": 120
},
"streetAddress": {
"type": "string",
"maxLength": 200
},
"addressCountry": {
"type": "string",
"maxLength": 60,
"description": "ISO 3166-1 alpha-2, e.g. NL or US"
},
"addressLocality": {
"type": "string",
"maxLength": 120
}
}
},
"reviews": {
"type": "array",
"items": {
"type": "object",
"required": [
"author",
"rating"
],
"properties": {
"body": {
"type": "string",
"maxLength": 2000
},
"author": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"rating": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"datePublished": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
}
},
"maxItems": 20,
"description": "LocalSchema Pro — omitted from free output"
},
"services": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2000
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"price": {
"type": "number",
"minimum": 0
},
"priceMax": {
"type": "number",
"minimum": 0
},
"unitText": {
"type": "string",
"maxLength": 40
},
"priceType": {
"enum": [
"fixed",
"from",
"range"
],
"type": "string"
},
"description": {
"type": "string",
"maxLength": 500
}
}
},
"maxItems": 50
},
"legalName": {
"type": "string",
"maxLength": 200
},
"telephone": {
"type": "string",
"maxLength": 40,
"description": "International format, e.g. +31 50 123 4567"
},
"areaServed": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 50
},
"priceRange": {
"type": "string",
"maxLength": 30,
"description": "e.g. €€ or €20-€80"
},
"description": {
"type": "string",
"maxLength": 2000
},
"businessType": {
"type": "string",
"default": "LocalBusiness",
"maxLength": 60,
"description": "schema.org type, e.g. Dentist, Plumber, Restaurant. See /business-types."
},
"foundingDate": {
"type": "string",
"pattern": "^\\d{4}(-\\d{2}-\\d{2})?$"
},
"openingHours": {
"type": "array",
"items": {
"type": "object",
"required": [
"days"
],
"properties": {
"days": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Day names or ranges: \"Mo-Fr\", [\"Saturday\"]"
},
"opens": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"allDay": {
"type": "boolean",
"description": "Open 24 hours on these days"
},
"closes": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
}
}
},
"maxItems": 21,
"description": "Regular hours. Days not listed are closed. Use two entries for split hours."
},
"specialHours": {
"type": "array",
"items": {
"type": "object",
"required": [
"validFrom"
],
"properties": {
"label": {
"type": "string",
"maxLength": 80
},
"opens": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"closed": {
"type": "boolean"
},
"closes": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"validFrom": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"validThrough": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
}
},
"maxItems": 30,
"description": "Holiday exceptions (LocalSchema Pro — omitted from free output)"
},
"alternateName": {
"type": "string",
"maxLength": 200
},
"knowsLanguage": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40
},
"maxItems": 20
},
"servesCuisine": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60
},
"maxItems": 20
},
"paymentAccepted": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60
},
"maxItems": 20
},
"serviceAreaOnly": {
"type": "boolean",
"description": "True for service-area businesses without a storefront (address is hidden)"
},
"medicalSpecialty": {
"type": "string",
"maxLength": 80
},
"currenciesAccepted": {
"type": "array",
"items": {
"type": "string",
"maxLength": 3,
"minLength": 3
},
"maxItems": 10
},
"acceptsReservations": {
"type": "boolean"
},
"isAcceptingNewPatients": {
"type": "boolean"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Validate existing LocalBusiness structured data: paste JSON-LD, a <script type="application/ld+json"> tag or a whole HTML page. Reports errors, missing recommended fields and best-practice warnings. No API key needed.
| Parameter | Type | Description |
|---|---|---|
| code * | string | JSON-LD text, a script tag, or full page HTML |
{
"name": "validate_schema",
"title": "Validate schema markup",
"description": "Validate existing LocalBusiness structured data: paste JSON-LD, a <script type=\"application/ld+json\"> tag or a whole HTML page. Reports errors, missing recommended fields and best-practice warnings. No API key needed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 600000,
"minLength": 1,
"description": "JSON-LD text, a script tag, or full page HTML"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Fetch a public web page and audit its structured data: every JSON-LD block and type, the LocalBusiness markup's errors and warnings, LocalSchema embeds on the page and concrete recommendations. No API key needed.
| Parameter | Type | Description |
|---|---|---|
| url * | string | Public http(s) address, e.g. https://example.com/contact |
{
"name": "validate_page",
"title": "Validate a live page",
"description": "Fetch a public web page and audit its structured data: every JSON-LD block and type, the LocalBusiness markup's errors and warnings, LocalSchema embeds on the page and concrete recommendations. No API key needed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2000,
"minLength": 4,
"description": "Public http(s) address, e.g. https://example.com/contact"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Get the install snippet and live status for a LocalSchema hosted embed key (loc_… for one location, org_… for a client with several). Paste the script tag once; published updates reach the site automatically.
| Parameter | Type | Description |
|---|---|---|
| key * | string | Hosted embed key |
{
"name": "get_embed_snippet",
"title": "Get hosted embed snippet",
"description": "Get the install snippet and live status for a LocalSchema hosted embed key (loc_… for one location, org_… for a client with several). Paste the script tag once; published updates reach the site automatically.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"key"
],
"properties": {
"key": {
"type": "string",
"pattern": "^(?:loc|org)_[a-z0-9]{6,32}$",
"description": "Hosted embed key"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}List the agency's clients (brands) with their location counts, client-wide embed script and white-label report link. Needs a LocalSchema Pro API key in the request headers.
No parameters.
{
"name": "list_clients",
"title": "List clients",
"description": "List the agency's clients (brands) with their location counts, client-wide embed script and white-label report link. Needs a LocalSchema Pro API key in the request headers.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Create a client (brand) or update one by client_id, and optionally turn its white-label health report link on or off. Needs a LocalSchema Pro API key in the request headers.
| Parameter | Type | Description |
|---|---|---|
| name | string | Client (brand) name. Required when creating; omit to keep it when updating. |
| report | boolean | true turns the client's white-label health report link on, false turns it off. Omit to leave it. |
| website | string | Brand website; links every branch to one Organization in the client embed. When updating, omit to keep it or send "" to clear it. |
| client_id | string | Update this client. Omit to create one. |
| contact_name | string | Contact person. When updating, omit to keep it or send "" to clear it. |
| contact_email | string | Contact email. When updating, omit to keep it or send "" to clear it. |
{
"name": "save_client",
"title": "Create or update a client",
"description": "Create a client (brand) or update one by client_id, and optionally turn its white-label health report link on or off. Needs a LocalSchema Pro API key in the request headers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "Client (brand) name. Required when creating; omit to keep it when updating."
},
"report": {
"type": "boolean",
"description": "true turns the client's white-label health report link on, false turns it off. Omit to leave it."
},
"website": {
"type": "string",
"maxLength": 500,
"description": "Brand website; links every branch to one Organization in the client embed. When updating, omit to keep it or send \"\" to clear it."
},
"client_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Update this client. Omit to create one."
},
"contact_name": {
"type": "string",
"maxLength": 160,
"description": "Contact person. When updating, omit to keep it or send \"\" to clear it."
},
"contact_email": {
"type": "string",
"maxLength": 255,
"description": "Contact email. When updating, omit to keep it or send \"\" to clear it."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}List the business locations saved in the LocalSchema account: publish state, hosted embed script, website and latest health check score. Needs a LocalSchema Pro API key in the request headers.
| Parameter | Type | Description |
|---|---|---|
| client_id | string | Only this client's locations |
{
"name": "list_locations",
"title": "List saved locations",
"description": "List the business locations saved in the LocalSchema account: publish state, hosted embed script, website and latest health check score. Needs a LocalSchema Pro API key in the request headers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"client_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Only this client's locations"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Get one saved location: its business fields (in the same shape save_location accepts), the current JSON-LD, the published JSON-LD, validation issues and embed details. Needs a LocalSchema Pro API key in the request headers.
| Parameter | Type | Description |
|---|---|---|
| location_id * | string | Location id from list_locations |
{
"name": "get_location",
"title": "Get a saved location",
"description": "Get one saved location: its business fields (in the same shape save_location accepts), the current JSON-LD, the published JSON-LD, validation issues and embed details. Needs a LocalSchema Pro API key in the request headers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"location_id"
],
"properties": {
"location_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Location id from list_locations"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Save a business location to the LocalSchema account — create one, or update one by location_id (only the business fields you send change) — and optionally publish it to its hosted embed so the client's site updates without code changes. Needs a LocalSchema Pro API key in the request headers.
| Parameter | Type | Description |
|---|---|---|
| publish | boolean | Publish to the hosted embed now. Default false (saved as a draft). |
| business * | object | Business fields in the same shape as generate_schema (name, businessType, address, openingHours, services, …). When updating, only the fields you send change; address merges field by field, lists are replaced. |
| client_id | any | Assign to a client (see list_clients); null removes the assignment. Omit to keep the current client. |
| location_id | string | Update this location. Omit to create a new one (counts toward the plan's location limit). |
| website_url | any | Page where the hosted embed is installed; health checks scan it. Defaults to business.url. |
{
"name": "save_location",
"title": "Save a location",
"description": "Save a business location to the LocalSchema account — create one, or update one by location_id (only the business fields you send change) — and optionally publish it to its hosted embed so the client's site updates without code changes. Needs a LocalSchema Pro API key in the request headers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"business"
],
"properties": {
"publish": {
"type": "boolean",
"description": "Publish to the hosted embed now. Default false (saved as a draft)."
},
"business": {
"type": "object",
"description": "Business fields in the same shape as generate_schema (name, businessType, address, openingHours, services, …). When updating, only the fields you send change; address merges field by field, lists are replaced.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"client_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"description": "Assign to a client (see list_clients); null removes the assignment. Omit to keep the current client."
},
"location_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Update this location. Omit to create a new one (counts toward the plan's location limit)."
},
"website_url": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
],
"description": "Page where the hosted embed is installed; health checks scan it. Defaults to business.url."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Run a schema health check for a saved location: validates its markup, scans its website for the embed and conflicting hard-coded schema, detects unpublished changes and records the result in the dashboard and client reports. Needs a LocalSchema Pro API key in the request headers.
| Parameter | Type | Description |
|---|---|---|
| location_id * | string | Location id from list_locations |
{
"name": "run_health_check",
"title": "Run a health check",
"description": "Run a schema health check for a saved location: validates its markup, scans its website for the embed and conflicting hard-coded schema, detects unpublished changes and records the result in the dashboard and client reports. Needs a LocalSchema Pro API key in the request headers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"location_id"
],
"properties": {
"location_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Location id from list_locations"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}LocalSchema generates, validates and hosts LocalBusiness JSON-LD (schema.org structured data) for local businesses and the agencies that run their local SEO. Free tools, no key: list_business_types, generate_schema, validate_schema, validate_page, get_embed_snippet. Account tools (list_clients, save_client, list_locations, get_location, save_location, run_health_check) need a LocalSchema Pro API key sent as the HTTP header "Authorization: Bearer ls_…" or "X-API-Key: ls_…" in the MCP client's connection settings. Keys are created under Settings → API keys at https://local-schema-beacon.lovable.app/app/settings. Never ask for the key in chat and never pass it as a tool argument. Adding markup to a site: pick the most specific businessType (list_business_types), call generate_schema, fix every issue with severity error, insert script_tag into the page <head>, then call validate_page on the deployed URL. Managing client sites: save_location with publish: true, install the returned embed script_tag once on the client's site, then run_health_check. Later edits only need save_location with publish: true — the embed updates the site automatically. Opening hours use 24-hour HH:MM with day names or ranges ("Mo-Fr"); days not listed are closed; add two entries for split hours.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.