food-hygiene-mcp

food-hygiene-mcp

Query UK food hygiene ratings via MCP. Enables searching establishments by name, location, or rating.

Category
Visit Server

README

Food Hygiene MCP Server

Query UK food hygiene ratings via MCP.

PyPI Python 3.14+ License: MIT MCP

Demo

Demo GIF

Quick Start

Works with any MCP-compatible client (Claude Desktop, VS Code, Cursor, etc.). Example for Claude Desktop:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Option 1: Via PyPI (recommended)

{
  "mcpServers": {
    "food-hygiene": {
      "command": "uvx",
      "args": ["food-hygiene-mcp"]
    }
  }
}

Option 2: From source

git clone https://github.com/w4sspr/food-hygiene-mcp.git
cd food-hygiene-mcp
uv sync
{
  "mcpServers": {
    "food-hygiene": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/food-hygiene-mcp", "food-hygiene-mcp"]
    }
  }
}

Troubleshooting: If you get spawn uvx ENOENT or spawn uv ENOENT, Claude Desktop can't find the executable. Use the full path instead (run which uvx or which uv to find it, e.g., /Users/you/.local/bin/uvx).

Restart Claude Desktop, then try:

"What's the hygiene rating for Dishoom in London?"

Example Prompts

  • "What's the hygiene rating for Dishoom in London?"
  • "Find restaurants in Manchester with at least a 4-star rating"
  • "Show me takeaways in SW1A 1AA"
  • "Get full inspection details for establishment 1662145"
  • "Find cafes within 2 miles of 51.5074, -0.1278"

Tools

search_establishments

Search for food establishments by name, location, or rating.

Parameter Type Description
name string Business name (partial match)
address string Street or area
postcode string UK postcode
latitude float Latitude for geo-search
longitude float Longitude for geo-search
radius_miles float Max distance in miles (default: 1)
business_type string "restaurant", "takeaway", "pub", "cafe", "hotel", etc.
min_rating int Minimum hygiene rating (0-5)
max_rating int Maximum hygiene rating (0-5)

get_establishment_details

Get full details for a specific establishment by FHRS ID.

Returns: rating breakdown (hygiene, structural, confidence in management), inspection date, local authority info.

Limitations

  • England, Wales, and Northern Ireland only — Scotland uses a different system
  • No aggregate statistics — can't calculate "% of 5-star restaurants" without fetching all data
  • Limited business types — ~15 common types mapped; niche categories may not work
  • Geo-search requires coordinates — city names alone won't trigger distance filtering

Roadmap

  • [ ] get_local_authority_stats — aggregate ratings by area (requires pagination through all establishments)
  • [ ] Scotland support via FHIS API
  • [ ] Cache business type mappings

See Also

Why I built this: MCP integration with UK public sector data APIs. See also: uk-charities-mcp for Charity Commission data.

Data Source

FSA Food Hygiene Rating Scheme API — free, public, no authentication required.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured