UK Food Hygiene Ratings MCP Server
Search official UK Food Standards Agency hygiene ratings by name, postcode or council.
UK Food Hygiene Ratings scores 66 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 5 tools. Filed under Search, Web scraping. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "jamesmarshall543210-sudo-uk-food-hygiene-mcp": { "url": "https://uk-food-hygiene-ratings.mcpize.run/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools5Tool docs quality grade B
All capabilitiesGet one business by fhrsId.
list_authoritiestoolList FSA local authorities and their IDs. Optional query (partial name) and maxResults (default 400).
List FSA business types and their IDs. Optional query (partial name) and maxResults (default 50).
Businesses whose rating date falls within the last days (default 30), using the same filters including rating range and nearby search. It is stateless and does not store a snapshot. The FSA API cannot sort by date, so it scans at most 500 m
Search by name, postcode (address text match), localAuthority (name or ID), businessType (name or ID), optional FHRS minRating / maxRating (0–5), and optional nearby search with latitude, longitude and maxDistanceMiles (default 2, max 15).
About
UK Food Hygiene Ratings — MCP server
An MCP server (TypeScript, Streamable HTTP, plus optional stdio) for official UK Food Standards Agency hygiene ratings (FHRS in England, Wales and Northern Ireland, and FHIS in Scotland). It uses the free public FSA API (api.ratings.food.gov.uk) and needs no FSA API key.
Version 0.2.0. Search can filter by FHRS rating and find businesses near a location. There are also lookup tools for councils and business types. Existing tools and arguments still work.
You can run this repository locally, or use the hosted server on MCPize.
This project is a companion to the Apify Actor UK Food Hygiene Rating Monitor (FSA), which is better for scheduled snapshots and detecting removed businesses. Nothing in this repository is a secret, an API token, or a credential.
Hosted server
- Listing: uk-food-hygiene-ratings on MCPize
- MCP endpoint (Streamable HTTP):
https://uk-food-hygiene-ratings.mcpize.run/mcp
Hosted prices (live, unchanged): $0.02 per tool call, or $9 per month. Clients must send a MCPize API key:
{
"mcpServers": {
"uk-food-hygiene-ratings": {
"url": "https://uk-food-hygiene-ratings.mcpize.run/mcp",
"headers": {
"Authorization": "Bearer YOUR_MCPIZE_API_KEY"
}
}
}
}
Get a key from the MCPize listing. Do not commit API keys.
Tools
| Tool | What it does |
|---|---|
search_establishments | Search by name, postcode (address text match), localAuthority (name or ID), businessType (name or ID), optional FHRS minRating / maxRating (0–5), and optional nearby search with latitude, longitude and maxDistanceMiles (default 2, max 15). sort can be Relevance, rating, desc_rating, alpha, desc_alpha or distance. Nearby searches default to distance. maxResults defaults to 25 (max 200). Needs at least one of name, postcode, local authority, business type, or latitude and longitude. |
get_establishment | Get one business by fhrsId. |
recent_rating_changes | Businesses whose rating date falls within the last days (default 30), using the same filters including rating range and nearby search. It is stateless and does not store a snapshot. The FSA API cannot sort by date, so it scans at most 500 matches and returns complete: false for larger areas. Narrow by postcode or business type for full coverage. It cannot detect removed businesses; the Apify Actor snapshot diff does that. |
list_authorities | List FSA local authorities and their IDs. Optional query (partial name) and maxResults (default 400). |
list_business_types | List FSA business types and their IDs. Optional query (partial name) and maxResults (default 50). |
Each establishment result has these fields: fhrsId, name, businessType, address, postcode, rating, ratingDate, newRatingPending, localAuthority, scheme, sourceUrl, plus an attribution note. Nearby results also include distanceMiles when the FSA returns a distance. Phone numbers, emails and score breakdowns are not included.
Rating filters apply to FHRS scores 0–5. When a rating filter is set, non-numeric ratings (for example Scottish FHIS Pass, Exempt, or Awaiting Inspection) are left out.
Example calls
{"name": "search_establishments", "arguments": {"postcode": "LS1 4AP"}}
{"name": "search_establishments", "arguments": {"localAuthority": "Leeds", "businessType": "Takeaway/sandwich shop", "maxRating": 2, "maxResults": 10}}
{"name": "search_establishments", "arguments": {"latitude": 53.7997, "longitude": -1.5492, "maxDistanceMiles": 1, "maxResults": 10}}
{"name": "get_establishment", "arguments": {"fhrsId": 1781401}}
{"name": "recent_rating_changes", "arguments": {"postcode": "NP12", "days": 30}}
{"name": "list_authorities", "arguments": {"query": "Caerphilly"}}
{"name": "list_business_types", "arguments": {"query": "Takeaway"}}
Run locally
npm install && npm run build
npm start # http://localhost:8080/mcp (PORT env var respected)
node dist/index.js --stdio # stdio for desktop MCP clients
npm test # SDK client test against the running HTTP server
The local server talks to the public FSA API directly. No API key is required. Optional environment variables are listed in .env.example (PORT, NODE_ENV).
Other UK open-data tools
- UK Food Hygiene Rating Monitor (FSA) — scheduled snapshot monitoring, including removed businesses
- UK Companies House Compliance Monitor
- UK House Price Index by Local Authority
- UK bank holiday planner — free n8n template
Licence and attribution
Example code and documentation in this repository: MIT, copyright James Marshall 2026.
The ratings themselves are public sector information licensed under the Open Government Licence v3.0. Source: Food Standards Agency, https://ratings.food.gov.uk. See ATTRIBUTION.md. Ratings reflect the standard at the date of inspection.
This project is independent and is not affiliated with or endorsed by the Food Standards Agency, Apify, MCPize or n8n. It uses no FHRS/FHIS logos or official rating images.
Frequently asked questions
What is UK Food Hygiene Ratings MCP Server?
Search official UK Food Standards Agency hygiene ratings by name, postcode or council.
How do I install UK Food Hygiene Ratings MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. UK Food Hygiene Ratings MCP Server connects to the remote endpoint https://uk-food-hygiene-ratings.mcpize.run/mcp, so there is nothing to install locally.
Is UK Food Hygiene Ratings MCP Server free and open source?
Yes. UK Food Hygiene Ratings MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does UK Food Hygiene Ratings MCP Server support remote (HTTP) connections?
Yes. UK Food Hygiene Ratings MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does UK Food Hygiene Ratings MCP Server provide?
UK Food Hygiene Ratings MCP Server provides 5 tools, including get_establishment, list_authorities, list_business_types, and recent_rating_changes. See the full tool list for descriptions and parameters.
How is UK Food Hygiene Ratings MCP Server's trust score calculated?
UK Food Hygiene Ratings MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.