Search the web with AlterLab and get structured results. Use when the user asks a question that needs current web information or asks you to find pages and you do not have a URL yet. Do not use it to read a known URL (use alterlab-scrape).
Ships in alterlab-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
scrape_results=false for the list only.alterlab-scrape to read a result in full.alterlab-research for a budgeted job that reads many sources and returns a cited answer.alterlab-serp.Do not use when:
alterlab-scrape).Set your API key in the ALTERLAB_API_KEY environment variable. Never paste the key into code, commands, or files you commit. Create a key at https://alterlab.io/dashboard.
No key yet? POST https://api.alterlab.io/api/v1/agent/trial returns a free trial key with no signup (50 requests, 24 hours). Every response from a trial key then carries a claim link in the X-AlterLab-Claim-URL header, and the trial errors repeat it. Give that link to your human: they sign in or sign up, and the same key becomes theirs and keeps working with no reconfiguration. A free account comes with up to 5,000 free requests.
export ALTERLAB_API_KEY="..." # set in your shell, not in the repo
import os
from alterlab import AlterLabSync
client = AlterLabSync(api_key=os.environ["ALTERLAB_API_KEY"])
results = client.search("web scraping api", num_results=10)
print(results)
curl -X POST https://api.alterlab.io/api/v1/search \
-H "X-API-Key: $ALTERLAB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "web scraping api", "num_results": 10}'
scripts/search.py calls the API with the Python standard library only (python3 scripts/search.py --help).
Hosted MCP tools: alterlab_search, alterlab_keyword_ideas, alterlab_geocode, alterlab_ai_visibility (server https://mcp.alterlab.io/mcp).
Docs: https://alterlab.io/docs - API spec: https://alterlab.io/openapi.json
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/alterlab-crawlCrawl a whole website or list its URLs with AlterLab. Use when the user wants every page of a docs site or blog, a sitemap of a domain, or a site-wide content export. Works on JavaScript-heavy and protected sites. Do not use it for one or two known URLs (use alterlab-scrape)./alterlab-extractExtract structured JSON from any web page with AlterLab using a JSON schema. Use when the user wants specific fields (prices, titles, listings, contacts) rather than the full page text. Works on JavaScript-heavy and protected pages. Do not use it when the full page text is enough (use alterlab-scrape)./alterlab-monitorWatch a web page for changes with AlterLab monitors and scheduled scrapes. Use when the user asks to be told when a price, page or listing changes, or to re-scrape a URL on a schedule.Other plugins' skills for the same job
/alterlab-skills:alterlab-searchfrom alterlab-skills
npx claudepluginhub rapiercraftstudios/alterlab-skills --plugin alterlab-skills