I built a Chrome extension that fact-checks AI restaurant recommendations against government data

Dev.to / 4/3/2026

💬 OpinionDeveloper Stack & InfrastructureTools & Practical Usage

Key Points

  • The author built the free Chrome extension “Commit” to fact-check AI restaurant recommendations in Norway by comparing them with verified government registries and inspection records.
  • The extension detects when AI assistants mention a Norwegian business and then fetches trust data via the Commit API to reduce reliance on unverified web reviews and SEO content.
  • It displays a floating panel with years in operation, financial health from mandatory annual filings, and food safety inspection outcomes from Norway’s Food Safety Authority.
  • The article emphasizes that AI recommendations can be misleading when online content is outdated (e.g., closed businesses) or biased, and positions government data as a more current and accountable source.
  • It provides an API example for querying trust information (e.g., by business name) to support the inline fact-checking workflow.

ChatGPT said the restaurant was great. The government data told a different story.

That disconnect is what led me to build Commit — a free Chrome extension that pulls verified data from public registries and displays it inline when AI recommends a business.

The problem

AI assistants are increasingly the first stop for restaurant recommendations. Ask ChatGPT or Perplexity "best sushi in Oslo" and you'll get confident suggestions with summaries that sound authoritative.

But those summaries are built from web content — reviews, blog posts, SEO pages. None of it is verified. A restaurant that closed two years ago still has glowing reviews online. A place with multiple food safety violations might have a 4.8-star average.

Government databases tell a different story. In Norway, every business files mandatory annual accounts (Brønnøysund register). Every restaurant gets food safety inspections (Mattilsynet). This data is public, current, and doesn't come from someone who got a free meal.

What the extension does

When you're browsing ChatGPT, Perplexity, Claude, or Gemini and the AI mentions a Norwegian business, the extension recognizes it and fetches trust data from the Commit API.

A floating panel appears with:

  • Years of operation — has this business survived multiple economic cycles, or did it open six months ago?
  • Financial health — revenue trend and profit from mandatory annual filings
  • Food safety record — inspection results from Mattilsynet, Norway's Food Safety Authority

Here's the data for a real example:

curl "https://api.getcommit.dev/v1/trust?name=Maaemo"
{
  "business_name": "Maaemo AS",
  "years_in_operation": 13,
  "financial_health": "stable",
  "food_safety": "passed",
  "trust_score": 91,
  "confidence": 95
}

The extension runs that query automatically when AI mentions "Maaemo" in a response, and shows the result inline — no copy-paste, no tab-switching.

How to install (60 seconds)

The extension isn't on the Chrome Web Store yet (pending review), but sideloading takes about a minute:

  1. Go to getcommit.dev/extension and download the .tar.gz
  2. Unpack it
  3. In Chrome/Brave/Edge: open chrome://extensions, enable Developer Mode
  4. Click Load unpacked and select the folder

Works on Chrome, Brave, and Edge (Manifest V3).

Why public registry data matters

Reviews are opinions. Financial filings are legal obligations. A Norwegian business that hasn't filed accounts in two years has a compliance problem — that's a fact, not an opinion.

Food safety inspection results are even cleaner: a government inspector visited, and here's what they found. No SEO, no incentive to inflate, no "my cousin gave this place 5 stars".

This is the gap between AI confidence and real-world reliability. AI sounds authoritative about everything. The extension shows you what's actually verified.

Current scope and what's next

Right now: Norwegian businesses only (AS, ANS, DA entity types). The data sources — Brønnøysund, Mattilsynet — are Norway-specific.

The plan is to expand as equivalent public registries become available in other countries. The UK Companies House, US state business registries, FDA inspection records — the data exists, it just needs to be connected.

The underlying API is also open. If you want to query businesses directly without the extension:

curl "https://api.getcommit.dev/v1/trust?name=Kontrast+Restaurant"

Extension page: getcommit.dev/extension

Source: github.com/piiiico/proof-of-commitment

Curious what other public data sources would be useful to add. Food safety databases in other countries, court records, licensing data — what would you actually want to see next to an AI recommendation?