GOV.UK Design System
БесплатноНе проверенEnables searching and fetching GOV.UK Design System guidance via locally-crawled SQLite FTS5 data, with tools like search, fetch, and version.
Описание
Enables searching and fetching GOV.UK Design System guidance via locally-crawled SQLite FTS5 data, with tools like search, fetch, and version.
README
TypeScript MCP server that serves locally-crawled GOV.UK Design System guidance from SQLite FTS5.
Features
- Manual crawler restricted to approved GOV.UK Design System sections.
- SQLite-backed storage at
data/govuk-design-system.db. - FTS5 search with deterministic ranking and snippets.
- MCP tools:
search(query: string)fetch(id: string)version()
- STDIO transport adapter isolated from core logic.
Setup
bun install
cp .env.example .env
Build the Local Dataset
bun run crawl
Run MCP Server
bun run start
Add This MCP to Developer Tools
The server uses STDIO transport, so most MCP-compatible tools can run it with a command.
Use this command in your MCP client configuration:
bun run /absolute/path/to/govuk-frontend-mcp/src/index.ts
If your client supports separate command and args, use:
- command:
bun - args:
["run", "/absolute/path/to/govuk-frontend-mcp/src/index.ts"] - cwd:
/absolute/path/to/govuk-frontend-mcp
Example: Claude Code (MCP config)
{
"mcpServers": {
"govuk-design-system": {
"command": "bun",
"args": [
"run",
"/absolute/path/to/govuk-frontend-mcp/src/index.ts"
],
"cwd": "/absolute/path/to/govuk-frontend-mcp"
}
}
}
Example: Cursor / VS Code style MCP config
∏
"mcpServers": {
"govuk-design-system": {
"type": "stdio",
"command": "bun",
"args": [
"run",
"/absolute/path/to/govuk-frontend-mcp/src/index.ts"
],
"cwd": "/absolute/path/to/govuk-frontend-mcp"
}
}
}
Example: Docker command for clients that run shell commands
docker compose run --rm govuk-design-system-mcp bun run src/index.ts
After connecting, the MCP should expose:
search(query: string)fetch(id: string)version()
Tip: run bun run crawl whenever you want to refresh the local GOV.UK data before using the MCP in your tool.
Docker Compose
docker compose up --build
Test
bun test
bun run typecheck
Установка GOV.UK Design System
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/georgeherby/govuk-frontend-mcpFAQ
GOV.UK Design System MCP бесплатный?
Да, GOV.UK Design System MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для GOV.UK Design System?
Нет, GOV.UK Design System работает без API-ключей и переменных окружения.
GOV.UK Design System — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить GOV.UK Design System в Claude Desktop, Claude Code или Cursor?
Открой GOV.UK Design System на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
автор: wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
автор: madhurprashPostgres
Query your database in natural language
автор: AnthropicPostgreSQL
Read-only database access with schema inspection.
автор: modelcontextprotocolCompare GOV.UK Design System with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории data
