DoesAIKnowMyBusiness

How I built this

A case study of DoesAIKnowMyBusiness.com: a free tool that checks whether AI assistants recommend a local business, then writes a fix plan. Designed, built and shipped by Nick Castro in October 2026.

The problem

More customers ask ChatGPT, Gemini and other assistants “who’s the best roofer near me?” instead of scrolling Google. An assistant names only a handful of businesses. Most local business owners have no idea whether they’re on that list, or whether AI has their address, phone and hours right.

Who it’s for

How it works

  1. Ranks the business. Gemini, with Google Search grounding, is asked “Who are the best [trade] in [city]?” and the answer is parsed to see whether the business is named and at what position.
  2. Fact-checks what AI knows. A second grounded call asks what AI knows about the business (address, phone, hours, reviews), and the answers are compared with the business’s own website.
  3. Audits the website. HTTPS, schema.org business markup, robots.txt rules for AI crawlers, tap-to-call phone links, title and description, and how fast the page responds.
  4. Scores and plans. A 0–100 score with the math shown, the competitors AI named instead, and a prioritized fix plan with ready-to-paste JSON-LD.

Each step streams to the browser as it runs, so users watch the agent work instead of staring at a spinner.

Architecture

BrowserStatic HTML + vanilla JS, English / Spanish
Vercel static siteServes the page, CDN cached
GA4Privacy-safe events only

POST business name, city, type, website ↓ · steps stream back ↑

/api/check · Vercel FunctionRuns the 4 steps, scores 0–100, builds the fix plan
Gemini + Google Search grounding“Best [trade] in [city]?” and what AI knows about the business
Website audit fetchHTTPS, schema.org, robots.txt, phone links, speed
Upstash RedisRate limits and daily cap, leads, share snapshots (30 days)
How a check flows: the browser calls one Vercel Function, which asks Gemini, audits the website and uses Redis for limits, leads and share links.

What the report looks like

Sample report top: an example business, Sample Roofing Co., scores 27 out of 100 with a score ring, a “Want me to fix this for you?” box and the score breakdown by category.
Top of the sample report: the score and how it adds up. Fictional example business, captured from the live demo.
Sample report website check and fix plan: pass and fail tiles for HTTPS, schema markup, AI crawlers and phone links, then a numbered fix plan with high-impact items first.
Website check and the start of the fix plan, ordered by impact.

Stack

Upstash Redis handles three jobs: per-IP rate limits and the daily cap, saved leads, and share-link snapshots. No framework, no build step, and no client-side dependencies.

How I used AI to build it

I directed AI coding assistants working on a dedicated development machine. I set the goals and constraints, wrote the specs for each change, and reviewed every diff. Every change shipped through a GitHub pull request with automated tests (Node’s built-in test runner) before Vercel deployed it to production. The AI did much of the typing. Product decisions, review and the merge button stayed with me.

Key decisions and tradeoffs

Results so far

Only facts I can verify. No made-up numbers.

Oct 2026Shipped
GitHubShipped through a series of reviewed pull requests
LiveOn a custom domain, sitemap submitted in Search Console
131Visitors in one week
8Checks run by 3 people in that week

Traffic figures are one week of GA4 data, not a monthly or ongoing average.

Work with me

I’m Nick Castro, based in Chicago. I build websites, AI automations and workflows.