govuk-search-mcp

govuk-search-mcp

Enables searching GOV.UK by keyword and fetching latest publications using the GOV.UK Search API.

Category
Visit Server

README

GOV.UK Search MCP Server

MCP server for searching GOV.UK. Exposes two tools:

  • search_gov_uk — keyword search ranked by relevance
  • latest_gov_uk — most recent publications, newest first

Uses the GOV.UK Search API.
The server runs over streamable-http.

Installation

pip install govuk-search-mcp

Or with uv:

uv add govuk-search-mcp

No install needed with uvx — see usage below.

Usage

The server runs over streamable-http. Start it first:

uvx govuk-search-mcp
# or, if installed via pip/uv:
govuk-search-mcp

By default it listens on http://127.0.0.1:8000/mcp. Override with env vars:

Variable Default Description
FASTMCP_HOST 127.0.0.1 Bind address
FASTMCP_PORT 8000 Port

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "gov-uk": {
      "url": "http://localhost:8000/mcp"
    }
  }
}

Claude Code

claude mcp add --transport http gov-uk-search http://localhost:8000/mcp

Tools

search_gov_uk

Search GOV.UK by keyword.

Parameter Type Default Description
query string Search terms
count int 10 Max results (0–1500)
start int 0 Pagination offset
date_from string Earliest date, YYYY-MM-DD (inclusive)
date_to string Latest date, YYYY-MM-DD (inclusive)

latest_gov_uk

Get most recently updated GOV.UK publications.

Parameter Type Default Description
count int 10 Max results (0–1500)
start int 0 Pagination offset
date_from string Earliest date, YYYY-MM-DD (inclusive)
date_to string Latest date, YYYY-MM-DD (inclusive)

Development

uv sync
just test        # unit tests
just test_int    # integration tests (hits live GOV.UK API)
just lint        # ruff + mypy

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

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.

Official
Featured