govuk-mcp
MCP server for GOV.UK — search, content retrieval, organisation lookup, and postcode resolution.
README
govuk-mcp
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 |
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.
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
| 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.