Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Govuk Search

БесплатноНе проверен

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

GitHubEmbed

Описание

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

README

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

  • search_gov_uk — keyword search ranked by relevance
  • latest_gov_uk — most recent publications, newest first
  • fetch_gov_uk_page — fetches the content and attachments on a specific gov UK page

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

Usage (Deployed)

Installation

Install with pip:

pip install govuk-search-mcp

or with uv:

uv add govuk-search-mcp

or skip installation and use uvx (see below).

Run Server

The server runs over streamable-http.

If installed via pip/uv:

govuk-search-mcp

Or if using uvx:

uvx govuk-search-mcp

By default the server 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

Usage (Local)

If running locally, use just commands to run local code version (not release version).

# Start server using local code
just run_server
# Start inspector to manually test
just run_inspector
# Attach to claude code
just attach_claude
# Detach from calude code
just detach_claude

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

from github.com/JAEarly/govuk-search-mcp

Установить Govuk Search в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install govuk-search-mcp

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add govuk-search-mcp -- uvx govuk-search-mcp

FAQ

Govuk Search MCP бесплатный?

Да, Govuk Search MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Govuk Search?

Нет, Govuk Search работает без API-ключей и переменных окружения.

Govuk Search — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Govuk Search в Claude Desktop, Claude Code или Cursor?

Открой Govuk Search на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Govuk Search with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development