jq, agents, and CI.
Pure JavaScript, Node 18+, no native binaries to download. Installs in under a second, starts in ~200 ms, ships as a single ~100 KB bundle.
Install
Requirements: Node.js 18+.- npm (recommended)
- One-liner (macOS / Linux)
- One-liner (Windows)
- No-install (npx)
olostep init is the recommended next step — it signs you in, installs the Olostep skills into your AI agents, and configures the MCP server, all in one command. The one-liner scripts wrap npm install -g olostep-cli with a Node 18+ check and a sudo fallback, so they work even if you’re unsure of your local setup.
Platforms: macOS (Apple Silicon and Intel), Linux (x64 and arm64), Windows (x64 and arm64).
Set up
One command does everything — sign in, install skills, and install the MCP server:--skills-only, --mcp-only, --no-browser, --relogin.
To just sign in (no skills/MCP):
olostep login):
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/olostep-cli/credentials.json |
| Linux | ~/.config/olostep-cli/credentials.json |
| Windows | %USERPROFILE%\AppData\Roaming\olostep-cli\credentials.json |
Sign out
logout also warns you if OLOSTEP_API_KEY / OLOSTEP_API_TOKEN env vars or a .env file in your current directory still hold a key — those take priority over the credentials file, so deleting the file alone may not be enough. The output includes the exact unset commands for PowerShell and bash/zsh.
Quick start
--out <path> to save to a file.
What can it do?
| You want to… | Command | Olostep product |
|---|---|---|
| Search the web | search | Searches |
| Get a researched answer | answer | Answers |
| Discover URLs on a site | map | Maps |
| Pull one page | scrape | Scrapes |
| Pull every page on a site | crawl | Crawls |
| Pull many URLs from a CSV | batch-scrape | Batches |
| Extract structured fields | --parser-id on batch-scrape | Parsers |
| Refetch a result by ID | scrape-get | Scrapes |
| Tag/organize a batch | batch-update | Batches |
Output
Every command prints its JSON result to stdout by default.| Flag | Behavior |
|---|---|
| (none) | Print JSON to stdout (UTF-8, indented) |
--out <path> | Write JSON to that file instead |
--out - | Explicitly stdout (same as default) |
search— you want a list of relevant URLs and snippets for a query. The CLI searches the web for you.answer— you want a synthesized answer, not raw page content. The CLI does the research for you.scrape— you already have the URL and want clean content out.crawl— you want every page on a site (or a filtered subset) without enumerating URLs by hand.batch-scrape— you have a list of URLs and want them processed in parallel.
Commands
Useolostep <command> --help for every option.
search: live web search
Returns deduplicated organic links (URL, title, description).
| Option | Description |
|---|---|
--limit | Number of results, default 12, max 25 |
--include-domains | Comma-separated domains to restrict results to |
--exclude-domains | Comma-separated domains to exclude |
--out | File or - |
--json | Machine-readable output |
answer: researched answer
Synchronous — returns when the answer is ready.
| Option | Description |
|---|---|
--out | File or - |
--json-format | Optional JSON shape for structured output |
map: discover URLs
| Option | Description |
|---|---|
--out | File path or - |
--top-n | Max URLs to return |
--search-query | Optional query to guide discovery |
--include-subdomain / --no-include-subdomain | Subdomains |
--include-url / --exclude-url | Repeatable URL patterns |
--cursor | Pagination cursor |
scrape: one URL
Formats: html, markdown, text, json, raw_pdf, screenshot (comma-separated; default markdown).
| Option | Description |
|---|---|
--formats | Comma-separated |
--country | Country code (e.g. US, GB) |
--wait-before-scraping | Wait before scrape (ms) |
--payload-json / --payload-file | Advanced options as JSON |
scrape-get: fetch by ID
crawl: whole site
Starts a crawl, polls until finished, then retrieves page contents.
Retrieve formats: markdown, html, json.
Notable flags: --max-pages, --max-depth, --include-subdomain, --include-external, --include-url, --exclude-url, --search-query, --top-n, --webhook, --crawl-timeout, --formats, --pages-limit, --pages-search-query, --poll-seconds, --poll-timeout, --dry-run.
batch-scrape: CSV
CSV must have a header row with custom_id (or id) and url columns.
| Option | Description |
|---|---|
--formats | markdown, html, json (comma-separated) |
--country | Optional country code |
--parser-id | Parser ID for structured extraction |
--poll-seconds, --log-every, --items-limit | Polling and paging |
--dry-run | Print payload and exit |
batch-update: batch metadata
Requires one of --metadata-json or --metadata-file (JSON object).
Auth commands
auth set-key is useful for CI and scripts — write the key directly without going through the browser flow.
Install the MCP server
The CLI writes the Olostep MCP server into your agent’s config — no JSON editing.| Option | Description |
|---|---|
--agent | Specific agent, repeatable. Supported: cursor, claude, claude-desktop, windsurf, vscode, kilo, opencode, continue, codex |
--all-agents / --no-all-agents | Target every detected agent (default) |
--transport | http (hosted, recommended) or stdio (local npx olostep-mcp) |
--global / --no-global | Per-user config (default) vs project-local |
--api-key | Key to embed; defaults to resolved credentials |
--dry-run | Show the plan without writing |
--json | Machine-readable output |
https://mcp.olostep.com/mcp uses Authorization: Bearer <key> — no local Node process required. The CLI merges only the olostep key into your existing config. Restart your agent after install.
Skills for AI agents
The CLI ships 13 Olostep skills —SKILL.md files installed into Claude Code, Cursor, and other agents so they know what Olostep can do and when to use it.
Health checks
Version & updates
Environment variables
| Variable | Effect |
|---|---|
OLOSTEP_API_KEY | API key |
OLOSTEP_API_TOKEN | API key (legacy alias) |
OLOSTEP_JSON=1 | Force JSON output on every command (same as --json globally) |
OLOSTEP_NO_UPDATE_CHECK=1 | Silence the “update available” notice |
OLOSTEP_CLI_CONFIG_DIR | Override the credentials directory |
Windows / PowerShell notes
PowerShell tokenizes, and * differently from bash — quote arguments:
$ interpolation).
See what’s installed
Global flags
| Flag | Description |
|---|---|
-V, --version | Version |
-h, --help | Help |
--out, --timeout, and --api-key are available on every data command.
Security
Keep API keys out of source control; rotate if leaked.olostep logout removes the local credentials file and tells you if any env-var sources still hold a key.