+
Claude Code + Wayfern
Claude Code knows your repo. It does not know what the docs page says today, what the error message returns on Google, or how staging looks after a deploy.
With Wayfern as an MCP server, Claude Code calls search_web, scrape_page and capture_screenshot like any other tool. Each call runs in an anti-detect browser and returns markdown, JSON or an image URL, with the credits it cost.
$ claude mcp add --transport http wayfern \
https://api.wayfern.com/mcp
Added HTTP MCP server wayfern to local config
$ claude
> Check the pricing page on staging
⏺ ⏺ wayfern - scrape_page (url: "staging.acme.dev/pricing")
⏺ ⏺ wayfern - capture_screenshot (full_page: true)
⏺3 of 4 plan columns render. “Scale” is
missing below 1280 px. Screenshot saved.
credits_charged: 1 + 5
✻ Reading src/pricing/PlanGrid.tsx…
Setup
Run this in the project where you want the tools, or add --scope user to have them in every project.
bash
claude mcp add --transport http wayfern https://api.wayfern.com/mcpStart claude, type /mcp, pick wayfern and choose Authenticate. A browser opens on wayfern.com. Sign in and click Allow.
Back in Claude Code, /mcp shows wayfern as connected with its tools. Ask for a page and watch the tool calls.
prompt
> Read https://docs.stripe.com/api/charges/create and list every required parameter.For CI and containers with no browser. Create a token with the mcp scope on the Tokens page.
bash
claude mcp add --transport http wayfern https://api.wayfern.com/mcp \
--header "Authorization: Bearer $WAYFERN_API_TOKEN"The skill tells Claude Code how to call the REST API with curl. It needs WAYFERN_API_TOKEN in the environment.
bash
mkdir -p ~/.claude/skills/wayfern
curl -fsSL https://wayfern.com/skills/wayfern/SKILL.md -o ~/.claude/skills/wayfern/SKILL.mdRoute
Claude Code supports remote HTTP servers with OAuth. One sign-in covers every tool, and no token sits in a config file.
claude mcp add and /mcp sign you in on wayfern.com.--header with a wf_ token. Good for CI.~/.claude/skills/wayfern. Claude Code calls the REST API with curl.api.wayfern.com/api/v1 directly.Example tasks
01
“Read the v5 migration guide of the router we use and list each change that breaks our code in src/routes.”
scrape_page returns the page as markdown for 1 credit.
02
“Capture the pricing page on staging, full page, and tell me if the plan table shows four columns.”
capture_screenshot returns an image URL for 5 credits.
03
“Search Google and Bing for this stack trace and summarise the fixes that people confirm.”
search_web bills 2 credits for each provider page.
04
“Crawl the API reference of our payment provider, 40 pages at most, and save each page as markdown under docs/vendor.”
crawl_site bills 1 credit for each page it scrapes.
Tools
The same tools on every route, at the REST API rates. Every result reports credits_charged.
credits_charged. list_search_engines, crawl_status and get_usage are free.--scope, the server is in this project only. --scope user adds it to every project on your computer.Sign in once and the tools appear. Tool calls use the credits of your Wayfern plan, at the same rates as the API.