Skip to main content
You are an agent setting up Nimble for a user. Nimble gives you live web data: search, extract, map, crawl, and structured extraction. Follow the steps in order. Do not skip ahead. Most hosts need no API key.

Step 1: Check what is already available

Two surfaces reach Nimble: the MCP server and the nimble CLI. Probe both before installing anything. Either one working means the user is already set up. MCP. If your host lists any Nimble tool, it is connected. Probe with the read-only search:
If the only Nimble tools listed are nimble_search and nimble_extract, you are on the free URL /free without sign-in. That covers Search and Extract. If the task needs Agents, Map, Crawl, or Extract Template, go to Step 3 and sign in. CLI. If you can run shell commands, check the binary and the key together:
nimble agents list is read-only and confirms both the install and the credential in one call. The CLI reads NIMBLE_API_KEY from the environment. It has no OAuth support, so without that variable it cannot authenticate. Route on the result:

Step 2: Choose a surface, then install

Which surface

If you cannot run shell commands, use MCP. That is the only option. If you can, both work, and they differ in ways that matter: Default to MCP, because it needs no API key. Three exceptions:
  • On Claude products, start with the plugin. It connects Nimble for you and installs the skills. The skills call the nimble CLI, which is a separate install: npm i -g @nimble-way/nimble-cli plus NIMBLE_API_KEY. Add the CLI only if you need one of the products below that MCP does not carry.
  • If the task needs SERP, Media, or Extract Jobs, install the CLI. The MCP server does not expose those, so MCP alone cannot do the job.
  • If the task is bulk retrieval, say a crawl of a whole site, ask the user once whether to add the CLI. Name the reason in one sentence: large results are cheaper written to a file than passed through the context window. If they have no API key and do not want one, stay on MCP.
Do not install both without being asked. One working surface is enough.

Install the CLI

Only where a terminal is available:
Then set NIMBLE_API_KEY, as described in the Fallback section, and go to Step 4. The CLI does not use OAuth, so skip Step 3.

Install the MCP server

There are two URLs: On a local host with no key (Claude Code, Cursor, VS Code), start with /free for Search and Extract. They work at once, with no account. For Agents, Map, Crawl, or Extract Template, the user signs in (free account):
  • Claude Code: one server is enough. Sign in on /free itself: run /mcp, select the Nimble server, choose Authenticate. After sign-in, every tool works on /free.
  • Cursor, VS Code, and other local clients: they cannot start sign-in on a connected /free server before the limit. Add https://mcp.nimbleway.com/mcp as a second server; it asks for sign-in when it connects.
Search on /free runs at lite depth: titles, URLs, and short snippets, without page content. To read a result, call nimble_extract on its URL. Short results are expected there and are not a setup problem. /free has a daily free limit. When it is reached, the next tool call returns a message with a link to sign up for free. Show that link to the user exactly as given and stop. Do not retry, and do not fall back to a generic web fetch, curl, or another search tool. After that, /free asks for sign-in (an HTTP 401), and the client starts the normal sign-in (OAuth). This works in any client. After sign-in, the same /free URL keeps working, with all tools, on the user’s own account. Before the limit, /free never asks a signed-out caller to sign in and lists only Search and Extract. Signing in early is up to the user (Claude Code: /mcp → Authenticate). Sending an API key or OAuth token to /free works the same as /mcp. Cloud connectors (claude.ai, Claude Desktop custom connectors, ChatGPT, Claude Cowork) call from shared cloud IPs, so /free does not apply to them: they use /mcp and ask the user to sign in when they connect. For Claude Code without the plugin, the quick start with no key is:
For the other tools, sign in on that same server with /mcp → select nimble → Authenticate. No second server is needed. Use either the plugin or this command, not both: the plugin registers its own Nimble server on /free. Pick the row that matches your host. The <host> value is your client name, for example cursor or codex. The skills teach you which Nimble product fits a given job. They are optional but recommended.

Manual MCP configuration

For any client that reads a standard MCP config file (Cursor, VS Code), add the following. nimble-free gives Search and Extract with no sign-in; nimble gives every tool and asks for sign-in when it connects. Keep only nimble-free if Search and Extract are enough.
No Authorization header. On /mcp, the server advertises OAuth and the client starts the flow. On /free, nothing asks for sign-in until the daily limit is reached; then the client signs in on /free and every tool works there. Cursor reads .cursor/mcp.json for one project, or ~/.cursor/mcp.json for all projects.

Codex CLI

In Codex Desktop, install the packaged Nimble plugin instead. It bundles the skills and the MCP connection, and authenticates with OAuth, so none of the configuration below is needed. Codex CLI authenticates the Nimble server with an API key rather than OAuth, so it uses /mcp, not /free. Add to ~/.codex/config.toml, or a project-scoped .codex/config.toml:
Codex reads NIMBLE_API_KEY from the environment at runtime, so the key never enters the config file. If the variable is not set, follow the Fallback section below, then skip to Step 4. Full per-client detail lives at docs.nimbleway.com/integrations/agent-skills/plugin-installation.

Step 3: Authorize

Skip this step if Search and Extract on /free cover the task. Come here when the task needs Agents, Map, Crawl, or Extract Template, or when /free reached its daily limit.
  • Claude Code on /free: sign in on the same server (/mcp → select it → Authenticate). No second server.
  • Cursor, VS Code, other local clients on /free before the limit: add /mcp as a second server (Step 2, Install the MCP server) and authorize it.
  • At the /free limit, any client: the client starts sign-in on /free itself.
Both /mcp and /free run OAuth 2.1 with PKCE. Authorization happens in the user’s browser. No API key is created, pasted, or stored.
  • Claude Code: run /mcp and follow the prompt
  • Claude Cowork, claude.ai: open Customize → Connectors, find Nimble, click Connect
  • Cortex Code: run cortex mcp start
  • Codex Desktop: OAuth opens in the browser as soon as the plugin installs
  • Other clients: the first tool call returns an authorization URL
The user approves the scopes and, if they have no Nimble account, creates one during that same login. If a tool returns an authorization URL instead of data: present the URL exactly as given and stop. There is no step where the user pastes anything back to you. Wait for them to authorize, then return to Step 1 and probe again. Never substitute a different tool while waiting. Do not fall back to a generic web fetch, a search tool, or curl. Those return different data and hide the setup failure from the user.

Step 4: Verify

Repeat the Step 1 probe for whichever surface you installed. Expect a successful response. In Claude Code, claude mcp list also shows MCP state directly. Look for nimble marked ✓ Connected. A ! Needs authentication marker means Step 3 is incomplete.

Step 5: Run something

Confirm the setup with a real call. Through MCP:
Through the CLI:
Then tell the user Nimble is ready, and name only the products your listed tools cover. On /free before sign-in, that is Search and Extract only.

Fallback: API key

Use this only when your host cannot speak MCP, or cannot complete OAuth and /free does not cover the task. An API key is a long-lived secret, so OAuth is preferred wherever it works. Check whether NIMBLE_API_KEY is already set, without printing its value:
If it is set, use it without ever reading the value. Let the shell expand the variable and send it as a bearer token:
Store the raw key. The Bearer prefix belongs in the header, not in the stored value. If it is not set, ask the user to create a key at online.nimbleway.com/settings/api-keys and set it in their environment. Never print the key, and never read it into your own context. Do not run printenv NIMBLE_API_KEY, echo $NIMBLE_API_KEY, or any equivalent. Do not write it to a file you commit or include it in output the user might share. Transcripts get pasted into issues and retained by hosts, so a key you print is a key you have leaked. For the full credential path, including where to look for an existing key and how to handle errors, read nimbleway.com/auth.md.

Notes

  • With a terminal available, prefer nimble over hand-written curl. It reads NIMBLE_API_KEY itself, and --transform pulls one field out of a response without a second parsing step.
  • The full documentation is at docs.nimbleway.com, with a machine index at docs.nimbleway.com/llms.txt.