Repository avatar
Other Tools
v1.0.1
active

uk-fsa-hygiene-ratings-mcp

io.github.theluckystrike/uk-fsa-hygiene-ratings-mcp

UK Food Standards Agency API for food hygiene ratings, inspection scores, and local authorities.

Documentation

uk-fsa-hygiene-ratings-mcp

UK Food Standards Agency (FSA) hygiene inspection ratings, establishment compliance scores, local authority directories, and business type classifications over Model Context Protocol (MCP). Hospitality groups, retail auditors, and food supply-chain teams can query api.ratings.food.gov.uk with zero API keys. Setup takes seconds.

Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

https://uk-fsa-hygiene-ratings-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
search_uk_food_establishmentsSearch UK food businesses by name, address, local authority, business type, or rating
get_uk_establishment_ratingRetrieve hygiene, structural, and management scores for a specific FHRS establishment ID
list_uk_local_authoritiesList UK local authorities with their FSA authority IDs and establishment counts
list_uk_business_typesList official UK FSA commercial food business type IDs and categories
get_uk_rating_scalesList official UK FSA hygiene rating scale keys, names, and scheme types

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "uk-fsa-hygiene-ratings": {
      "url": "https://uk-fsa-hygiene-ratings-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run this server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries api.ratings.food.gov.uk with the required x-api-version: 2 header, a polite User-Agent (mcpstamp-uk-fsa-hygiene-ratings/1.0.1 (hello@mcpstamp.com)), and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.