Skip to content
Gemini CLI

UK Law for Gemini CLI

io.github.flaviohtavares/uk-law

Search and read all UK legislation (130k Acts and regulations), updated daily, with official links.

client:Gemini CLI transport:streamable-http tools:4

Install UK Law in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "uk-law": {
      "httpUrl": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

What Gemini CLI can do once it is connected

UK Law in other clients