MCP Hub
Back to servers

govuk-mcp

MCP server for GOV.UK — search, content retrieval, organisation lookup, and postcode resolution.

glama
Stars
1
Updated
Apr 20, 2026

govuk-mcp

govuk-mcp MCP server

MCP server for GOV.UK — search, content retrieval, organisation lookup, and postcode resolution.

Tools

ToolDescription
govuk_searchFull-text search across 700k+ GOV.UK pages, with format and organisation filters
govuk_get_contentRetrieve the full structured content item for any GOV.UK page by base path
govuk_get_organisationGet details for a UK government organisation (type, parent, children, contacts)
govuk_list_organisationsPaginated list of all government organisations registered on GOV.UK
govuk_lookup_postcodeResolve a UK postcode to local authority, region, constituency, and NHS board

All data is sourced from official public GOV.UK APIs and postcodes.io. No API keys required.

Quick start

Remote (no install)

Point any MCP client at the hosted server:

{
  "mcpServers": {
    "govuk": {
      "type": "http",
      "url": "https://govuk-mcp.fly.dev/mcp"
    }
  }
}

Local (pip install)

pip install govuk-mcp
govuk-mcp
# MCP endpoint: http://localhost:8000/mcp

Local (Claude Desktop)

fastmcp install claude-desktop govuk-mcp

APIs used

APIBase URLAuth
GOV.UK Searchhttps://www.gov.uk/api/search.jsonNone
GOV.UK Contenthttps://www.gov.uk/api/content{path}None
GOV.UK Organisationshttps://www.gov.uk/api/organisationsNone
postcodes.iohttps://api.postcodes.ioNone

License

MIT

Reviews

No reviews yet

Sign in to write a review