+
OpenClaw + Wayfern
OpenClaw lives in the chat apps you already use. You ask it if a shop has stock or what a venue posted today, and the answer is on a site that blocks bots.
With Wayfern on the gateway, OpenClaw scrapes the page, searches three engines or captures a screenshot, and replies in the same chat. Automations run the same checks on a schedule.
Is the Ridgeline 7 in size M in stock at Northwind Bikes?10:42 ✓✓
Checking the shop with Wayfern…
scrape_page · 1 credit
capture_screenshot · 5 credits
Yes. Size M is in stock: 3 left, at $1,249.
bikes.northwind.dev/ridgeline-7
wayfern signed in
~/.openclaw/openclaw.json
url https://api.wayfern.com/mcp
transport streamable-http
auth oauth
scrape_page
url: bikes.northwind.dev/ridgeline-7
M: 3 left · 1 credit
capture_screenshot
selector: ".product"
image URL · 5 credits
credits_charged: 1 + 5
Setup
Do this on the machine that runs the OpenClaw gateway.
Set transport yourself. Without it, OpenClaw uses SSE.
~/.openclaw/openclaw.json
{
mcp: {
servers: {
wayfern: {
url: "https://api.wayfern.com/mcp",
transport: "streamable-http",
auth: "oauth",
},
},
},
}A browser opens on wayfern.com. Sign in and click Allow.
bash
openclaw mcp login wayfernbash
openclaw mcp doctor --probe
openclaw mcp reloadprompt
What does the bakery's site say about opening hours on public holidays?Put WAYFERN_API_TOKEN=wf_... in ~/.openclaw/.env, with a token that has the mcp scope. OpenClaw ignores a fixed Authorization header while auth is oauth, so use one or the other.
~/.openclaw/openclaw.json
{
mcp: {
servers: {
wayfern: {
url: "https://api.wayfern.com/mcp",
transport: "streamable-http",
headers: { Authorization: "Bearer ${WAYFERN_API_TOKEN}" },
},
},
},
}Skills in ~/.openclaw/skills reach every agent on the gateway host, and OpenClaw reloads them when a SKILL.md changes. The skill needs WAYFERN_API_TOKEN in the environment.
bash
mkdir -p ~/.openclaw/skills/wayfern
curl -fsSL https://wayfern.com/skills/wayfern/SKILL.md -o ~/.openclaw/skills/wayfern/SKILL.mdRoute
The gateway holds the MCP session and the tokens for every chat. Each question is a few tool calls, and each result reports its credits.
openclaw mcp login wayfern on the gateway host.${WAYFERN_API_TOKEN} from ~/.openclaw/.env.~/.openclaw/skills/wayfern. The exec tool runs curl, with exec approvals.Example tasks
01
“Is the Trek Marlin 7 in size M in stock at the bike shop's online store?”
scrape_page at 1 credit.
02
“What did the city council post about the tram strike today?”
search_web bills 2 credits for each provider page, then scrape_page 1 credit a page.
03
“Send me a screenshot of the venue's page for Saturday's concert.”
capture_screenshot returns an image URL for 5 credits.
04
prompt
openclaw automations create "0 8 * * *" "With Wayfern, read the ferry operator's service page. Tell me only if a sailing is cancelled." --name ferry --session isolated Send the result to Telegram with openclaw automations edit <id> --announce --channel telegram.
Tools
The same tools on every route, at the REST API rates. Every result reports credits_charged.
/approve <id>. The skill route runs curl through exec.get_usage shows the balance and is free.Sign in once and the tools appear. Tool calls use the credits of your Wayfern plan, at the same rates as the API.