{"report":{"v":1,"package":"@cyanheads/uk-legislation-mcp-server","version":"0.2.1","ranAt":"2026-11-16T11:52:50.336Z","install":{"ok":true,"integrity":"sha512-VuYM3EPo9lFkZz7z6Da0xkZIQEQ/cvaWtrk0RsSZq8BhRA1iowO/jdIyv5cPgv5QI6jzc+rVqkshjLXm0lvqpw==","deps":44,"scripts":[],"bins":["uk-legislation-mcp-server"],"license":"Apache-2.0","engines":"node >=24.0.0","repository":"git+https://github.com/cyanheads/uk-legislation-mcp-server.git","bin":"uk-legislation-mcp-server"},"start":{"ok":true,"ms":373,"serverName":"uk-legislation-mcp-server","serverVersion":"0.2.1","protocol":"2025-06-18","stderr":"klaw_list_reference\",\"msg\":\"Registering tool: 'uklaw_list_reference'\"}\n{\"level\":20,\"time\":1794829978946,\"env\":\"development\",\"version\":\"0.2.1\",\"pid\":59,\"operation\":\"ToolRegistry.registerTool\",\"requestId\":\"YH8G6-R9Q88\",\"timestamp\":\"2026-11-16T11:52:58.945Z\",\"toolName\":\"uklaw_list_reference\",\"msg\":\"Tool 'uklaw_list_reference' registered successfully.\"}\n{\"level\":20,\"time\":1794829978946,\"env\":\"development\",\"version\":\"0.2.1\",\"pid\":59,\"operation\":\"createMcpServerInstance\",\"requestId\":\"ULNA5-3372D\",\"timestamp\":\"2026-11-16T11:52:58.939Z\",\"msg\":\"All MCP capabilities registered successfully\"}\n{\"level\":20,\"time\":1794829981978,\"env\":\"development\",\"version\":\"0.2.1\",\"pid\":59,\"operation\":\"withRequiredScopesCheck\",\"requestId\":\"D08SS-WXERM\",\"timestamp\":\"2026-11-16T11:53:01.978Z\",\"jsonRpcId\":3,\"toolName\":\"uklaw_search_legislation\",\"requiredScopes\":[\"tool:uklaw_search_legislation:read\"],\"msg\":\"Auth disabled (MCP_AUTH_MODE=none), skipping scope check.\"}\n{\"level\":20,\"time\":1794829982347,\"env\":\"development\",\"version\":\"0.2.1\",\"pid\":59,\"operation\":\"HandleToolRequest\",\"requestId\":\"D08SS-WXERM\",\"tenantId\":\"default\",\"timestamp\":\"2026-11-16T11:53:01.978Z\",\"jsonRpcId\":3,\"toolName\":\"uklaw_search_legislation\",\"results\":20,\"hasMore\":true,\"msg\":\"Search feed parsed\"}\n{\"level\":30,\"time\":1794829982356,\"env\":\"development\",\"version\":\"0.2.1\",\"pid\":59,\"operation\":\"HandleToolRequest\",\"requestId\":\"D08SS-WXERM\",\"timestamp\":\"2026-11-16T11:53:01.978Z\",\"jsonRpcId\":3,\"toolName\":\"uklaw_search_legislation\",\"metrics\":{\"durationMs\":376.3,\"isSuccess\":true,\"inputBytes\":65,\"outputBytes\":25695},\"msg\":\"Tool execution finished.\"}\n"},"tools":[{"name":"uklaw_search_legislation","description":"Search the UK statute book on legislation.gov.uk by full text or title, or list legislation by type and year, filtered by geographical extent and point in time. Full-text search ranks by relevance; title searches and type/year listings run newest year first and carry type and year counts (facets) to narrow with. Each result gives the item path to pass to uklaw_get_document. For a known citation or short title, uklaw_lookup_citation is cheaper and exact.","params":["text","title","types","year","year_from","year_to","extent","extent_match","as_of","limit","page"]},{"name":"uklaw_get_document","description":"Read one item or one provision of UK legislation from legislation.gov.uk — as it stands now (revised), as enacted/made, or as it stood on a date — in Markdown, with its editorial status, annotations (the applied amendment history), the unapplied effects touching it, the versions available, and attribution. Provision-level reads are the main path; an item-level read returns the whole text only for small items and otherwise an outline of provision paths to read next. With match_text (item level), returns the provisions whose text matches. Revised text is an editorial consolidation that can lag: read editorial.caveat and unapplied_effects before relying on it, and use uklaw_get_amendments for every recorded effect on an item, applied or not.","params":["item","provision","version","language","match_text","outline_offset"]},{"name":"uklaw_get_amendments","description":"List the effects — amendments, repeals, revocations, commencements, modifications — recorded against an item (direction affected) or made by an item (direction affecting), from legislation.gov.uk's changes feeds. Filter by the other item (counterpart), by applied status (unapplied = the outstanding work on the revised text), and by provision. item may be partial (ukpga/2018 = all effects on 2018 Acts). Each effect names both sides with provision links, in-force dates, and why it is not applied. For the applied history of one provision in prose, read its annotations with uklaw_get_document.","params":["item","direction","counterpart","status","provision","limit","cursor"]},{"name":"uklaw_track_changes","description":"Read the legislation.gov.uk Publication Log for a date window of up to 31 days: new items, new revised versions, newly recorded effects, and withdrawals, newest first — the compliance-monitoring view of \"what changed\". Filter by content type, effect direction, category, an item or type/year, first-time items only, or event. With a full item path it reads that item's own log, usually in one call; otherwise it walks the window day by day, newest first, so a broad window may need several calls. A changes event carries no effect detail — uklaw_get_amendments with that item has it. Continue with next_cursor.","params":["start_date","end_date","content_type","direction","category","item","new_only","event","limit","cursor"]},{"name":"uklaw_lookup_citation","description":"Resolve a citation or short title to the canonical legislation.gov.uk item and provision: \"Data Protection Act 2018 s. 45\", \"2018 c. 12\", \"S.I. 2019/419\", \"S.S.I. 2020/123\", \"S.R. 2020/12\", \"2020 asp 13\", \"Regulation (EU) 2016/679 art. 28\", a legislation.gov.uk URI, or a short title. Returns the item path to pass to uklaw_get_document, and when a provision is given, whether it exists in the current version. A miss or an ambiguous title is a result with found false plus guidance or candidates, not an error. To find legislation by topic or by partial title words rather than a known citation, use uklaw_search_legislation.","params":["citation"]},{"name":"uklaw_list_reference","description":"Decode the vocabulary the other uklaw_* tools take and return: legislation type codes (ukpga, uksi, eur, …) with their labels, categories and enacted keywords; type groups; extents; version keywords; document status; annotation letters (F, C, I, M, E, P, X); effect record fields; provision path forms and shorthand; accepted citation formats; Publication Log vocabulary and read modes; data coverage; and the attribution lines. Offline — no request to legislation.gov.uk.","params":["topic"]}],"toolsHash":"8ba07597b4c8ee60eb478d0629334bed90f34c23bf0c57d0d729e82d98609d5e","wrote":[],"callsAt":"2026-11-16T11:53:00.973Z","calls":[{"tool":"uklaw_search_legislation","ok":true,"ms":384,"bytes":23306}],"host":{"commit":"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c","run":"https://github.com/itsHaddad/bragproof/actions/runs/43857070216"},"network":{"names":["www.legislation.gov.uk","registry.npmjs.org"],"conns":[],"callNames":[],"callConns":[]}},"summary":{"outcome":"started","needs":[],"contacts":["www.legislation.gov.uk"],"flags":[],"tools":6,"wrote":0,"callsTried":1,"callsAnswered":1,"callContacts":[]},"history":[{"package":"@cyanheads/uk-legislation-mcp-server","version":"0.2.1","ranAt":"2026-11-16T11:52:50.336Z","outcome":"started","tools":6,"contacts":1,"flags":0,"serious":0,"toolsHash":"8ba07597b4c8ee60eb478d0629334bed90f34c23bf0c57d0d729e82d98609d5e"}],"page":"https://bragproof.smaverk.com/r/%40cyanheads/uk-legislation-mcp-server"}