Skip to main content
Glama
georgeherby

GOV.UK Design System MCP

by georgeherby

GOV.UK Design System MCP

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.

Related MCP server: docs-mcp

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Indexes documentation sites by base URL and serves keyword search, optional semantic search, and Markdown page retrieval as MCP tools, all from a single SQLite file.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables lexical search over local Markdown wiki folders using SQLite FTS5, with MCP tools for querying and managing wiki indices.
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/georgeherby/govuk-frontend-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server