mcp-gov-uk-content
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
@pipeworx/gov-uk-content
GOV.UK Content API MCP — the rendered content + metadata behind every page on gov.uk. Keyless.
Part of Pipeworx — an MCP gateway connecting AI agents to 1865+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Tools
content(base_path)— content for a gov.uk page (e.g./jobsearch,/government/organisations/cabinet-office)search(query, count?, start?, filter_format?)— full GOV.UK searchorganisations(start?, count?)— list organisations (departments, agencies, …)taxons(base_path?)— taxonomy tree nodesearch_autocomplete(query)— autocomplete on the search index
Related MCP server: GovUK MCP Server
Data sources
Content API:
https://www.gov.uk/api/content/Search API:
https://www.gov.uk/api/search.json
UK departmental manuals (fleet #1972)
Topic-level discovery over the largest body of official interpretation on
GOV.UK. All of it was reachable before only if you already knew the base_path
of the page you wanted — which is the one thing a caller asking a tax question
does not know.
Measured 2026-09-14 against www.gov.uk/api/search.json:
| count |
| 253 |
| 85,559 |
| 174 |
| 2,658 |
hmrc_manuals(query?, include_other_departments?, count?, start?)— which manuals exist, with their base_paths.hmrc_manual_search(query, manual?, include_other_departments?, count?, start?)— a UK tax question in plain words → the sections that answer it, each withsection_id,published_at,age_days.manualaccepts either"employment-income-manual"or the full/hmrc-internal-manuals/employment-income-manual.hmrc_manual_section(base_path | manual + section_id, max_chars?)— one section's full text, withwithdrawn,first_published_at,published_at,age_days.hmrc_manual_changes(manual, since?, section_id?, limit?)— HMRC's own per-section revision log, newest first.
The freshness trap, written down because it returns a clean 200
A manual's details.change_notes[] is a complete revision history served
oldest first — 1,025 entries for the Employment Income Manual, running
2016-08-02 to 2026-09-11. Reading change_notes[0] as "the latest change"
reports a ten-year-old edit as today's news, with no error anywhere.
hmrc_manual_changes sorts explicitly by published_at descending rather than
reversing, so a change in upstream ordering cannot silently invert the answer.
A section's own public_updated_at is the reliable per-section date and is
what every tool here returns as source_last_modified. Note it does not
equal the section's first change note: EIM42776 has a change note published
2016-08-02 and a public_updated_at of 2022-06-27.
Licence
Crown copyright, reproduced under the Open Government Licence v3.0 —
commercial reuse permitted with attribution. These tools proxy www.gov.uk live
per request.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"gov-uk-content": {
"url": "https://gateway.pipeworx.io/gov-uk-content/mcp"
}
}
}What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/gov-uk-content/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}Both URLs reach the same gateway and the same 1865+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
curl -X POST https://gateway.pipeworx.io/v1/tools/content \
-H 'Content-Type: application/json' \
-d '{"base_path":"/guidance/apply-for-a-uk-visa"}'No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/content. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Run it from npm
@pipeworx/mcp-gov-uk-content is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with npx, and it forwards every call to the same
https://gateway.pipeworx.io/gov-uk-content/mcp endpoint shown above. It needs network access;
there is no offline mode.
{
"mcpServers": {
"gov-uk-content": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-gov-uk-content"]
}
}
}Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
"env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.
It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to
also list ask_pipeworx and the other gateway-wide tools.
Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by
default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check
your Node version's documentation.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Gov Uk Content data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
**UK Source Intelligence — GOV.UK Change Monitoring & Historical Evidence for AI Agents** UK Source Intelligence (UKSI) is an MCP-compatible monitoring service that helps AI agents and developers detect, investigate and verify changes to official GOV.UK content. Unlike a simple website-change notification tool, UKSI retains observed wording, timestamps and SHA-256 fingerprints, allowing agents to compare genuine historical versions and provide traceable evidence to their human users. **Key capabilities:** - Nine pre-monitored GOV.UK pages. - Monitor additional supported GOV.UK pages. - Compare previously observed and updated wording. - Retrieve historical snapshots, timestamps and source fingerprints. - Verify exact quotations against official government content. - Access information through 12 MCP tools or an API. - Free public evidence demonstration without registration. **Free trial — 14 days** - No payment required. - 10 API requests per day. - One custom monitored GOV.UK page. **Introductory access — £4.99 one-time payment** - 30 days of access. - 100 authenticated API requests per day. - Three custom monitored GOV.UK pages. - No subscription or automatic renewal. **Ideal for:** AI developers, compliance researchers, accountants, regulatory monitoring workflows and organisations requiring verifiable historical GOV.UK source evidence. **Limitations:** Monitoring begins when a page is registered; historical records cannot be reconstructed from before monitoring began. Coverage is restricted to supported GOV.UK content, and monitoring intervals are not guaranteed. UKSI is not a substitute for professional legal or regulatory advice. Website: https://uk-source-intelligence.pages.dev/ MCP endpoint: https://uk-source-intelligence-mcp.mazdamen.workers.dev/mcp
Official UK, US and Australia public datasets as filtered CSV, REST API and MCP for AI agents.
data.gov.uk MCP — UK national open-data portal (CKAN API).
Query UK Parliament, elections, crime stats, ONS census data, and national archives
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server for UK Freedom of Information research. Connects AI assistants to WhatDoTheyKnow — the UK's largest FOI request platform to search requests, read responses, look up public authorities, and draft new requests.8MIT
- AlicenseBqualityCmaintenanceProvides access to 27 UK government data sources and services, enabling queries about transport, business, healthcare, and more via natural language.332MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server for accessing the UK's official legislation database (legislation.gov.uk), enabling natural language queries via Pipeworx's AI gateway.611 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables natural language queries about UK Health Security Agency (UKHSA) data through the Pipeworx MCP gateway, with no API key required.294 npmMIT