Sign inTry it

Search Mother Jones articles.

Searches Mother Jones like its search page: article headline, link, and byline (author and date), in the site's order. First page of results (about 20 articles).

No reports yetRead-only, no login
Site
Mother Jones, United States
Version
v1
Runs, last 7 days
No reports yet
sha256
fe7410526a27…

Run it with your agent

after installing Wield

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

“Search Mother Jones articles.”

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

{
  "tool": "run",
  "arguments": {
    "recipe_id": "motherjones.com/search-news",
    "params": {
      "query": "climate"
    }
  }
}

Requests

sent from your browser, in order
  1. 1GET/?sWordPress search results page /?s=...; read-only GET. Each result is an li.article-item with the headline link in h3.hed and the byline in p.byline.

Parameters

from your agent
querystringrequiredSearch term, e.g. 'climate', 'prisons', 'tobacco'

Returns

to your agent
articlesobject[]byline, title, url
querystring

Where it can send

  • www.motherjones.com

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.articles) > `0`
  • length(output.articles[?title != `null`]) == length(output.articles)
  • length(output.articles[?starts_with(url, 'https://www.motherjones.com/')]) == length(output.articles)

Raw recipe

Served as canonical JSON from /api/v1/recipes/motherjones.com/search-news, so its sha256 matches the ETag and the index.

Check it yourself
curl -s https://wield.run/api/v1/recipes/motherjones.com/search-news | shasum -a 256
# fe7410526a279e697a889fb7c9def6f18e78861e04a054d654c06642ebce0b74
motherjones.com/search-news.json, v1
{
  "description": "Searches Mother Jones like its search page: article headline, link, and byline (author and date), in the site's order. First page of results (about 20 articles).",
  "effect": "read",
  "id": "motherjones.com/search-news",
  "keywords": [
    "mother jones",
    "motherjones",
    "news",
    "articles",
    "investigations",
    "journalism",
    "politics",
    "environment",
    "climate",
    "magazine",
    "search",
    "nachrichten",
    "artikel",
    "usa"
  ],
  "output": {
    "schema": {
      "properties": {
        "articles": {
          "items": {
            "properties": {
              "byline": {
                "description": "Author and date, e.g. 'Nicholas Kusnetz | October 16, 2026'",
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "title",
              "url"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "query": {
          "type": "string"
        }
      },
      "required": [
        "query",
        "articles"
      ],
      "type": "object"
    },
    "value": "{query: params.query, articles: map(&{title: title, byline: byline || `null`, url: href}, steps.search.articles[?title != `null` && href != `null`] || `[]`)}"
  },
  "params": {
    "additionalProperties": false,
    "properties": {
      "query": {
        "description": "Search term, e.g. 'climate', 'prisons', 'tobacco'",
        "maxLength": 100,
        "minLength": 2,
        "type": "string"
      }
    },
    "required": [
      "query"
    ],
    "type": "object"
  },
  "provenance": {
    "method": "har",
    "notes": "GET /?s=..., a WordPress search page, server-rendered HTML with 20 li.article-item results (h3.hed link with title and absolute href, p.byline with author and date). robots.txt disallows only /wp-admin/ for the generic user agent.",
    "recorded_at": "2026-11-08T16:50:00.000Z",
    "recorded_by": "wield-forge (claude-haiku agent)"
  },
  "requires_login": false,
  "schema": "https://wield.run/schema/recipe/v1.json",
  "site": {
    "country": "US",
    "id": "motherjones.com",
    "language": "en",
    "name": "Mother Jones",
    "origin": "https://www.motherjones.com",
    "origins": [
      "https://www.motherjones.com"
    ]
  },
  "steps": [
    {
      "description": "WordPress search results page /?s=...; read-only GET. Each result is an li.article-item with the headline link in h3.hed and the byline in p.byline.",
      "expect": {
        "content_type": "html",
        "status": [
          200
        ]
      },
      "extract": {
        "html_items": {
          "articles": {
            "fields": {
              "byline": {
                "selector": "p.byline"
              },
              "href": {
                "attr": "href",
                "selector": "h3.hed a"
              },
              "title": {
                "selector": "h3.hed a"
              }
            },
            "max": 50,
            "selector": "li.article-item"
          }
        }
      },
      "id": "search",
      "request": {
        "headers": {
          "Accept": "text/html"
        },
        "method": "GET",
        "query": {
          "s": "{{params.query}}"
        },
        "url": "/"
      }
    }
  ],
  "task": "Search Mother Jones articles",
  "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.articles) > `0`",
      "length(output.articles[?title != `null`]) == length(output.articles)",
      "length(output.articles[?starts_with(url, 'https://www.motherjones.com/')]) == length(output.articles)"
    ],
    "example_params": {
      "query": "climate"
    },
    "max_ms": 5000
  },
  "version": 1
}