> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Onboard your agent

> Paste one line into Claude Code, Codex, Cursor or any agent with a shell, and it sets WebRouter up by itself.

WebRouter gives your agent web search and page reading through one interface,
across about 30 providers. Search and page reading work free, with no key.

Fastest path: paste this into your coding agent and it sets WebRouter up by itself.

```text theme={null}
Read and follow https://docs.webrouter.net/agents.md
```

In a minute or two, with no account, your agent installs the MCP server, runs
a free search and page read, and reports which provider answered, what it cost
and how long it took. It then suggests a next step. The one prerequisite,
[uv](https://docs.astral.sh/uv/getting-started/installation/), it installs
itself if it is missing.

To read or tweak the steps it follows, see [Agent setup](https://docs.webrouter.net/agents.md).

## What you should see

A short report like this one, followed by the answer and its source:

| Call | `provider` | `cost_usd` | `cost_source` | `elapsed_s` |
| - | - | - | - | - |
| search | nimble | 0.0 | keyless | 2.2 |
| extract | nimble | 0.0 | keyless | 1.8 |

* **`provider`** names the vendor that answered. With no key, `auto` tries the
  free vendors in order and passes the call on when one is rate-limited, down
  or returns nothing; see [Free web access](https://docs.webrouter.net/free-web-access.md).
* **`cost_usd` is `0.0`** for a free call, and `cost_source` says `keyless`.
  With a vendor key already in your environment, `auto` uses that vendor
  first: `cost_source` reads `estimated` and the call bills.
* **The next step** is your call. Keys go in a `.env` file you edit yourself:
  [Configuration](https://docs.webrouter.net/configuration.md) names every variable. Your agent never needs
  to see one.

## Check that your agent uses it

Installing the MCP server does not mean your agent reaches for it. Start a new
session, so the `web-router` tools load, and ask something that needs the live
web:

```text wrap theme={null}
What changed in the latest release of a library this project uses? Use the web-router search tool, and tell me which provider answered.
```

The agent should call `search` from the `web-router` server and name a
provider. If it uses its built-in search instead, give it the
[agent system prompt](https://docs.webrouter.net/agent-prompt.md), or install the
[Claude Code skill](https://github.com/Nimbleway/webrouter/tree/main/skills/web-router)
that tells it when to use each tool.

## Undo it

Removing the server takes one command per client, and touches nothing else in
your client's configuration: see [Remove it](https://docs.webrouter.net/mcp-server.md#remove-it).

## Next steps

> [card] [MCP server](https://docs.webrouter.net/mcp-server.md)
>
> Every tool, keys mid-conversation, and serving fewer tools.

> [card] [Free web access](https://docs.webrouter.net/free-web-access.md)
>
> The free vendors behind `auto`, and their free plans with a key.

> [card] [Production](https://docs.webrouter.net/production.md)
>
> Keys, budgets, timeouts and the go-live checklist.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.