govuk
MCP server for GOV.UK — search, content drill-down, organisations, and postcode lookup.
Что умеет
- Govuk Search: Search GOV.UK's 700k+ content items using the official Search API. Returns a list of matching content items with title, description, link, format, owning organisation(s), and last update
- Govuk Grep Content: Find body sections in a GOV.UK content item matching a pattern. Returns a list of `{anchor, heading, snippet, match}` hits — small per-section snippets centred on the match — so th
- Govuk List Organisations: List all UK government organisations registered on GOV.UK. Returns a paginated list of organisations including their slug, acronym, type, and status. Use this to browse the f
Какие данные видит
Нужен ли аккаунт
Не нужен: сервер работает без входа
MCP server for GOV.UK — search, content drill-down, organisations, and postcode lookup.
Как подключить
Как подключить govuk к Claude
Адрес сервера, который нужно вставить в настройках Claude:
https://govuk--bouch.run.tools
- Откройте Claude (сайт claude.ai или приложение для компьютера).
- Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
- Нажмите Добавить пользовательский коннектор (Add custom connector).
- Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
- В чате нажмите + → Коннекторы и включите новый коннектор.
Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.
Авторизация
После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.
Как подключить govuk к ChatGPT
Адрес сервера, который нужно вставить в настройках ChatGPT:
https://govuk--bouch.run.tools
- Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
- Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
- Откройте Настройки → Коннекторы и нажмите Создать (Create).
- Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
- В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
- В новом чате откройте + → Приложения/Коннекторы и включите коннектор.
Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.
Авторизация
При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.
Как подключить govuk к Cursor
Адрес сервера, который нужно вставить в настройках Cursor:
https://govuk--bouch.run.tools
Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.
Вручную:
- В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
- Вставьте JSON, скопированный ниже, в открывшийся файл
~/.cursor/mcp.json(для одного проекта:.cursor/mcp.jsonв корне проекта). - Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.
Авторизация
Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.
Список инструментов сервера (7)
Технические названия из tools/list. Нужны только разработчикам.
| govuk_search | Search GOV.UK's 700k+ content items using the official Search API. Returns a list of matching content items with title, description, link, format, owning organisation(s), and last updated timestamp. Use filter_format to narrow to specific content types (e.g. 'transaction' for citizen-facing services, 'guide' for guidance, 'publication' for official documents). Use filter_organisations to restrict to a department. |
| govuk_grep_content | Find body sections in a GOV.UK content item matching a pattern. Returns a list of `{anchor, heading, snippet, match}` hits — small per-section snippets centred on the match — so the LLM can decide which full sections to read via govuk_get_section. Use this when answering content-based questions ("what does this guide say about X?", "find the bit about eligibility") rather than navigating by section number. Pattern is regex; if it doesn't compile, falls back to literal substring. |
| govuk_list_organisations | List all UK government organisations registered on GOV.UK. Returns a paginated list of organisations including their slug, acronym, type, and status. Use this to browse the full government structure or discover slugs for use with govuk_get_organisation or govuk_search filters. |
| govuk_lookup_postcode | Look up a UK postcode to retrieve its local authority, region, constituency, and other administrative geography. Useful for determining which council area, parliamentary constituency, or NHS region a postcode falls within. Commonly used to direct users to the correct local service on GOV.UK (e.g. council tax, planning, waste). Uses the postcodes.io public API (no key required). |
| govuk_get_content | Get metadata and navigable section index for a GOV.UK page. Returns the page title, document type, publication dates, and a list of sections with their anchor IDs and headings. Use govuk_get_section to read the body of a specific section, or govuk_grep_content to search within the page body. |
| govuk_get_section | Get the HTML content of one named section of a GOV.UK page. Use govuk_get_content first to get the list of available section anchors, then call this with the anchor of the section you want to read. |
| govuk_get_organisation | Get the profile of a UK government organisation by its slug. Returns name, acronym, type, status, web URL, and parent/child organisations. Use govuk_list_organisations to browse all organisations and discover slugs. |