Web Resource Ledger

v1.7.0
io.github.benpeter/web-resource-ledger Checked 1 day ago Published 3 days ago

Capture web pages as cryptographically signed, tamper-evident evidence with WACZ archives.

B 80/100 Discovery passed License not confirmed CryptoDevOps

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

capture_url

Capture a web page as tamper-evident evidence. Takes a screenshot, saves rendered HTML and HTTP headers, and creates a cryptographically signed WACZ bundle with Ed25519 signature and RFC 3161 timestamp. Returns a capture ID — use get_capture to check progress. Typically completes in 20-60 seconds. Failed attempts are retried, so a capture can stay pending for a few minutes; one still pending after 24 hours is marked failed.

ParameterTypeDescription
url *stringThe URL to capture (http:// or https://).

get_capture

Get the status and details of a capture by ID. Returns status (pending, complete, failed) and when complete includes artifact URLs for screenshot, HTML, WACZ bundle, and a verification link. No additional auth scope needed beyond the route-level read scope.

ParameterTypeDescription
capture_id *stringThe capture ID (format: cap_ followed by 32 hex characters).

list_captures

List your recent captures with optional filters. Returns summaries in reverse chronological order (newest first by default). Supports filtering by status, URL prefix, host, date range, schedule, and custom sort. Use offset for pagination. Use get_capture with a specific ID for full details.

ParameterTypeDescription
created_afterstringFilter captures created after this ISO 8601 timestamp.
created_beforestringFilter captures created before this ISO 8601 timestamp.
hoststringOnly captures of this host, http and https together, such as 'example.com' or 'example.com:8443'.
limitintegerMaximum number of captures to return (1-100, default 20).
offsetintegerNumber of captures to skip for pagination (default 0).
schedule_idstringOnly captures made by this schedule (sch_ followed by 32 hex characters). Use list_schedules to find schedule IDs.
sortstringSort order: -created_at (newest first, default) or created_at (oldest first).
statusstringFilter by capture status.
urlstringFilter captures whose URL starts with this prefix (min 4 characters).

verify_capture

Verify the cryptographic integrity of a captured web page. Checks artifact hashes, WACZ bundle hash, Ed25519 signature, and RFC 3161 timestamp, plus the eIDAS-qualified timestamp when the capture has one. Confirms the evidence has not been tampered with since capture.

ParameterTypeDescription
capture_id *stringThe capture ID to verify.

batch_capture

Submit up to 20 URLs for capture in a single call. Returns a per-item status report showing accepted captures and any rejected URLs with reasons. Typically enqueues in under 2 seconds; each capture then typically completes in 20-60 seconds. Use get_capture with each returned ID to track progress.

ParameterTypeDescription
urls *arrayArray of URLs to capture (http:// or https://, max 20).

diff_captures

Compare two complete captures owned by this account and return a structured diff of HTML, page text (word by word, without markup), screenshot, and HTTP headers. Both captures must be in complete status; pending or failed captures are not eligible. Use the summary to quickly see whether the page changed, then inspect the html or headers sections for details.

ParameterTypeDescription
base_id *stringCapture ID of the base (earlier) capture (format: cap_ followed by 32 hex characters).
target_id *stringCapture ID of the target (later) capture to compare against the base.

read_sitemap

Read a sitemap (or a sitemap index and up to 10 of its child sitemaps) and return up to 200 page URLs. Nothing is captured; pass the URLs to batch_capture in groups no larger than your per-minute rate limit (10 by default). Private addresses, compressed (.xml.gz) sitemaps and sitemaps over 5 MB are refused. Requires the capture scope; 10 reads per minute.

ParameterTypeDescription
url *stringURL of the sitemap, for example https://example.com/sitemap.xml

get_usage

Return current-period quota usage for this account, including capture count, storage bytes, billing status, and reset date. No additional scope is required beyond the read scope used for MCP access. Use this to check remaining quota before submitting large batches.

list_sites

List the websites (hosts) this account has captures of, with how many pages and captures each has and when it was last captured. Sites with settings come first, with how they are kept current, how many pages need attention and the ownership status. Use list_site_pages to see the pages of one site.

list_site_pages

List the pages of one site (host) this account has captured: per page the number of captures and versions (a version is a run of captures with the same page text), when its text last changed, and the state of its latest capture (on_record, capturing, failed, error_status, partial, quarantined) with its verification link. Filter with state ('attention' = failed, error_status or partial; 'changed' = pages whose text changed at least once) and prefix (a path such as '/blog/').

ParameterTypeDescription
host *stringThe site's host, such as 'example.com' (http and https together).
afterstringReturn pages after this URL (the next cursor from the previous answer).
limitintegerMaximum pages to return (1-500, default 100).
prefixstringOnly pages whose path starts with this, such as '/blog/'.
statestringOnly pages in this state.

get_page_history

The history of one page this account has captured: its versions (a version is a run of captures with the same page text), newest first, each with when it was first and last seen, its captures with their verification links and how they were started (publish, check, schedule, request), and a comparison link to the version before. Give at (a date such as '2026-03-03', meaning the end of that day in UTC, or a time) to ask what the page said then: you get the last capture at or before it and the first after it, and whether both show the same text.

ParameterTypeDescription
url *stringThe page's full URL, as captured, such as 'https://example.com/pricing'.
atstringA date (2026-03-03) or ISO 8601 time to ask what the page said then.

list_site_changes

What changed on one of your sites (host) lately: the captures whose page text differs from the capture of the same page before, newest first, across all pages. Each has the page, when WRL captured it, its version number (as in get_page_history), the capture ID and a comparison link (diffUrl, add ?include=text for a word-by-word text diff). Give since (a date such as '2026-03-01', meaning the start of that day in UTC, or a time) to see only recent changes.

ParameterTypeDescription
host *stringThe site's host, such as 'example.com'.
beforestringAn ISO 8601 time from nextBefore, for the next page of older changes.
limitintegerHow many changes, 1 to 200 (default 50).
sincestringA date (2026-03-01) or ISO 8601 time: only changes from then on.

check_site

Capture pages of one of your sites (host) now, or ask WRL to check the site's sitemap and capture the pages that have no capture yet or whose sitemap lastmod is later than their latest capture. Give urls to capture those pages (up to 100, all on the site; paths like '/pricing' work). Without urls WRL runs a check within about a minute, at most one per site per 5 minutes. Use it after you publish or deploy. Requires capture scope.

ParameterTypeDescription
host *stringThe site's host, such as 'example.com'.
urlsarrayPages to capture now, on the site. Leave out to ask for a check of the sitemap.

list_schedules

List all scheduled captures registered for this account, including their URL, cron expression, and next scheduled run time. Requires capture scope. Use create_schedule to add a new schedule or delete_schedule to remove one.

create_schedule

Register a recurring capture schedule for a URL, or for a watch list of up to 100 URLs (urls), using a cron expression. Requires capture scope; minimum interval is hourly. Returns the new schedule ID and next scheduled run time. Use list_schedules to see all schedules or delete_schedule to remove one.

ParameterTypeDescription
cron *stringCron expression defining the capture frequency (e.g. "0 * * * *" for hourly). Minimum interval: 1 hour.
name *stringA human-readable name for this schedule (1-128 characters, letters, digits, spaces, and _ . : - only).
urlstringThe URL to capture on each scheduled run (http:// or https://). Give url or urls, not both.
urlsarrayA watch list: 1 to 100 URLs, each captured on every run. Every URL counts against the monthly capture limit on each run.

delete_schedule

Delete a scheduled capture by ID. Requires capture scope. Answers "Schedule not found." both for an ID that doesn't exist and for another account's schedule, without telling them apart. Deletion is immediate and irreversible. Use list_schedules to find schedule IDs.

ParameterTypeDescription
schedule_id *stringThe schedule ID to delete (format: sch_ followed by 32 hex characters).

update_schedule

Change a schedule: rename it, point it at a different URL or list of URLs, change how often it runs, or pause and resume it. Pass only the fields to change. Resuming, or changing the frequency, sets the next run to the next matching time from now; missed runs are not caught up.

ParameterTypeDescription
schedule_id *stringSchedule ID (sch_ followed by 32 hex characters).
cronstringNew 5-field cron expression in UTC, at most hourly.
namestringNew name: 1-128 characters, letters, digits, spaces and _ . : -
pausedbooleantrue pauses the schedule, false resumes it.
urlstringNew URL to capture (http or https, public address). Replaces a watch list with this one URL.
urlsarrayNew watch list: 1 to 100 URLs, replacing the current URL or list. Give url or urls, not both.

get_certificate

Retrieve certificate metadata for a complete capture, summarizing the FRE 902(13) attestation details, bundle hash, Ed25519 key ID, and timestamp status. Returns formatted text, not a binary PDF; use the certificate URL to download the actual PDF. Useful for programmatic verification of signing metadata before presenting evidence.

ParameterTypeDescription
capture_id *stringThe capture ID (format: cap_ followed by 32 hex characters).