npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@gera-services/mcp-gera-eats

v1.0.1

Published

GeraEats MCP server — look up UK food hygiene ratings, city hygiene profiles, and the best/worst rated places to eat from real FSA FHRS/FHIS data. Offline, no auth. A Gera Systems product.

Readme

GeraEats MCP Server

A Gera Systems product

An MCP server that lets AI agents — Claude Desktop, ChatGPT with tools, Cursor, Windsurf, or any MCP client — look up UK food hygiene ratings, profile a city's food safety, and find the cleanest (or worst-rated) places to eat, fully offline.

It ships the real FSA Food Hygiene Rating dataset that powers GeraEats: 607,906 establishments across 360 UK local authorities, crawled from ratings.food.gov.uk under the Open Government Licence v3.0. England, Wales & Northern Ireland use the FHRS 0–5 star scheme; Scotland uses the FHIS Pass / Improvement-Required scheme — both are handled. No backend, no network, no auth — every answer is computed locally from on-disk data, so it is safe to run anywhere.

Contains public sector information licensed under the Open Government Licence v3.0. Ratings are a point-in-time snapshot; the live record lives at ratings.food.gov.uk.

Tools

| Tool | What it does | |------|--------------| | list_authorities | List/search the 360 UK local authorities covered, with each authority's slug, name, scheme (FHRS/FHIS) and establishment count. Use first to find the right city name. | | lookup_food_hygiene_rating | Find an establishment's hygiene rating by (partial) name within a city/authority — star rating, address, postcode, business type and last inspection date. | | get_city_hygiene_stats | Full hygiene profile for a city: total establishments, % rated, average rating, 0–5 star distribution, 5-star and 0-star shares, latest inspection date (FHIS Pass/Improvement breakdown for Scotland). | | find_top_rated_restaurants | The best- (or, order: "worst", worst-) rated real establishments in a city, optionally filtered by business type (restaurant, takeaway, cafe, pub, …). | | compare_city_hygiene | Compare 2–8 cities side by side — average rating, % 5-star, low-rated count — ranked cleanest-first. |

A typical agent flow: list_authoritiesget_city_hygiene_stats for a city → find_top_rated_restaurants to pick where to eat, or lookup_food_hygiene_rating to check a specific place, or compare_city_hygiene across cities.

Install & run

# Run directly (no global install) once published to npm:
npx -y @gera-services/mcp-gera-eats

# Or from this repo:
cd packages/mcp-gera-eats
npm run extract-data   # extracts the FHRS dataset from geraeats-web (one-time)
npm run build          # tsc --noCheck + copy dataset -> dist/
node bin/cli.js        # starts on stdio
npm run smoke          # initialize + tools/list + real tools/call over stdio

Client configuration

Claude Desktop / Claude Code (claude_desktop_config.json)

{
  "mcpServers": {
    "gera-eats": {
      "command": "npx",
      "args": ["-y", "@gera-services/mcp-gera-eats"]
    }
  }
}

Local (unpublished) variant — point at the built CLI:

{
  "mcpServers": {
    "gera-eats": {
      "command": "node",
      "args": ["/absolute/path/to/Gera/packages/mcp-gera-eats/bin/cli.js"]
    }
  }
}

On macOS, claude_desktop_config.json lives at ~/Library/Application Support/Claude/claude_desktop_config.json. Restart the client after editing, then ask: "What's the food hygiene rating profile for Leeds?" or "Compare restaurant hygiene in Birmingham vs Manchester."

Data & licensing

  • Source: Food Standards Agency Food Hygiene Rating Scheme (FHRS) and Food Hygiene Information Scheme (FHIS, Scotland) — https://ratings.food.gov.uk.
  • Licence: Contains public sector information licensed under the Open Government Licence v3.0.
  • Snapshot: the bundled dataset is a point-in-time crawl; regenerate with npm run extract-data against an updated geraeats-web dataset.

GeraEats provides this for orientation. Always confirm a current rating against the live FSA record before relying on it.


A Gera Systems product.