paulieb89/govuk-mcp

🔎 Search & Data Extraction
0 Views
0 Installs

🐍 ☁️ - Search GOV.UK content, retrieve full government pages, look up organisations, and resolve UK postcodes to local authorities. 5 read-only tools, no API keys required.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "paulieb89-govuk-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "paulieb89-govuk-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

govuk-mcp

PyPI Glama smithery badge Install in VS Code Install in VS Code Insiders Install in Cursor Install in VS Code (local)

MCP server for GOV.UK — search, content retrieval, organisation lookup, and postcode resolution.

Tools

ToolDescription
govuk_searchFull-text search across 700k+ GOV.UK pages, with format and organisation filters
govuk_get_contentPage metadata and navigable section index for any GOV.UK page by base path
govuk_get_sectionBody HTML for a single named section (anchor) of a GOV.UK page
govuk_grep_contentRegex/substring search within the body of a specific GOV.UK page
govuk_get_organisationGet details for a UK government organisation (type, parent, children, contacts)
govuk_list_organisationsPaginated list of all government organisations registered on GOV.UK
govuk_lookup_postcodeResolve a UK postcode to local authority, region, constituency, and NHS board

All data is sourced from official public GOV.UK APIs and postcodes.io. No API keys required.

Resources

For protocol-aware clients (Claude, Cursor, Inspector), the server also exposes govuk:// resource templates:

URIReturns
govuk://content/{base_path*}/headerPage metadata (title, doc type, dates)
govuk://content/{base_path*}/indexSection anchor:heading list
govuk://content/{base_path*}/section/{anchor}Bounded HTML for one section
govuk://content/{base_path*}/details/{field}Schema-specific details field
govuk://content/{base_path*}/links/{rel}Related content by link type
govuk://organisation/{slug}Organisation profile

Connect

Hosted (no install)

{
  "mcpServers": {
    "govuk": {
      "type": "http",
      "url": "https://govuk-mcp.fly.dev/mcp"
    }
  }
}

Local (uvx)

{
  "mcpServers": {
    "govuk": {
      "type": "stdio",
      "command": "uvx",
      "args": ["govuk-mcp"]
    }
  }
}

APIs used

APIBase URLAuth
GOV.UK Searchhttps://www.gov.uk/api/search.jsonNone
GOV.UK Contenthttps://www.gov.uk/api/content{path}None
GOV.UK Organisationshttps://www.gov.uk/api/organisationsNone
postcodes.iohttps://api.postcodes.ioNone

License

MIT

Related MCP Servers

linxule/mineru-mcp

📇 ☁️ - MCP server for MinerU document parsing API. Parse PDFs, images, DOCX, and PPTX with OCR (109 languages), batch processing (200 docs), page ranges, and local file upload. 73% token reduction with structured output.

🔎 Search & Data Extraction1 views
0xdaef0f/job-searchoor

📇 🏠 - An MCP server for searching job listings with filters for date, keywords, remote work options, and more.

🔎 Search & Data Extraction0 views
Aas-ee/open-webSearch

🐍 📇 ☁️ - Web search using free multi-engine search (NO API KEYS REQUIRED) — Supports Bing, Baidu, DuckDuckGo, Brave, Exa, and CSDN.

🔎 Search & Data Extraction0 views
ac3xx/mcp-servers-kagi

📇 ☁️ - Kagi search API integration

🔎 Search & Data Extraction0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it →
★ Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.