How ChatGPT Decides Which Lawyer to Recommend

Someone in your city just typed "who's the best personal injury lawyer near me?" into ChatGPT. The AI responded with three names. Yours wasn't one of them. Why?

Understanding how AI recommendation engines work is the first step to appearing in their responses. This isn't magic — it's a system with identifiable inputs and predictable outputs.

AI Doesn't Search Like Google

Google returns a ranked list of web pages. You click through and decide. AI platforms work differently: they synthesize an answer from multiple sources and present it as a direct recommendation. There's no page 2. There's often no link at all. The AI simply names firms it trusts.

This means the competition isn't for rankings — it's for inclusion. Either the AI recommends you or it doesn't. There's no "position 7" in a ChatGPT response.

The Four Signals AI Uses

Based on our analysis of thousands of AI-generated legal recommendations across ChatGPT, Claude, Perplexity, Grok, and Google AI, four categories of signals determine which firms get named:

1. Can the AI Find You?

Before any recommendation can happen, AI crawlers need physical access to your website. If your robots.txt file blocks GPTBot, ClaudeBot, or PerplexityBot, those platforms literally cannot read your site. They'll recommend firms they can see instead. Our data shows 35.7% of law firm websites accidentally block at least one major AI crawler.

2. Can the AI Understand You?

Finding your site isn't enough. The AI needs to understand what you do, where you practice, what areas you cover, and why you're credible. This is where structured data comes in: JSON-LD schema markup, llms.txt files, FAQ pages, and clear content hierarchy. If the AI has to guess what you do, it'll recommend a competitor whose site makes it obvious.

3. Does the AI Trust You?

AI platforms weigh trust signals heavily. HTTPS, security headers, consistent citations across authoritative sources, review data, and professional credentials all contribute. A firm cited by state bar associations, legal directories, and news outlets carries more weight than a firm with a beautiful website but no external validation.

4. Is Your Content Fresh and Relevant?

AI platforms increasingly use real-time web access. Perplexity searches live. ChatGPT with browsing retrieves current pages. Google AI Overviews pull from the latest index. Firms that publish regularly — case updates, legal guides, practice area explainers — signal ongoing authority. A site last updated in 2023 loses to one updated last week.

The Compounding Problem

These signals compound. A firm that blocks AI crawlers AND lacks structured data AND has no external citations is essentially invisible across all four dimensions. Fixing one dimension while ignoring the others produces minimal improvement — like optimizing your headline while your site returns a 403 to every AI bot that visits.

This is why holistic Generative Engine Optimization (GEO) auditing matters. Checking one signal in isolation misses the interaction effects between them.

What You Can Do Today

The fastest wins, in order of impact:

Check your robots.txt right now. Visit yourfirm.com/robots.txt in a browser. If you see "Disallow: /" or any rule blocking GPTBot, ClaudeBot, or PerplexityBot, you've found the problem. Fix it today.

Add an llms.txt file. This emerging standard tells AI exactly what your firm does. Almost no law firms have one yet — adding it puts you ahead of 97% of competitors.

Implement JSON-LD schema. LegalService, Attorney, FAQPage, and LocalBusiness schemas give AI the structured data it needs to recommend you with confidence.

Run a GEO audit. A comprehensive audit tests all of these signals simultaneously and shows you exactly where you stand versus competitors who are already appearing in AI responses.

See How AI Scores Your Firm

Run Luna's free 9-point technical audit. Get your AI Readiness Score in 60 seconds.

Scan My Site →