# Browser automation for AI agents > morigraph's browser automation tool gives Claude, ChatGPT, Cursor, Codex or your own code a real browser that can click, type, navigate and extract on a public site. You state the goal in plain words and it returns the result. It costs 0.32 credits, about 3 cents, for each step the browser takes, and steps it does not use cost nothing. - **Tool name**: `browser_use` - **Price**: 0.32 credits (about $0.032) a step - **Providers**: TinyFish - **Call it from**: MCP, command line and HTTP API - **Needs**: one morigraph connection; no vendor account or API key ## What it is for - **Sites that need clicking**: Filters, pagination, search boxes and pages that only load after an action. - **Structured results**: Give a JSON Schema and get the answer back in that shape. - **When scraping came back empty**: A page that renders in the browser but not for a plain fetch. ## How to call it In your assistant (MCP). Connect once, then ask in plain words: ```sh claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp Open https://news.ycombinator.com, go to the second page and return the titles and links of the ten highest-scoring stories. ``` From a terminal or script (CLI): ```sh npx @morigraph/cli@latest login morigraph call browser_use --json-args '{"url":"https://news.ycombinator.com","goal":"Go to page 2 and return the titles and links of the ten highest-scoring stories.","max_steps":10}' ``` From your own code (HTTP API): ```sh curl https://api.morigraph.com/v1/tools/browser_use \ -H "Authorization: Bearer $MORIGRAPH_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"https://news.ycombinator.com","goal":"Go to page 2 and return the titles and links of the ten highest-scoring stories.","max_steps":10}' ``` What comes back: A job. Check it until it finishes, then read the result: the text or structured data the goal asked for. ## Arguments | Argument | Type | Required | What it is | |---|---|---|---| | `url` | string | no | The public page to start on. Required for a new run. | | `goal` | string | no | What to do or find there, in plain words, and what to return. Required for a new run. Never include passwords or other secrets. | | `max_steps` | integer | no | The most browser actions to pay for (default 14). The run stops there; unused steps cost nothing. | | `output_schema` | object | no | Optional JSON Schema the result should follow. | | `stealth` | boolean | no | Retry with this when a site blocked the run as a bot. | | `cancel` | boolean | no | With job_id: stop the run. Steps already taken are charged. | ## Good to know - You set the most steps you will pay for. The run stops there and unused steps are not charged. - It works on public pages only. Never put a password or other secret in the goal. - To read a page that loads without interaction, web scraping is free and faster. ## When to choose something else Choose Playwright or a browser you run yourself when the task needs your own login, runs on a schedule you control, or must be repeatable step for step. This tool is for one-off tasks on public sites that an assistant decides to do. ## How much does a browser task cost? 0.32 credits, about 3 cents, for each step the browser takes. A run stops at the limit you set (14 steps unless you change it), so the most a default run can cost is about 4.5 credits. ## Can it log in to a site for me? No. It works on public pages and takes no passwords or secrets. For a site that needs your account, connect that service to morigraph if it offers a connection. ## What if a site blocks it as a bot? Run it again with the stealth option, which is made for sites that turned the first run away. Some sites will still refuse. ## Related tools - [Web scraping](https://morigraph.com/tools/web-scraping.md): free - [Web search](https://morigraph.com/tools/web-search.md): 0 to 0.14 credits a call - [Data APIs](https://morigraph.com/tools/data.md): 480 APIs for social, search, maps and shopping data - [All tools](https://morigraph.com/tools.md) --- Canonical page: https://morigraph.com/tools/browser-automation/ Prices read from the production service on 2026-11-27. Connect: https://morigraph.com/connect.md · API docs: https://morigraph.com/docs.md · Site overview: https://morigraph.com/llms.txt