GOV UK Search
FreeNot checkedMCP server for GOV.UK — search, content retrieval, organisation lookup, and postcode resolution.
About
MCP server for GOV.UK — search, content retrieval, organisation lookup, and postcode resolution.
README
PyPI Glama smithery badge Install in VS Code Install in VS Code Insiders Install in Cursor Install in VS Code (local)
MCP server for GOV.UK — search, content retrieval, organisation lookup, and postcode resolution.
Tools
| Tool | Description |
|---|---|
govuk_search |
Full-text search across 700k+ GOV.UK pages, with format and organisation filters |
govuk_get_content |
Page metadata and navigable section index for any GOV.UK page by base path |
govuk_get_section |
Body HTML for a single named section (anchor) of a GOV.UK page |
govuk_grep_content |
Regex/substring search within the body of a specific GOV.UK page |
govuk_get_organisation |
Get details for a UK government organisation (type, parent, children, contacts) |
govuk_list_organisations |
Paginated list of all government organisations registered on GOV.UK |
govuk_lookup_postcode |
Resolve 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.
Resources
For protocol-aware clients (Claude, Cursor, Inspector), the server also exposes govuk:// resource templates:
| URI | Returns |
|---|---|
govuk://content/{base_path*}/header |
Page metadata (title, doc type, dates) |
govuk://content/{base_path*}/index |
Section anchor:heading list |
govuk://content/{base_path*}/section/{anchor} |
Bounded HTML for one section |
govuk://content/{base_path*}/details/{field} |
Schema-specific details field |
govuk://content/{base_path*}/links/{rel} |
Related content by link type |
govuk://organisation/{slug} |
Organisation profile |
Connect
Hosted (no install)
{
"mcpServers": {
"govuk": {
"type": "http",
"url": "https://govuk-mcp.fly.dev/mcp"
}
}
}
Local (uvx)
{
"mcpServers": {
"govuk": {
"type": "stdio",
"command": "uvx",
"args": ["govuk-mcp"]
}
}
}
APIs used
| API | Base URL | Auth |
|---|---|---|
| GOV.UK Search | https://www.gov.uk/api/search.json |
None |
| GOV.UK Content | https://www.gov.uk/api/content{path} |
None |
| GOV.UK Organisations | https://www.gov.uk/api/organisations |
None |
| postcodes.io | https://api.postcodes.io |
None |
License
MIT
Install GOV UK Search in Claude Desktop, Claude Code & Cursor
unyly install govuk-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add govuk-mcp -- uvx govuk-mcpStep-by-step: how to install GOV UK Search
FAQ
Is GOV UK Search MCP free?
Yes, GOV UK Search MCP is free — one-click install via Unyly at no cost.
Does GOV UK Search need an API key?
No, GOV UK Search runs without API keys or environment variables.
Is GOV UK Search hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install GOV UK Search in Claude Desktop, Claude Code or Cursor?
Open GOV UK Search on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare GOV UK Search with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
