govuk-mcp
govuk-mcp
MCP server for GOV.UK — search, content retrieval, organisation lookup, and postcode resolution.
Tools
Tool | Description |
| Full-text search across 700k+ GOV.UK pages, with format and organisation filters |
| Retrieve the full structured content item for any GOV.UK page by base path |
| Get details for a UK government organisation (type, parent, children, contacts) |
| Paginated list of all government organisations registered on GOV.UK |
| 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.
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/mcpLocal (Claude Desktop)
fastmcp install claude-desktop govuk-mcpAPIs used
API | Base URL | Auth |
GOV.UK Search |
| None |
GOV.UK Content |
| None |
GOV.UK Organisations |
| None |
postcodes.io |
| None |
License
MIT
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/paulieb89/govuk-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server