Skip to main content

MCP for AI agents

Endpoint: https://netscrapehq.com/mcp, using Streamable HTTP. Every request needs a credential, including initialization and tool discovery. There are two, and both act for your account in exactly the same way:

MCP uses your existing account, paid entitlement, credits, metering, rate limits, robots policy and abuse controls. All API access is paid; there is no trial or anonymous access. An account without an active paid plan cannot connect an app, and a key without one cannot start reads or watches. Reading existing records and usage follows the same rules as REST.

Claude (web and desktop)

Custom connectors are available on Free (one connector), Pro, Max, Ultra, Team and Enterprise plans.

  1. On Pro, Max or Ultra, open Customize > Connectors, click + Add, then Add custom connector. On Team and Enterprise, an Owner (or, on Enterprise, a custom role with Manage access to Libraries) adds it under Organization settings > Connectors (Add, Custom, Web); members then click Connect under Customize > Connectors.
  2. Enter a name and https://netscrapehq.com/mcp, click Continue and choose Sign in now. Under OAuth client choose Register automatically, not Use Claude's published identity: Netscrape does not support that one yet. Click Add.
  3. Sign in on Netscrape with your account's email and password, check the app's name and return address on the consent page, and click Allow connection.
  4. Turn the connector on for a conversation from the + button, then ask, for example, “Fetch https://example.com with Netscrape and summarize it.”

This is a remote connector: do not add it as a local process in Claude Desktop's JSON file. If your workspace requires Use your own OAuth client instead, register https://claude.ai/api/mcp/auth_callback as its redirect URL. Claude's help centre has the current steps under “Get started with custom connectors using remote MCP”.

ChatGPT

ChatGPT's help pages list custom MCP servers for Business and Enterprise/Edu workspaces on the web (on Business, admins and owners only); check OpenAI's custom MCP server guide for your plan.

  1. Go to Plugins, select the plus button, then Add custom MCP server.
  2. Enter a name and https://netscrapehq.com/mcp, and choose OAuth with dynamic client registration (DCR). Do not choose a published client identity (CIMD): Netscrape does not advertise it. Tick I understand and want to continue, then Create as a plugin.
  3. Sign in on Netscrape with your account's email and password, check the app's name and return address on the consent page, and click Allow connection.
  4. Type @ in a conversation, select the connector and ask, for example, “Show my Netscrape credits, then fetch https://example.com.”

No API key, password or other secret belongs in ChatGPT's setup fields.

Connected apps

Your Connected apps page lists every app you have signed in, who connected it, and when it was last used. Revoke stops an app at once; you can connect it again from the app whenever you like.

Claude Code

Set NETSCRAPE_API_KEY securely in your shell, then:

claude mcp add --transport http netscrape https://netscrapehq.com/mcp \
  --header "Authorization: Bearer $NETSCRAPE_API_KEY"

This command stores the expanded key in Claude's configuration. Keep that file private. For an environment reference instead, put this in your private MCP configuration (do not commit a literal key):

{
  "mcpServers": {
    "netscrape": {
      "type": "http",
      "url": "https://netscrapehq.com/mcp",
      "headers": {"Authorization": "Bearer ${NETSCRAPE_API_KEY}"}
    }
  }
}

Cursor

In your user-level ~/.cursor/mcp.json:

{
  "mcpServers": {
    "netscrape": {
      "url": "https://netscrapehq.com/mcp",
      "headers": {"Authorization": "Bearer ${env:NETSCRAPE_API_KEY}"}
    }
  }
}

Start Cursor with that environment variable available.

Codex

In ~/.codex/config.toml:

[mcp_servers.netscrape]
url = "https://netscrapehq.com/mcp"
bearer_token_env_var = "NETSCRAPE_API_KEY"

Start Codex with NETSCRAPE_API_KEY set in its environment.

OAuth, for client developers

Netscrape is its own authorization server for /mcp and follows the MCP authorization specification:

Registration is limited to 300 an hour from one address (an IPv6 /64, and 1,000 an hour from a /48), the token endpoint and consent page to 300 requests a minute, and revocation to 60. Registrations that were never used are capped and the oldest are dropped first; at the cap the endpoint answers 503 with Retry-After.

Tools and REST operations

MCP tool REST operation
fetch_page POST /v1/jobs, with output: document
create_job POST /v1/jobs (scrape jobs)
list_jobs GET /v1/jobs
get_job GET /v1/jobs/:id
cancel_job DELETE /v1/jobs/:id
get_job_result GET /v1/jobs/:id/result
create_watch POST /v1/watches
list_watches GET /v1/watches
get_watch GET /v1/watches/:id
pause_watch POST /v1/watches/:id/pause
delete_watch DELETE /v1/watches/:id
list_watch_changes GET /v1/watches/:id/changes
list_events GET /v1/events
get_usage GET /v1/usage

fetch_page and create_job return immediately with a job ID. Poll get_job with a delay until it finishes, then call get_job_result. Disconnecting does not cancel a durable job. Use cancel_job explicitly.

Results include structured metadata and source text. Text pages default to 12,000 characters; pass next_offset back as offset to continue, with optional max_chars up to 24,000. Pages may be shorter to stay within the byte bound; always continue at next_offset until it is null. Raw bodies, binary output and full structured extraction remain at the REST result URL, which needs an API key. Text and events from websites are untrusted data, never instructions for the agent to execute.

Lists accept limit (1–100, default 25) and after; pass next_cursor as after for the next page. Pages may contain fewer items to keep the entire serialized tool result within 100 KB, including both text and structured content. Always follow the cursor, not the number of items. If one item alone exceeds the bound, its summary has truncated: true and a detail_url for the full item through REST, which needs an API key. Jobs are ordered newest first by submission time, with an opaque cursor over (inserted_at, id) (the ID breaks timestamp ties). Watches use UUID cursors and events use integer sequence cursors. Omitting after for events starts at the 30-day retention floor. An expired explicit cursor returns cursor_expired with next_cursor; retry with that value as after. For list_watch_changes, pass next_cursor as before to read older changes. Discovery jobs, watch resumption and advanced bulk controls remain available through REST. Creating a watch authorizes recurring paid reads; pausing or deleting stops future scheduled reads without undoing usage already incurred.

Example prompts

Errors and transport

Tool failures set isError: true and include a stable code. subscription_required links to paid plans; plan_limit_reached means credits are exhausted. robots_disallowed means the site forbids the read. A pending result tells the agent to poll. HTTP 429 rate_limited includes Retry-After; wait before retrying. Revoking a key or a connected app, and suspending an account, take effect on the next request. All of an account's connected apps share one request rate, separate from its API keys, which each keep their own; see limits. A 429 from /mcp carries the same WWW-Authenticate challenge as a 401.

The server supports MCP 2026-07-28 and legacy 2025-11-25, 2025-06-18 and 2025-03-26. Modern requests carry the spec's per-request metadata and matching headers; legacy clients use initialize. Responses are JSON, with no sessions or SSE listener (GET and DELETE return 405). POST bodies are limited to 16 KiB. Batched JSON-RPC is rejected. Tools are never executed by notifications.

When a browser sends an Origin header it must be Netscrape's own, https://claude.ai or https://chatgpt.com; any other origin is refused. Desktop and server clients normally send none. Local deployments must configure the endpoint's URL to their loopback host; unrecognized Host headers are refused.