Sign inTry it

Search Met Office website pages.

Searches the Met Office website like its search page: page title, link and preview text for each result, in the site's order. The results are Met Office pages (guidance, services, products and articles), not live forecasts. First results page only.

No reports yetRead-only, no login
Site
Met Office, United Kingdom
Version
v1
Runs, last 7 days
No reports yet
sha256
b08cff0dfe55…

Run it with your agent

after installing Wield

Ask in plain words. Your agent finds this recipe and calls it:

“Search Met Office website pages.”

Read-only: it changes nothing on the site. No login needed.

{
  "tool": "run",
  "arguments": {
    "recipe_id": "metoffice.gov.uk/search-pages",
    "params": {
      "query": "london"
    }
  }
}

Requests

sent from your browser, in order
  1. 1GET/search?queryServer-rendered site search results page /search?query=... (read-only GET). Each result is li.result with an h3.title link and a .preview text block.

Parameters

from your agent
querystringrequiredSearch term, e.g. 'london', 'severe weather', 'radar'

Returns

to your agent
querystring
resultsobject[]preview, title, url

Where it can send

  • www.metoffice.gov.uk

Anything else is blocked by the extension.

Reads from your session

Nothing. Your browser attaches the site's cookies by itself.

Used only in requests to the addresses on the left. Never sent to wield.run or your agent.

Checks

a run passes when
  • length(output.results) > `0`
  • length(output.results[?title != `null`]) == length(output.results)
  • length(output.results[?starts_with(url, 'https://')]) == length(output.results)

Raw recipe

Served as canonical JSON from /api/v1/recipes/metoffice.gov.uk/search-pages, so its sha256 matches the ETag and the index.

Check it yourself
curl -s https://wield.run/api/v1/recipes/metoffice.gov.uk/search-pages | shasum -a 256
# b08cff0dfe5554121fc9d838247cf4732c79aa6683d53cef855227d983c668e1
metoffice.gov.uk/search-pages.json, v1
{
  "description": "Searches the Met Office website like its search page: page title, link and preview text for each result, in the site's order. The results are Met Office pages (guidance, services, products and articles), not live forecasts. First results page only.",
  "effect": "read",
  "id": "metoffice.gov.uk/search-pages",
  "keywords": [
    "met office",
    "metoffice",
    "metoffice.gov.uk",
    "climate",
    "climate reports",
    "weather events",
    "guidance",
    "meteorology",
    "met office reports",
    "united kingdom",
    "site search"
  ],
  "output": {
    "schema": {
      "properties": {
        "query": {
          "type": "string"
        },
        "results": {
          "items": {
            "properties": {
              "preview": {
                "description": "Short text from the result, may be truncated",
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "title",
              "url"
            ],
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "query",
        "results"
      ],
      "type": "object"
    },
    "value": "{query: params.query, results: map(&{title: title, preview: preview || `null`, url: (starts_with(href, 'http') && href) || join('', ['https://www.metoffice.gov.uk', href])}, steps.search.results[?title != `null` && href != `null`] || `[]`)}"
  },
  "params": {
    "additionalProperties": false,
    "properties": {
      "query": {
        "description": "Search term, e.g. 'london', 'severe weather', 'radar'",
        "maxLength": 100,
        "minLength": 2,
        "type": "string"
      }
    },
    "required": [
      "query"
    ],
    "type": "object"
  },
  "provenance": {
    "method": "har",
    "notes": "One GET to /search?query=<query>, which answers 200 HTML with li.result items (h3.title link and .preview text). Titles and links were read from the page as served; the links are absolute. Results are Met Office site pages, not forecast data. Only the first page is read.",
    "recorded_at": "2026-11-08T16:40:00.000Z",
    "recorded_by": "wield-forge (claude-haiku agent)"
  },
  "requires_login": false,
  "schema": "https://wield.run/schema/recipe/v1.json",
  "site": {
    "country": "GB",
    "id": "metoffice.gov.uk",
    "language": "en",
    "name": "Met Office",
    "origin": "https://www.metoffice.gov.uk",
    "origins": [
      "https://www.metoffice.gov.uk"
    ]
  },
  "steps": [
    {
      "description": "Server-rendered site search results page /search?query=... (read-only GET). Each result is li.result with an h3.title link and a .preview text block.",
      "expect": {
        "assert": "status == `200` && contains(body, 'Search results')",
        "content_type": "html",
        "status": [
          200
        ]
      },
      "extract": {
        "html_items": {
          "results": {
            "fields": {
              "href": {
                "attr": "href",
                "selector": "h3.title a"
              },
              "preview": {
                "selector": ".preview"
              },
              "title": {
                "selector": "h3.title a"
              }
            },
            "max": 50,
            "selector": "li.result"
          }
        }
      },
      "id": "search",
      "request": {
        "headers": {
          "Accept": "text/html"
        },
        "method": "GET",
        "query": {
          "query": "{{params.query}}"
        },
        "url": "/search"
      }
    }
  ],
  "task": "Search Met Office website pages",
  "tos": {
    "notes": "Not reviewed. One search page per call, the same page a visitor loads. The site's terms on automated access were not checked.",
    "reviewed": false
  },
  "verify": {
    "checks": [
      "length(output.results) > `0`",
      "length(output.results[?title != `null`]) == length(output.results)",
      "length(output.results[?starts_with(url, 'https://')]) == length(output.results)"
    ],
    "example_params": {
      "query": "london"
    },
    "max_ms": 5000
  },
  "version": 1
}