ArchiveBox API
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Host address for HTTP transport | 0.0.0.0 |
| PORT | No | Port number for HTTP transport | 8000 |
| AUTH_TYPE | No | Authentication type: 'none', 'static', 'jwt', 'oauth-proxy', 'oidc-proxy', 'remote-oauth' | none |
| TRANSPORT | No | Transport method: 'stdio', 'http', or 'sse' | stdio |
| EUNOMIA_TYPE | No | Eunomia authorization type: 'none', 'embedded', 'remote' | none |
| TOKEN_ISSUER | No | Issuer for JWT verification | |
| OIDC_BASE_URL | No | Base URL for OIDC Proxy | |
| ARCHIVEBOX_URL | No | URL of the ArchiveBox instance | |
| OAUTH_BASE_URL | No | Base URL for OAuth Proxy | |
| OIDC_CLIENT_ID | No | OIDC client ID | |
| TOKEN_AUDIENCE | No | Audience for JWT verification | |
| TOKEN_JWKS_URI | No | JWKS URI for JWT verification | |
| OIDC_CONFIG_URL | No | OIDC configuration URL | |
| REMOTE_BASE_URL | No | Base URL for Remote OAuth | |
| ARCHIVEBOX_TOKEN | No | Token for token authentication | |
| ARCHIVEBOX_VERIFY | No | Whether to verify SSL certificates | True |
| ARCHIVEBOX_API_KEY | No | API key for API key authentication | |
| EUNOMIA_REMOTE_URL | No | URL for remote Eunomia server | |
| OIDC_CLIENT_SECRET | No | OIDC client secret | |
| ARCHIVEBOX_PASSWORD | No | Password for basic authentication | |
| ARCHIVEBOX_USERNAME | No | Username for basic authentication | |
| EUNOMIA_POLICY_FILE | No | Policy file for embedded Eunomia | mcp_policies.json |
| REMOTE_AUTH_SERVERS | No | Comma-separated list of authorization servers for Remote OAuth | |
| OAUTH_UPSTREAM_CLIENT_ID | No | Upstream client ID for OAuth Proxy | |
| ALLOWED_CLIENT_REDIRECT_URIS | No | Comma-separated list of allowed client redirect URIs | |
| OAUTH_UPSTREAM_AUTH_ENDPOINT | No | Upstream authorization endpoint for OAuth Proxy | |
| OAUTH_UPSTREAM_CLIENT_SECRET | No | Upstream client secret for OAuth Proxy | |
| OAUTH_UPSTREAM_TOKEN_ENDPOINT | No | Upstream token endpoint for OAuth Proxy |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
archivebox-api MCP Server — one typed tool per API operation.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| archivebox_ingest_snapshotsA | List ArchiveBox snapshots and natively ingest them into the knowledge graph. Pushes :Snapshot (+ :Tag + :hasTag) nodes and per-snapshot :Document page-text,
plus nested :ArchiveResult links, via the fast engine client. Best-effort:
returns |
| archivebox_ingest_archiveresultsB | List ArchiveBox archive results and ingest them as :ArchiveResult nodes. Best-effort: returns |
| web_fetchA | Fetch one web page under the web-source contract: robots.txt, a per-domain rate limit, max_bytes and accepted_types. text_markdown holds the page body as text. |
| web_extractB | Fetch one web page and extract its main content as markdown with title, author, published date, canonical URL and outbound links. |
| archivebox_add_tag_to_snapshotC | POST /api/v1/core/tags/add-to-snapshot/ Add a tag (by name, created when missing, or by id) to a snapshot. Args: snapshot_id: The snapshot id. tag_name: Tag name. tag_id: Tag id. |
| archivebox_browser_sessionA | POST /api/v1/auth/browser_session Exchange an administrator API key for a normal browser session (the response sets the session cookie used by the web UI and file views). |
| archivebox_check_api_tokenA | Validate an API token to make sure it's valid and non-expired Args: token: The API token to validate. Returns: Response: The response object from the POST request. Raises: ParameterError: If the provided parameters are invalid. |
| archivebox_cli_addA | POST /api/v1/cli/add Add URLs to the archive (one crawl; one snapshot per URL) and queue them for capture. Args:
urls: URLs (or text/feeds the parser extracts URLs from) to archive.
tag: Comma-separated tag names applied to every new snapshot.
depth: Crawl depth (0 = only these URLs, 1 = also their outlinks).
snapshot_ids: Re-run capture on these existing snapshots instead.
max_urls: Cap on URLs the crawl may queue (0 = unlimited).
crawl_max_size: Cap on total crawl bytes (0 = unlimited).
crawl_timeout: Crawl time limit in seconds (0 = unlimited).
snapshot_max_size: Cap on bytes per snapshot (0 = unlimited).
parser: Input parser ( |
| archivebox_cli_removeA | POST /api/v1/cli/remove Delete the snapshots the selection matches, and their files. Destructive: always pass the narrowest selection (an exact URL, or one tag). Args:
after: Only snapshots bookmarked after this Unix time.
before: Only snapshots bookmarked before this Unix time.
filter_type: How |
| archivebox_cli_scheduleB | POST /api/v1/cli/schedule Create, list or clear recurring archive schedules. Args:
import_path: URL or feed to re-import on each run.
add: Create a schedule.
show: List existing schedules.
foreground: Run the scheduler in the foreground.
run_all: Run every schedule now.
quiet: Less output.
every: Interval ( |
| archivebox_cli_searchB | POST /api/v1/cli/search Search the archive index and export the matches (JSON, HTML or CSV). Args:
after: Only snapshots bookmarked after this Unix time.
before: Only snapshots bookmarked before this Unix time.
filter_type: How |
| archivebox_cli_updateB | POST /api/v1/cli/update Re-archive (or re-index) the snapshots the selection matches. Args:
after: Only snapshots bookmarked after this Unix time.
before: Only snapshots bookmarked before this Unix time.
filter_type: How |
| archivebox_create_archiveresultA | POST /api/v1/core/archiveresults Create (or update) an archive result produced outside the server, for example evidence captured by another web connector, with optional output files. Args:
snapshot_id: The snapshot the result belongs to.
plugin: Plugin name to file the result under.
output_str: Output summary text.
hook_name: Hook name (server default when omitted).
status: Result status (default |
| archivebox_create_crawlA | POST /api/v1/crawls/crawls Create a crawl over seed URLs (queued; the orchestrator snapshots them). Args:
urls: Seed URLs.
max_depth: Outlink depth to follow.
tags: Tag names for the crawl's snapshots.
tags_str: Comma-separated tag names (alternative to |
| archivebox_create_snapshotB | POST /api/v1/core/snapshots Create one snapshot for a URL (queued for archiving). Args: url: The URL to snapshot. crawl_id: Attach the snapshot to an existing crawl. depth: Crawl depth of this snapshot. title: Initial title. tags: Tag names to apply. status: Initial status (default queued). |
| archivebox_create_tagB | POST /api/v1/core/tags/create/ Create a tag (returns the existing tag when the name is taken). Args: name: Tag name. |
| archivebox_delete_crawlC | DELETE /api/v1/crawls/crawl/{crawl_id} Delete a crawl. Args: crawl_id: The crawl id. |
| archivebox_delete_snapshotC | DELETE /api/v1/core/snapshot/{snapshot_id} Delete one snapshot and its archive results. Args: snapshot_id: The snapshot id. |
| archivebox_delete_tagB | DELETE /api/v1/core/tag/{tag_id} Delete a tag (snapshots keep existing, untagged). Args: tag_id: Tag id. |
| archivebox_get_anyB | GET /api/v1/core/any/{id} Resolve any object (snapshot, archive result, tag, crawl) by its id; follows the server's redirect to the object's own endpoint. Args: id: The object id. |
| archivebox_get_api_tokenB | Generate an API token for a given username & password Args: username: The username for authentication. password: The password for authentication. Returns: Response: The response object from the POST request. Raises: ParameterError: If the provided parameters are invalid. |
| archivebox_get_archiveresultC | GET /api/v1/core/archiveresult/{archiveresult_id} Read one archive result. Args: archiveresult_id: The archive result id. |
| archivebox_get_archiveresultsA | GET /api/v1/core/archiveresults List archive results (one per plugin run on a snapshot). Args:
id: Filter by result id.
search: Search snapshot url/title/tags, plugin, output and id.
snapshot_id: Results of this snapshot.
snapshot_url: Results of the snapshot with this URL.
snapshot_tag: Results of snapshots with this tag.
status: Result status (queued, started, succeeded, failed, skipped,
noresults).
output_str: Output text contains.
plugin: Plugin name (for example |
| archivebox_get_binariesC | GET /api/v1/machine/binaries List the capture binaries (chromium, wget, yt-dlp, ...) and their status. Args: id: Binary id. name: Binary name. binprovider: Provider (apt, pip, npm, env, ...). status: Install status. machine_id: Machine id. version: Version. limit: Page size. offset: Page offset. page: Page number. |
| archivebox_get_binaries_by_nameC | GET /api/v1/machine/binary/by-name/{name} List the installed binaries with this name. Args: name: Binary name. |
| archivebox_get_binaryC | GET /api/v1/machine/binary/{binary_id} Read one binary. Args: binary_id: The binary id. |
| archivebox_get_crawlB | GET /api/v1/crawls/crawl/{crawl_id} Read one crawl, optionally with its snapshots and archive results. Args: crawl_id: The crawl id. as_rss: Return the crawl's snapshots as an RSS feed. with_snapshots: Embed the crawl's snapshots. with_archiveresults: Embed each snapshot's archive results. |
| archivebox_get_crawl_fileB | GET /api/v1/crawls/crawl/{crawl_id}/files/{filename} Read a file at the root of a crawl's output directory. Args: crawl_id: The crawl id. filename: File name. |
| archivebox_get_crawl_folder_fileB | GET /api/v1/crawls/crawl/{crawl_id}/files/{folder}/{filename} Read a file one folder deep in a crawl's output directory. Args: crawl_id: The crawl id. folder: Folder name. filename: File name. |
| archivebox_get_crawl_subfolder_fileB | GET /api/v1/crawls/crawl/{crawl_id}/files/{folder}/{subfolder}/{filename} Read a file two folders deep in a crawl's output directory. Args: crawl_id: The crawl id. folder: Folder name. subfolder: Subfolder name. filename: File name. |
| archivebox_get_crawlsA | GET /api/v1/crawls/crawls List crawls (one crawl per add/schedule run, holding its snapshots). |
| archivebox_get_current_machineB | GET /api/v1/machine/machine/current Read the machine serving this API. |
| archivebox_get_machineC | GET /api/v1/machine/machine/{machine_id} Read one machine. Args: machine_id: The machine id. |
| archivebox_get_machinesC | GET /api/v1/machine/machines List the machines (workers) that have run archiving. Args: id: Machine id. hostname: Hostname. os_platform: OS platform. os_arch: CPU architecture. hw_in_docker: Running in a container. hw_in_vm: Running in a VM. bin_providers: Binary providers. limit: Page size. offset: Page offset. page: Page number. |
| archivebox_get_personasB | GET /api/v1/personas/personas List browser personas (named cookie/profile sets used for capture). Args: limit: Page size. offset: Page offset. page: Page number. |
| archivebox_get_snapshotB | GET /api/v1/core/snapshot/{snapshot_id} Read one snapshot by id, optionally with its archive results. Args: snapshot_id: The snapshot id. with_archiveresults: Embed the snapshot's archive results. |
| archivebox_get_snapshotsB | GET /api/v1/core/snapshots List snapshots matching these filters (paginated). Args:
id: Filter by snapshot id (prefix match).
created_by_id: Filter by creator id.
created_by_username: Filter by creator username.
created_at__gte: Created at or after (ISO 8601).
created_at__lt: Created before (ISO 8601).
created_at: Exact creation time (ISO 8601).
modified_at: Exact modification time (ISO 8601).
modified_at__gte: Modified at or after (ISO 8601).
modified_at__lt: Modified before (ISO 8601).
search: Search url, title, tags, id and timestamp (and page text in
|
| archivebox_get_snapshots_rssB | GET /api/v1/core/snapshots.rss RSS feed of recent snapshots. Args: crawl_id: Only snapshots of this crawl. created_by: Only snapshots created by this user. limit: Maximum feed items. before: Only snapshots before this time (ISO 8601). |
| archivebox_get_tagB | GET /api/v1/core/tag/{tag_id} Read one tag by id or slug, optionally with its snapshots. Args: tag_id: Tag id or slug. with_snapshots: Embed the tag's snapshots. |
| archivebox_get_tag_snapshots_jsonlC | GET /api/v1/core/tag/{tag_id}/snapshots.jsonl Export a tag's snapshots as JSON Lines. Args: tag_id: Tag id. |
| archivebox_get_tag_urlsB | GET /api/v1/core/tag/{tag_id}/urls.txt Export a tag's snapshot URLs as plain text, one per line. Args: tag_id: Tag id. |
| archivebox_get_tagsC | GET /api/v1/core/tags List tags (paginated). Args: limit: Page size. offset: Page offset. page: Page number. |
| archivebox_patch_archiveresultA | PATCH /api/v1/core/archiveresult/{archiveresult_id} Append or replace output files on an archive result and update its status, output text or structured output. Args: archiveresult_id: The archive result id. status: New status. output_str: New output text. output_json: New structured output as a JSON string. files: Output path -> base64 content to add or replace. |
| archivebox_patch_crawlB | PATCH /api/v1/crawls/crawl/{crawl_id} Update a crawl: change status, reschedule, retag, or run an action. Args:
crawl_id: The crawl id.
crawl_action: Crawl action to run (sent as |
| archivebox_patch_snapshotA | PATCH /api/v1/core/snapshot/{snapshot_id} Update a snapshot: change status, reschedule, replace its tags, or run
an action (for example Args:
snapshot_id: The snapshot id.
snapshot_action: Snapshot action to run (sent as |
| archivebox_remove_tag_from_snapshotA | POST /api/v1/core/tags/remove-from-snapshot/ Remove a tag (by name or id) from a snapshot; the tag itself remains. Args: snapshot_id: The snapshot id. tag_name: Tag name. tag_id: Tag id. |
| archivebox_rename_tagC | POST /api/v1/core/tag/{tag_id}/rename Rename a tag. Args: tag_id: Tag id. name: New name. |
| archivebox_search_tagsB | GET /api/v1/core/tags/search/ Search tags with snapshot counts. Args:
q: Name contains.
sort: Sort order (for example |
| archivebox_sync_personaA | POST /api/v1/personas/sync Create or update a browser persona from the browser extension's export. The cookies and auth data are credentials: only sync personas the owner provided. Args: extension_persona_id: The extension's persona id. name: Persona name. settings: Browser settings. cookies_txt: Netscape cookies.txt content. auth_json: Auth/session storage export. |
| archivebox_tags_autocompleteC | GET /api/v1/core/tags/autocomplete/ Tag-name suggestions for a prefix. Args: q: Name prefix. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| connector-status | Ask for this connector server's current operational status. |
| archivebox_archive_administrator | Curates tags, retains or removes archive data with approval, and keeps the archive hosts healthy. |
| archivebox_operator | Archive operator: runs the ArchiveBox web archive through archivebox-mcp: captures and refreshes pages, answers archive searches with cited snapshots, curates tags, removes only test captures, troubleshoots failed plugins, and ingests archives into the knowledge graph. |
| archivebox_research_archivist | Research evidence archivist: keeps a durable, tagged archive of every competitor and market page a research run uses (webarchiver-mcp captures, archivebox-mcp archives), confirms each capture, and answers later 'what did this page say then' questions with cited snapshots and change lists. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| _connector_status_resource | Native resource exposing this server's static status payload. |
| ontology://archivebox-mcp/access_contracts.ttl | |
| ontology://archivebox-mcp/archivebox.ttl | |
| ontology://archivebox-mcp/pack.ttl | |
| ontology://archivebox-mcp/contracts.ttl | |
| connector-resources | Data sources, ontology mappings and resources of this connector. |
| archivebox-web-archiving/SKILL.md | Capture and re-archive web pages with ArchiveBox through the archivebox-mcp server: add URLs (tags, depth, plugins), create single snapshots or crawls, re-archive existing snapshots, schedule recurring captures, and file evidence captured elsewhere as archive results. Use when a URL must be kept as a durable, re-checkable copy. Do NOT use to browse what is archived (archivebox-snapshot-search), to curate tags or remove captures (archivebox-archive-administration), or for KG ingest (archivebox-kg-ingestion). |
| archivebox-web-archiving/_manifest | File listing for archivebox-web-archiving |
| archivebox-api-development/SKILL.md | Develop and maintain the ArchiveBox connector while preserving its governed API actions, web-source contract, credential boundary, package resources, and public-first release evidence. |
| archivebox-api-development/_manifest | File listing for archivebox-api-development |
| archivebox-snapshot-search/SKILL.md | Find and read archived pages in ArchiveBox through the archivebox-mcp server: list and filter snapshots by URL, tag, text, status or time, read one snapshot with its per-plugin archive results, list archive results, resolve any object by id, export a tag's URLs or snapshots, and read the RSS feed. Use when the agent must cite or inspect an archived page. Do NOT use to add or re-archive URLs (archivebox-web-archiving) or to ingest into the KG (archivebox-kg-ingestion). |
| archivebox-snapshot-search/_manifest | File listing for archivebox-snapshot-search |
| archivebox-archive-administration/SKILL.md | Administer an ArchiveBox archive through the archivebox-mcp server: create, rename and delete tags, add or remove tags on snapshots, delete test or unwanted snapshots and crawls with the narrowest selection, inspect capture workers, installed capture binaries and personas, and manage API tokens. Use for archive hygiene and capture troubleshooting. Do NOT use to capture pages (archivebox-web-archiving) or to search them (archivebox-snapshot-search). |
| archivebox-archive-administration/_manifest | File listing for archivebox-archive-administration |
| archivebox-api-operations/SKILL.md | Operate archivebox-api through its governed MCP and Arbora capabilities, including web archiving, snapshot search, the research archive, archive administration and KG ingestion. Use when a request requires this provider's read, change, automation, ingestion, troubleshooting, or evidence workflows. |
| archivebox-api-operations/_manifest | File listing for archivebox-api-operations |
| archivebox-kg-ingestion/SKILL.md | Copy ArchiveBox snapshots, tags, page text and archive results into the knowledge graph through the archivebox-mcp ingest tools, as :WebSnapshot, :Tag, :Document and :ArchiveResult nodes linked by :hasTag, :hasPageText and :hasArchiveResult. Use to make archived pages queryable and searchable next to other sources, or to backfill a tag. Do NOT use to capture pages (archivebox-web-archiving) or for plain reads (archivebox-snapshot-search). |
| archivebox-kg-ingestion/_manifest | File listing for archivebox-kg-ingestion |
| archivebox-research-archive/SKILL.md | Keep a durable, tagged, re-checkable archive of competitor and market research and cite it as evidence. The web fetch connector (webarchiver-mcp) captures and extracts each page; archivebox-mcp files a durable copy under research tags, confirms the capture, and later answers "what did this page say on that date" with snapshot ids, timestamps and plugin results. Use for any competitor, pricing, product or market research run that must be evidenced or repeated. Do NOT use for one-off reads that need no durable copy (use webarchiver-mcp alone) or for archive cleanup (archivebox-archive-administration). |
| archivebox-research-archive/_manifest | File listing for archivebox-research-archive |
TDQS
Scored across 50 tools
Most tools target a distinct resource+action, but there are real overlaps: web_extract vs web_fetch (both fetch and extract page content), archivebox_cli_add vs create_snapshot vs create_crawl (all add URLs), and archivebox_get_crawl_file / _folder_file / _subfolder_file which differ only by path depth. archivebox_get_any also duplicates every type-specific getter, and three token/session tools (get_api_token, check_api_token, browser_session) sit close together. Descriptions do disambiguate the high-risk pairs, keeping it middling rather than poor.
The dominant pattern is a predictable archivebox_verb_noun scheme (get_snapshot, create_tag, patch_crawl, delete_crawl, search_tags), which is easy to scan. Deviations are minor: web_extract and web_fetch drop the server prefix entirely, and a few tools invert to noun-first (tags_autocomplete) or add suffixes (get_snapshots_rss, get_binaries_by_name). Still readable and mostly uniform.
50 tools is far past a reasonable surface and includes many near-duplicate variants: three crawl-file readers by folder depth, binaries vs binaries_by_name, and multiple overlapping list/search endpoints. Much of this is a raw REST endpoint mirror rather than a curated agent toolkit. Consolidation into parameterized tools (e.g. a depth argument on a single file reader) would cut the count substantially.
Lifecycle coverage is strong: snapshots, tags, and crawls all have create/read/list/update/delete, plus search, export formats (JSON/JSONL/CSV/HTML/RSS) and machine/binary inspection. Gaps are modest — no delete for archive results and only list/sync for personas (no get or delete). These are minor and workable around, not blocking.