DEV Community

James Marshall
James Marshall

Posted on

Three ways to watch official UK food hygiene ratings: Apify, MCP and n8n

You can look up one restaurant for free on ratings.food.gov.uk. That is the right place for a one-off check. It does not scale if you want every takeaway in a postcode, an email when a rating drops, or an assistant that can answer "what is the hygiene rating of this café?"

The Food Standards Agency publishes the same official ratings as open data. Below is a short tour of three tools I built on that API, and when to use each one. All three talk to the official UK Food Hygiene Ratings API (the public Food Standards Agency API) and need no FSA key. The records are FHRS data in England, Wales and Northern Ireland, and FHIS data in Scotland.

This is independent work. It is not affiliated with or endorsed by the FSA.

1. Apify: a UK restaurant hygiene checker you can schedule

UK Food Hygiene Rating Monitor (FSA) is an Apify Actor. You give it a postcode, a council or a business type, and it returns clean rows: name, rating, rating date, address and a link to the official FSA page.

The useful part is food hygiene monitoring. Set a monitorKey, schedule the same input, and turn on onlyChanges. Later runs only return businesses that are new, re-rated or removed. You pay per result: $1.00 per 1,000 rows, so a weekly monitor that finds a handful of changes costs a fraction of a cent.

Example input:

{
  "postcode": "LS1 4AP",
  "maxResults": 50,
  "monitorKey": "ls1",
  "onlyChanges": false
}
Enter fullscreen mode Exit fullscreen mode

Use this when you want a spreadsheet, an API dataset, or a scheduled snapshot. It is the only one of the three that can detect removed businesses, because it keeps a snapshot.

Related Actors from the same store page: a Companies House compliance monitor and the UK House Price Index.

2. MCP: ask an assistant

uk-food-hygiene-ratings on MCPize exposes the same official data as MCP tools for Claude, Cursor, VS Code or any MCP client.

  • search_establishments — name, postcode, council or business type
  • get_establishment — one business by FHRS ID
  • recent_rating_changes — businesses whose rating date falls in the last N days (a date window, not a stored snapshot)

Pricing, unchanged: $0.02 per tool call if you want to pay as you go, or $9 a month if you will use it regularly and want a predictable bill. Cancel the monthly plan any time. Start with pay-per-call unless you already know you will make hundreds of calls a month.

Use this when you want an assistant to look up a rating in a conversation, not when you need a weekly digest or a snapshot diff.

3. n8n: a free email and Slack digest

If you already run n8n, you can import a free official-library workflow that watches a list of postcodes or councils and sends a digest when something changes.

The hygiene workflow classifies changes (for example a drop to a low rating, or a new business awaiting inspection), can write a Google Sheets log, and ships with output nodes disabled until you add your own credentials. The first run is a baseline; alerts start from the next run. It does not report businesses that disappear — use the Apify Actor if you need that.

Use this when you want the alert in your inbox or Slack, on a schedule, without writing code.

How they fit together

Need Tool
Spreadsheet or scheduled snapshot, including removals Apify Actor
"What's the rating of this café?" in an assistant MCPize MCP server
Email / Slack / Sheets digest n8n template

Contains public sector information licensed under the Open Government Licence v3.0. Source: Food Standards Agency, https://ratings.food.gov.uk. Ratings show the standard at the date of inspection.

Top comments (0)