urlscan.io MCP by usefulapi

Submit URL scans, search past scans, and read scan verdicts and infrastructure in urlscan.io.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
72%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,340Tokens (tool definitions)
~1.0 KBTypical response size
Moderate attention impact (1.05% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "urlscan": {
      "url": "https://urlscan.usefulapi.io/mcp"
    }
  }
}

Remote endpoints

https://urlscan.usefulapi.io/mcpstreamable-http

What it can do

Tool inventory

Tools (5)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢urlscan_get_quotas

Your urlscan.io API quotas and current usage, per action (public / unlisted / private scans, search, result retrieval, ...) and per minute, hour and day: limit, used, remaining, percent. Check it before submitting scans. GET /api/v1/quotas.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢urlscan_list_scan_countries

Two-letter country codes a scan can be run from (the `country` option of urlscan_submit_scan). Free plans may only be able to pick a country for public scans. GET /api/v1/availableCountries.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢urlscan_search(q, size, search_after)

Search urlscan.io's index of past scans (public scans by anyone, plus your own unlisted/private scans). `q` is an Elasticsearch query string, e.g. `domain:example.com`, `page.domain:example.com AND date:>now-7d`, `ip:1.2.3.4`, `page.asn:AS13335`, `hash:<sha256>`, `filename:login.js`, `task.tags:phishing`, `page.title:"Sign in"`. Returns per hit: scan_id, URL, domain, IP, country, ASN, title, status, stats, and links to the result page and screenshot. Pass next_search_after as search_after for the next (older) page. Free keys can only search a limited number of recent days (search_date_limit_days in the reply). GET /api/v1/search/.

Input Schema

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000,
      "description": "Elasticsearch query string, e.g. domain:example.com AND date:>now-7d"
    },
    "size": {
      "description": "Hits per page, 1-100 (default 25).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "search_after": {
      "description": "Paging cursor: the previous reply's next_search_after.",
      "type": "string",
      "pattern": "^[A-Za-z0-9._:,-]{1,200}$"
    }
  },
  "required": [
    "q"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴urlscan_submit_scan(url, visibility, country, tags)

WRITE: submit ONE URL to urlscan.io to be loaded in a sandbox browser and analysed. It uses your scan quota for the chosen visibility (the free plan has 50 private scans per day; check urlscan_get_quotas), and urlscan.io's browser will visit the URL. Visibility defaults to PRIVATE (visible only to you). `unlisted` shows the URL to vetted security researchers; `public` shows the URL and the whole result to everyone on urlscan.io: use it only for URLs that carry no personal or non-public information. Returns the scan_id and links; the result is ready after about 10-30 seconds: call urlscan_get_scan_result (it reports `pending` until then). If the account has "Enforce visibility" enabled in its urlscan.io settings, that setting overrides the requested visibility (the reply then carries a warning). Never put passwords, tokens or personal data in the URL. POST /api/v1/scan/.

Input Schema

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048,
      "description": "The ONE absolute http(s) URL to scan, e.g. https://example.com/login."
    },
    "visibility": {
      "description": "Who can see the scan: private (default, only you), unlisted (you + vetted researchers), public (everyone).",
      "type": "string",
      "enum": [
        "private",
        "unlisted",
        "public"
      ]
    },
    "country": {
      "description": "Scan from this country (two-letter code; see urlscan_list_scan_countries). Omit to let urlscan.io choose.",
      "type": "string",
      "pattern": "^[A-Za-z]{2}$"
    },
    "tags": {
      "description": "Up to 10 tags (max 30 characters each) to annotate the scan.",
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 30
      }
    }
  },
  "required": [
    "url"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢urlscan_get_scan_result(scan_id)

The result of a scan, summarised: verdicts (overall, urlscan, engines, community: score, malicious, categories, brands), page facts (IP, country, ASN, server, title, HTTP status, domain age, TLS), request stats, contacted domains / IPs / URLs / file hashes (capped lists), detected technologies, downloads, the redirect chain, and LINKS to the result page, screenshot and DOM snapshot (the screenshot and DOM are not returned as data). Cookies, storage and response bodies are left out. If the scan has not finished the answer is status `pending`: retry in 5-10 seconds. Needs an API key to read. GET /api/v1/result/{scan_id}/.

Input Schema

{
  "type": "object",
  "properties": {
    "scan_id": {
      "type": "string",
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
      "description": "Scan id (UUID) from urlscan_submit_scan or urlscan_search."
    }
  },
  "required": [
    "scan_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded5 tools