[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [GOV.UK page content](https://spiral.ai/integrations/grok/gov-uk-page-content)

# How to Use GOV.UK page content in Grok

Returns a GOV.UK page as Markdown with dates, change notes, and related content where available. Use it to read guidance, a manual section, or a safety notice after finding its URL.

|  |  |
| --- | --- |
| Model | GOV.UK page content |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GOV.UK page content in Grok

- Use GOV.UK page content to summarize https://www.gov.uk/vat-rates and include the source link.
- Use GOV.UK page content to look this up and give me the result as a table.
- Pull the latest numbers from GOV.UK page content and tell me what changed since last week.
- Check GOV.UK page content and summarize what you find in three bullet points.
- Pull the newest data from GOV.UK page content and give me the result as a table.

## How to set up GOV.UK page content in Grok

Pick the way that suits you. Each takes about two minutes.

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run GOV.UK page content**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "gov-uk/government-publications/get_page",
    "input": {
      "path": "<path>"
    }
  }'
```

Then paste one of the prompts above: Grok finds GOV.UK page content on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## GOV.UK page content tools and prices

- [GOV.UK · Get page](https://spiral.ai/tools/alexandria/gov-uk/government-publications/get_page) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | Alternatively a www.gov.uk page URL; a guide part URL selects that part. Pattern: ^https?://. |
| part |  | — | Guide part slug, e.g. eligibility. Overrides a part in the path. Unknown parts are not_found. |
| path |  | — | GOV.UK path, e.g. /government/consultations/gas-system-in-transition-security-of-supply or /universal-credit/eligibility (a guide part). search and list_product_safety_alerts return paths. Pattern: ^/?[A-Za-z0-9]. |
| max_chars | 500 to 200000 | — | Truncate body_markdown to this many characters (default 20000). |

## What can you do with GOV.UK page content in Grok?

Produce a linked GOV.UK research brief for a specific business question. A chat agent can organize the returned publications, guidance, organization records, or product notices into a reading list with clear source references.

### Prepare a retailer’s compliance reading list

Identify the relevant government publishers, find retail guidance, locate HMRC manual sections, and check OPSS notices for the retailer’s product categories. Read the selected pages to produce a linked reading list.

### Research a consumer goods import launch

Build an evidence pack covering customs guidance, relevant HMRC manual sections, government publishing bodies, and published product safety notices. Read the underlying pages before drafting questions for the importer’s advisers.

### Draft a trade association research bulletin

Collect publications, manual amendments, and product safety notices relevant to consumer goods businesses. Match publishers to organization records and read each selected page before writing the bulletin.

### Check a marketplace seller handbook

Compare a draft handbook’s government references with published guidance, HMRC manual contents, and OPSS product notices. Use organization records to resolve publisher names and page content to support proposed corrections.

### Build a manual section reading queue

Find the relevant HMRC manual, inspect its contents and change notes, and read selected sections. Produce a reading queue with section titles and source links.

### Resolve publishers in a publication inventory

Match publication publishers to government organization records and follow available successor relationships. Use publication search and page content to check the references in the inventory.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok guides](https://spiral.ai/integrations/grok)

## GOV.UK page content in other agents

- [Amp](https://spiral.ai/integrations/amp/gov-uk-page-content)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/gov-uk-page-content)
- [Claude](https://spiral.ai/integrations/claude-desktop/gov-uk-page-content)
- [Claude Code](https://spiral.ai/integrations/claude-code/gov-uk-page-content)
- [Cline](https://spiral.ai/integrations/cline/gov-uk-page-content)
- [Codex](https://spiral.ai/integrations/codex/gov-uk-page-content)
- [Cursor](https://spiral.ai/integrations/cursor/gov-uk-page-content)
- [Devin](https://spiral.ai/integrations/devin/gov-uk-page-content)
- [dots](https://spiral.ai/integrations/dots/gov-uk-page-content)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/gov-uk-page-content)
- [Gemini](https://spiral.ai/integrations/gemini/gov-uk-page-content)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/gov-uk-page-content)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/gov-uk-page-content)
- [goose](https://spiral.ai/integrations/goose/gov-uk-page-content)
- [Grok Build](https://spiral.ai/integrations/grok-build/gov-uk-page-content)
- [Hermes](https://spiral.ai/integrations/hermes/gov-uk-page-content)
- [Instinct](https://spiral.ai/integrations/instinct/gov-uk-page-content)
- [Manus](https://spiral.ai/integrations/manus/gov-uk-page-content)
- [Muse](https://spiral.ai/integrations/muse/gov-uk-page-content)
- [Muse Code](https://spiral.ai/integrations/muse-code/gov-uk-page-content)
- [n8n](https://spiral.ai/integrations/n8n/gov-uk-page-content)
- [Notion](https://spiral.ai/integrations/notion/gov-uk-page-content)
- [OpenClaw](https://spiral.ai/integrations/openclaw/gov-uk-page-content)
- [opencode](https://spiral.ai/integrations/opencode/gov-uk-page-content)
- [Perplexity](https://spiral.ai/integrations/perplexity/gov-uk-page-content)
- [Raycast](https://spiral.ai/integrations/raycast/gov-uk-page-content)
- [VS Code](https://spiral.ai/integrations/vscode/gov-uk-page-content)
- [Windsurf](https://spiral.ai/integrations/windsurf/gov-uk-page-content)
- [Zapier](https://spiral.ai/integrations/zapier/gov-uk-page-content)

## More Grok guides

- [GOV.UK manual contents and updates](https://spiral.ai/integrations/grok/gov-uk-manual-contents-and-updates)
- [GOV.UK product safety notices](https://spiral.ai/integrations/grok/gov-uk-product-safety-notices)
- [GOV.UK government organizations](https://spiral.ai/integrations/grok/gov-uk-government-organizations)
- [GOV.UK publication search](https://spiral.ai/integrations/grok/gov-uk-publication-search)
- [GDACS disaster event details](https://spiral.ai/integrations/grok/gdacs-disaster-event-details)
- [Gov.br agency directory](https://spiral.ai/integrations/grok/gov-br-agency-directory)

## Questions about GOV.UK page content in Grok

**Can Grok use GOV.UK page content?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run GOV.UK page content like any built-in tool.

**How much does GOV.UK page content cost in Grok?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

**Do I need an Alexandria account to use GOV.UK page content in Grok?**

No. Spiral runs GOV.UK page content on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up GOV.UK page content in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while GOV.UK page content runs?**

GOV.UK page content runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

**Does this cover every UK government website?**

No. GOV.UK content retrieval covers pages hosted on www.gov.uk. It does not provide general coverage of other government websites.

**Does GOV.UK search include publications in every language?**

No. GOV.UK documents that only English documents are allowed into its search index, and certain formats are excluded.

**What does a GOV.UK search update date mean?**

The public timestamp is the last updated date excluding minor editorial corrections. A date-based search therefore does not identify every text edit.

**Can I retrieve an earlier version of a publication?**

The Content API returns published GOV.UK content. GOV.UK directs requests for historical content to the National Archives.

**Are HMRC manuals complete answers to tax questions?**

No. HMRC explicitly says its manuals are not comprehensive and do not provide a definitive answer in every case.

