# hfsscalculator.co.uk

> hfsscalculator.co.uk is a free MCP server for legal and government. MCP server exposing an HFSS nutrient profiling calculator and enquiry handoff for UK food. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Web, API
- **Website:** https://hfsscalculator.co.uk
- **MCP Registry name:** uk.co.hfsscalculator/site
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-11-27

## About

Scores a food or drink under the UK nutrient profiling model 2004/05 from its nutrition per 100g, returning A points, C points and the final score, and flagging whether the product counts as less healthy. The same calculator is available to AI clients through a remote MCP endpoint rather than only as a web form.

The server is run by the site's operator and draws its thresholds from the model's published technical guidance, including the 4-point food and 1-point drink cut-offs and the protein rule for products scoring 11 or more A points. Beyond scoring, it offers an enquiry tool that passes a request to a human specialist, so it is better understood as a calculator with a route to a person than as a fully automated advisory service.

It suits food manufacturers, retailers and reformulation teams in the UK who want to check products against HFSS thresholds from inside an AI assistant. It is not legal or nutritional advice, and the operator's site makes clear that enquiries are answered by an individual rather than a firm.

## Features

- **Nutrient profiling score:** Calculates A points, C points and the net score from nutrition values entered per 100g.
- **HFSS classification:** Reports whether a food or drink is classed as less healthy under the model's thresholds.
- **Guidance-based thresholds:** Applies cut-offs taken from the nutrient profiling model's technical guidance.
- **Human enquiry handoff:** Includes an enquiry tool that passes a request to a person for follow-up.
- **Remote MCP endpoint:** Served over streamable HTTP so AI clients can call the calculator directly.

## Good for

- Check whether a product's nutrition profile falls in the HFSS category before a promotion decision
- Test recipe changes against the nutrient profiling threshold during reformulation
- Ask an AI assistant to score a food or drink from its per-100g nutrition figures
- Request a specialist review of a product score through the enquiry tool

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http site https://hfsscalculator.co.uk/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "site": {
      "type": "http",
      "url": "https://hfsscalculator.co.uk/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://hfsscalculator.co.uk/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "site": {
      "url": "https://hfsscalculator.co.uk/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "site": {
      "type": "http",
      "url": "https://hfsscalculator.co.uk/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://hfsscalculator.co.uk/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add site --url https://hfsscalculator.co.uk/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.site]
url = "https://hfsscalculator.co.uk/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "site": {
      "httpUrl": "https://hfsscalculator.co.uk/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http site https://hfsscalculator.co.uk/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "site": {
      "serverUrl": "https://hfsscalculator.co.uk/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "site": {
      "url": "https://hfsscalculator.co.uk/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "site": {
      "type": "streamableHttp",
      "url": "https://hfsscalculator.co.uk/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "site": {
      "url": "https://hfsscalculator.co.uk/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "site": {
      "url": "https://hfsscalculator.co.uk/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "site": {
      "url": "https://hfsscalculator.co.uk/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "site": {
      "url": "https://hfsscalculator.co.uk/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://hfsscalculator.co.uk/mcp
```

Enter a Name (for example "hfsscalculator.co.uk"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for a bearer token. Add it under HTTP headers as Authorization: Bearer <your token>.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "site": {
      "type": "http",
      "url": "https://hfsscalculator.co.uk/mcp"
    }
  }
}
```

## FAQ

### What score makes a product HFSS?

The guidance classes a food as less healthy where it scores 4 points or more, and a drink where it scores 1 point or more.

### Why does my product get no protein points?

A product scoring 11 or more A points cannot score for protein unless it also scores 5 points for fruit, vegetables and nuts.

### How is an HFSS score calculated?

A points for energy, saturated fat, total sugar and sodium are added, then C points for fruit, vegetables and nuts, fibre and protein are subtracted.

### Is hfsscalculator.co.uk free?

Yes. hfsscalculator.co.uk is free to use.

### How do I add hfsscalculator.co.uk to Claude Code?

Run this command in your terminal: claude mcp add --transport http site https://hfsscalculator.co.uk/mcp

### What are the best alternatives to hfsscalculator.co.uk?

The closest alternatives to hfsscalculator.co.uk are foodhygienealerts.co.uk, UK Food Hygiene Ratings (FSA), fmcg.network, Uk Food Safety and EU & UK Regulatory Compliance MCP Server.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 28 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [foodhygienealerts.co.uk](https://ai-powered.com/mcp/foodhygienealerts-co-uk): foodhygienealerts.co.uk is an MCP server for legal and government.
- [UK Food Hygiene Ratings (FSA)](https://ai-powered.com/mcp/uk-food-hygiene-ratings-fsa): UK Food Hygiene Ratings (FSA) is an MCP server for legal and government.
- [fmcg.network](https://ai-powered.com/mcp/fmcg-network): fmcg.network is a free MCP server for legal and government.
- [Uk Food Safety](https://ai-powered.com/mcp/uk-food-safety): Uk Food Safety is an MCP server for legal and government.
- [EU & UK Regulatory Compliance MCP Server](https://ai-powered.com/mcp/eu-and-uk-regulatory-compliance-mcp-server): EU & UK Regulatory Compliance MCP Server is an open-source MCP server for security.
- [UK Public Services & Health MCP Server from MCPBundles](https://ai-powered.com/mcp/uk-public-services-and-health-mcp-server-from-mcpbundles): UK Public Services & Health MCP Server from MCPBundles is a freemium MCP server for health and science.
- [Frigolog HACCP — French Food Safety Compliance](https://ai-powered.com/mcp/frigolog-haccp-french-food-safety-compliance): Frigolog HACCP — French Food Safety Compliance is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/hfsscalculator-co-uk
