loading…
Search for a command to run...
loading…
MCP server for GOV.UK — search, content retrieval, organisation lookup, and postcode resolution.
MCP server for GOV.UK — search, content retrieval, organisation lookup, and postcode resolution.
MCP server for GOV.UK — search, content retrieval, organisation lookup, and postcode resolution.
| Tool | Description |
|---|---|
govuk_search |
Full-text search across 700k+ GOV.UK pages, with format and organisation filters |
govuk_get_content |
Retrieve the full structured content item for any GOV.UK page by base path |
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.
Point any MCP client at the hosted server:
{
"mcpServers": {
"govuk": {
"type": "http",
"url": "https://govuk-mcp.fly.dev/mcp"
}
}
}
pip install govuk-mcp
govuk-mcp
# MCP endpoint: http://localhost:8000/mcp
fastmcp install claude-desktop govuk-mcp
| 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 |
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"govuk-mcp": {
"command": "npx",
"args": []
}
}
}