Skip to content
Eden Engine

Newly Published UK Legislation (legislation.gov.uk)

legislationgovuk/new-legislation

Lists the legislation most recently published on legislation.gov.uk, newest first, for one legislation type or for all types. Each entry holds the title, address, type, year, number, publication and update times and, where the source gives one, the summary. Returns at most 20 entries per call (default 10) and a page number to read further back. Open Government Licence v3.0; served by Eden Engine; not an official legislation.gov.uk product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

The National Archives

Contains public sector information licensed under the Open Government Licence v3.0. Crown copyright, legislation.gov.uk (The National Archives). Where a document originates from the EU: material derived from the European Institutions, European Union, 1998-2019, re-used under the terms of Commission Decision 2011/833/EU. Served by Eden Engine; not an official legislation.gov.uk product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "legislationgovuk/new-legislation" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "legislationgovuk/new-legislation" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "legislationgovuk/new-legislation", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "legislationgovuk/new-legislation", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 25, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "type"
  ],
  "properties": {
    "page": {
      "type": "integer",
      "default": 1,
      "maximum": 50,
      "minimum": 1,
      "description": "Page of results, starting at 1 (default 1). Each page holds `count` entries."
    },
    "type": {
      "enum": [
        "all",
        "ukpga",
        "ukla",
        "uksi",
        "asp",
        "ssi",
        "wsi",
        "anaw",
        "asc",
        "nia",
        "nisr",
        "nisi",
        "ukcm",
        "mwa",
        "ukci"
      ],
      "type": "string",
      "description": "Legislation type to list, or `all` for every type. Legislation type code: ukpga (UK public general Act), ukla (UK local Act), uksi (UK statutory instrument), asp (Act of the Scottish Parliament), ssi (Scottish statutory instrument), wsi (Welsh statutory instrument), anaw (Act of the National Assembly for Wales), asc (Act of Senedd Cymru), nia (Northern Ireland Act), nisr (Northern Ireland statutory rule), nisi (Northern Ireland order in council), ukcm (Church of England measure), mwa (Welsh Assembly measure), ukci (Church instrument)."
    },
    "count": {
      "type": "integer",
      "default": 10,
      "maximum": 20,
      "minimum": 1,
      "description": "Entries to return, 1 to 20 (default 10)."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "page",
    "morePages",
    "count",
    "entries"
  ],
  "properties": {
    "page": {
      "type": "integer",
      "description": "Page number of this answer, starting at 1."
    },
    "count": {
      "type": "integer",
      "description": "Entries in this answer."
    },
    "entries": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "title",
          "uri",
          "published",
          "updated"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "description": "Address of the legislation on legislation.gov.uk, for example https://www.legislation.gov.uk/uksi/2026/1123."
          },
          "year": {
            "type": "integer",
            "description": "Year of enactment or making."
          },
          "title": {
            "type": "string",
            "description": "Title of the Act or instrument (the English title where a Welsh one is also given)."
          },
          "number": {
            "type": "integer",
            "description": "Number within the year (chapter, SI number or similar)."
          },
          "summary": {
            "type": "string",
            "description": "The long title or explanatory summary; absent when the source gives none."
          },
          "updated": {
            "type": "string",
            "description": "Date and time the record was last updated (ISO 8601)."
          },
          "published": {
            "type": "string",
            "description": "Date and time the document was first published on the site (ISO 8601)."
          },
          "documentType": {
            "type": "string",
            "description": "Type of legislation as named by the source, for example UnitedKingdomStatutoryInstrument."
          }
        },
        "additionalProperties": false
      },
      "description": "The legislation, in the source's order, at most 20."
    },
    "morePages": {
      "type": "integer",
      "description": "Further pages the source reports after this one (0 when this is the last)."
    }
  },
  "additionalProperties": false
}