Lovable · Easiest — just paste the prompt

Lovable SEO: llms.txt, Schema and What AI Crawlers See

Lovable builds your site with AI, so you can add the files with an ordinary prompt. No manual file editing. The prompts are below.

Option for Claude Code and Cursor — the MCP server

If you're using Claude Code or Cursor alongside Lovable, install geo-optimizer-mcp — it creates the fix files on request. Install: claude mcp add geo-optimizer -- npx -y geo-optimizer-mcp (Claude Code). Otherwise, follow the prompt-based guide below.

What we'll add:
  • Organization Schema — AI can read what your business does
  • FAQ Schema — the questions and answers on your page, in a form AI can read
  • robots.txt — allow GPTBot, ClaudeBot, PerplexityBot
  • Specifics and freshness — prices, facts and update dates on the page itself; markup does not replace them
  • llms.txt — a short summary of the site for AI agents; no proven effect on AI answers
0

Generate your fix files first

  1. Go to causabi.com
  2. Enter your Lovable site URL (or lovable.app preview URL)
  3. Copy the generated Schema.org, FAQ Schema, llms.txt, and robots.txt
1

Add Schema.org — paste this prompt in Lovable

Copy the prompt below, replace the schema placeholder with your actual Schema from Causabi, and send it to Lovable's AI chat.

Prompt for Lovable
Add this JSON-LD structured data to the <head> of every page (in index.html or the root layout). This is so AI crawlers can read the business facts: <script type="application/ld+json"> [PASTE YOUR ORGANIZATION SCHEMA FROM CAUSABI HERE] </script> Also add this FAQ Schema to the homepage <head>: <script type="application/ld+json"> [PASTE YOUR FAQ SCHEMA FROM CAUSABI HERE] </script>
Where Lovable puts it

Lovable will typically add it to index.html in the <head> section, or to your root layout component. Both work for Schema.org.

2

Update robots.txt

Prompt for Lovable
Update the public/robots.txt file (create it if it doesn't exist) with this content. This allows AI search crawlers to index the site: User-agent: * Allow: / User-agent: GPTBot Allow: / User-agent: ClaudeBot Allow: / User-agent: PerplexityBot Allow: / User-agent: Google-Extended Allow: /
3

Add llms.txt

Prompt for Lovable
Create a file public/llms.txt with this content. llms.txt is a short summary of the site for AI agents: [PASTE YOUR LLMS.TXT CONTENT FROM CAUSABI HERE]
4

Deploy and verify

  1. Click «Publish» in Lovable to deploy the changes
  2. Check your-site.com/robots.txt and your-site.com/llms.txt
  3. Go to causabi.com → run a new check. An AI score of 70 or more is Good
  4. Validate Schema: validator.schema.org

Check your own site right here

Enter your domain — we’ll show your AI score and the biggest thing keeping ChatGPT and other AI engines from reading your site.

Updated:

Check your site and preview the files for free

The check and a preview of the files are free. The files pack is $19 once per site (included in paid plans): Schema.org, FAQ Schema, llms.txt, and robots.txt tailored to your specific site, ready to paste into Lovable.

Check my site
Lovable SEO — llms.txt, Schema and What AI Crawlers See