Skip to main content
Glama

Archivebox Api

CLI or API | MCP | Agent

PyPI - Version MCP Server PyPI - Downloads GitHub Repo stars GitHub forks GitHub contributors PyPI - License GitHub GitHub last commit (by committer) GitHub pull requests GitHub closed pull requests GitHub issues GitHub top language GitHub language count GitHub repo size GitHub repo file count (file type) PyPI - Wheel PyPI - Implementation

Documentation — Installation, deployment, usage across the API, CLI, MCP, and A2A agent interfaces, and guidance for provisioning the ArchiveBox platform are maintained in the official documentation.


Related MCP server: mcp-archive

Table of Contents


Overview

Archivebox Api is a production-grade Agent and Model Context Protocol (MCP) server designed to interface directly with the Pythonic ArchiveBox API Wrapper and Fast MCP Server for Agentic AI use!


Key Features

  • Consolidated Action-Routed MCP Tools: Minimizes token overhead and eliminates tool bloat in LLM contexts by grouping methods into optimized, togglable tool modules.

  • Enterprise-Grade Security: Complete support for Eunomia policies, OIDC token delegation, and granular execution context tracking.

  • Integrated Graph Agent: Built-in Pydantic AI agent supporting the Agent Control Protocol (ACP) and standard Web interfaces (AG-UI).

  • Native Telemetry & Tracing: Out-of-the-box OpenTelemetry exports and native Langfuse tracing.


Concept Registry

This codebase is aligned with the 5 Core Pillars Architecture of the scion-sdk ecosystem:

Concept ID

Pillar Name

Domain

Implementation Details in archivebox-api

ECO-4.0

Ecosystem & Peripherals

Tool Interface & MCP Factory

Provides FastMCP server wrapper, action routing tools, and dynamic schema exposures.

ECO-4.1

Ecosystem & Peripherals

A2A Network & Consensus

Manages agent peer discovery, routing tables, and consensus.

OS-5.1

Agent OS Infrastructure

Security & Auth

Implements token-based OIDC access control, JWT filters, and Eunomia validation.

AU-OS.governance.wasm-micro-agent-sandbox

Agent OS Infrastructure

Telemetry & Observability

Delivers warning suppressions, JSON progress logging, and error tracing.


Environment Variables

Package environment variables

Variable

Example

Description

HOST

0.0.0.0

PORT

8000

TRANSPORT

stdio

options: stdio, streamable-http, sse

ENABLE_OTEL

True

OTEL_EXPORTER_OTLP_ENDPOINT

http://localhost:8080/api/public/otel

OTEL_EXPORTER_OTLP_PUBLIC_KEY_REF

secret://telemetry/otlp-public-key

OTEL_EXPORTER_OTLP_SECRET_KEY_REF

secret://telemetry/otlp-secret-key

OTEL_EXPORTER_OTLP_PROTOCOL

http/protobuf

EUNOMIA_TYPE

none

options: none, embedded, remote

EUNOMIA_POLICY_FILE

mcp_policies.json

EUNOMIA_REMOTE_URL

http://eunomia-server:8000

ARCHIVEBOX_BASE_URL

http://localhost:8000

ARCHIVEBOX_URL

http://localhost:8000

ARCHIVEBOX_URL is a fallback/alternative alias for ARCHIVEBOX_BASE_URL

ARCHIVEBOX_USERNAME

—

ARCHIVEBOX_TLS_PROFILE

—

Optional named runtime TLS profile or secret reference. Peer and hostname verification are mandatory; private trust chains belong in runtime config.

ARCHIVEBOX_TLS_PROFILE_REF

—

DEBUG

False

PYTHONUNBUFFERED

1

ARCHIVEBOX_API_KEY

secret-injected

ARCHIVEBOX_TOKEN

secret-injected

ARCHIVEBOX_PASSWORD

secret-injected

AUTHENTICATIONTOOL

True

CORETOOL

True

CLITOOL

True

WEBTOOL

True

Enables the web-source tools web_fetch and web_extract.

WEB_SOURCETOOL

True

Enables the SDK web-source contract tag (web_fetch, web_extract).

ARCHIVEBOX_EXTRACT_TIMEOUT_S

120

Seconds web_extract waits for a snapshot to complete.

ARCHIVEBOX_MIN_INTERVAL_S

1.0

Minimum seconds between two web-source requests to one site.

KGTOOL

True

ARCHIVEBOX_KG_AUTO_INGEST

1

Inherited scion-sdk variables (apply to every connector)

Variable

Example

Description

MCP_TOOL_MODE

intent

Tool surface: intent | condensed | verbose | both

MCP_ENABLED_TOOLS

—

Comma-separated tool allow-list

MCP_DISABLED_TOOLS

—

Comma-separated tool deny-list

MCP_ENABLED_TAGS

—

Comma-separated tag allow-list

MCP_DISABLED_TAGS

—

Comma-separated tag deny-list

MCP_CLIENT_AUTH

—

Outbound MCP child auth: oidc-client-credentials | basic | none

OIDC_CLIENT_ID

—

OIDC client id (service-account auth)

OIDC_CLIENT_SECRET_REF

secret://identity/oidc-client-secret

Runtime secret reference for the OIDC service account

MCP_BASIC_AUTH_USERNAME

—

HTTP Basic username (MCP_CLIENT_AUTH=basic)

MCP_BASIC_AUTH_PASSWORD_REF

secret://identity/mcp-basic-password

Runtime secret reference for HTTP Basic auth (MCP_CLIENT_AUTH=basic)

MCP_URL

http://localhost:8000/mcp

URL of the MCP server the agent connects to

PROVIDER

openai

LLM provider for the agent

MODEL_ID

gpt-4o

Model id for the agent

ENABLE_WEB_UI

True

Serve the AG-UI web interface

26 package + 14 inherited variable(s). Auto-generated from .env.example + the shared scion-sdk set — do not edit.

Configure the runtime environment by creating a .env file based on .env.example. Every variable the server reads, grouped by concern.

Connection & Credentials

Variable

Description

Default

ARCHIVEBOX_BASE_URL

Canonical endpoint URL for the backend ArchiveBox API

http://localhost:8000

ARCHIVEBOX_URL

Fallback alias/alternative for ARCHIVEBOX_BASE_URL

http://localhost:8000

ARCHIVEBOX_USERNAME

Username for authentication

—

ARCHIVEBOX_PASSWORD

Password for authentication

—

ARCHIVEBOX_API_KEY

API key for token-less header authentication

—

ARCHIVEBOX_TOKEN

Pre-configured authentication token

—

ARCHIVEBOX_TLS_PROFILE

Named TLS profile for private PKI, mTLS, or proxy policy

—

ARCHIVEBOX_TLS_PROFILE_REF

Secret reference containing the TLS profile

—

MCP server / transport

Variable

Description

Default

TRANSPORT

stdio, streamable-http, or sse

stdio

HOST

Bind host (HTTP transports)

0.0.0.0

PORT

Bind port (HTTP transports)

8000

MCP_TOOL_MODE

Tool surface: condensed, verbose, or both

condensed

MCP_ENABLED_TOOLS / MCP_DISABLED_TOOLS

Comma-separated tool allow/deny list

—

MCP_ENABLED_TAGS / MCP_DISABLED_TAGS

Comma-separated tag allow/deny list

—

DEBUG

Verbose logging

False

PYTHONUNBUFFERED

Unbuffered stdout (recommended in containers)

1

Tool toggles

Each action-routed tool can be disabled individually via its toggle env var (set to false): AUTHENTICATIONTOOL, CORETOOL, CLITOOL (see the Available MCP Tools table below).

Telemetry & governance

Variable

Description

Default

ENABLE_OTEL

Enable OpenTelemetry export

True

OTEL_EXPORTER_OTLP_ENDPOINT

OTLP collector endpoint

—

OTEL_EXPORTER_OTLP_PUBLIC_KEY / OTEL_EXPORTER_OTLP_SECRET_KEY

OTLP auth keys

—

OTEL_EXPORTER_OTLP_PROTOCOL

OTLP protocol (e.g. http/protobuf)

—

EUNOMIA_TYPE

Authorization mode: none, embedded, remote

none

EUNOMIA_POLICY_FILE

Embedded policy file

mcp_policies.json

EUNOMIA_REMOTE_URL

Remote Eunomia server URL

—

Agent CLI (full [agent] runtime only)

Variable

Description

Default

MCP_URL

URL of the MCP server the agent connects to

http://localhost:8000/mcp

PROVIDER

LLM provider (e.g. openai)

openai

MODEL_ID

Model id (e.g. gpt-4o)

gpt-4o

ENABLE_WEB_UI

Serve the AG-UI web interface

True


CLI or API Usage

The operator can use the API client programmatically in Python to manage ArchiveBox snapshots:

from archivebox_api import Api

# Initialize client
client = Api(
    url="http://localhost:8000",
    token="your-auth-token",
)

# Fetch snapshots
snapshots = client.get_snapshots()
for snapshot in snapshots.get("results", []):
    print(f"[{snapshot['timestamp']}] {snapshot['url']}")

Refer to docs/index.md for full developer SDK and class references.


MCP Server Setup

Install the connector-focused [mcp] extra. Examples use archivebox-api[mcp] to add FastMCP / FastAPI through scion-sdk[mcp]; the required Meristem core still carries medulla[full]. The [agent] extra also enables model orchestration.

This server use dynamic Action-Routed tools to optimize token overhead and maximize IDE compatibility.

Tool Catalog

See the auto-generated Available MCP Tools table below for the full, live list of tools.

Dynamic Tool Selection & Visibility

This MCP server supports dynamic toolset selection and visibility filtering at runtime. This allows the operator to restrict the set of exposed tools to prevent blowing up the LLM's context window.

The operator can configure tool filtering via multiple input channels:

  • CLI Arguments: Pass --tools or --toolsets (or their disabled counterparts --disabled-tools and --disabled-toolsets) during startup.

  • Environment Variables: Define standard environment variables:

    • MCP_ENABLED_TOOLS / MCP_DISABLED_TOOLS

    • MCP_ENABLED_TAGS / MCP_DISABLED_TAGS

  • HTTP SSE Request Headers: Pass custom headers during transport initialization:

    • x-mcp-enabled-tools / x-mcp-disabled-tools

    • x-mcp-enabled-tags / x-mcp-disabled-tags

  • HTTP SSE Request Query Parameters: Append query parameters directly to the operator's transport connection URL:

    • ?tools=tool1,tool2

    • ?tags=tag1

When query strings or parameters are provided, an LLM-free Knowledge Graph resolution layer (using DynamicToolOrchestrator) matches query intents against known tool tags, names, or descriptions, with safe fallback and automated 24-hour background cache refreshing.


Local IDE Configuration (Cursor / Claude Desktop)

Add the following block to the operator's mcp.json to configure stdio transport via uvx:

{
  "mcpServers": {
    "archivebox-api": {
      "command": "uv",
      "args": [
        "run",
        "--package",
        "archivebox-api",
        "archivebox-mcp"
      ],
      "env": {
        "ARCHIVEBOX_BASE_URL": "http://localhost:8000",
        "ARCHIVEBOX_USERNAME": "admin",
        "ARCHIVEBOX_PASSWORD": "your-password"
      }
    }
  }
}

Agentic AI Graph Agent

This repository features a fully integrated Pydantic AI Graph Agent. It communicates over the Agent Control Protocol (ACP) and interacts smoothly with the Agent Web UI (AG-UI).

Running the Agent CLI

To start the interactive command-line agent:

# Export credentials
export ARCHIVEBOX_BASE_URL="http://localhost:8000"
export ARCHIVEBOX_USERNAME="admin"
export ARCHIVEBOX_PASSWORD="your-password"

# Run agent server
archivebox-agent --provider openai --model-id gpt-4o

Detailed graph node architecture explanations, custom skill configurations, and agentic trace guides are available in docs/index.md.


Security & Governance

Built directly upon the enterprise-ready scion-sdk core, standard security parameters are fully supported:

Access Control & Policy Enforcement

  • Eunomia Policies: Fine-grained, policy-driven tool authorization. Supports none, local embedded (mcp_policies.json), or centralized remote modes.

  • OIDC Token Delegation: Compliant with RFC 8693 token exchange for flowing authenticating user credentials from Web UI / ACP → Agent → MCP.

  • Scoped Credentials: Execution context runs restricted to the specific caller identity.

Runtime Security Grid

Feature

Feature

Enablement

Tool Guard

Sensitivity inspection with human-in-the-loop validation

Enabled by default

Prompt Injection Defense

Input scanning, repetition monitoring, and recursive loop blocks

Enabled by default

Context Safety Guard

Stuck-loop detectors and contextual overflow preemptive alerts

Enabled by default


Installation

Pick the extra that matches what the operator want to run:

Extra

Installs

Use when

archivebox-api[mcp]

Connector-focused MCP server (scion-sdk[mcp] — FastMCP/FastAPI + medulla[full])

The operator only run the MCP server (smallest install / image)

archivebox-api[agent]

Agent runtime (scion-sdk[agent-runtime,logfire] — model orchestration + medulla[full])

The operator run the integrated agent

archivebox-api[all]

Everything (mcp + agent + logfire)

Development / both surfaces

# Connector-focused MCP server (includes the shared graph engine)
uv pip install "archivebox-api[mcp]"

# Agent runtime (adds model orchestration to the shared graph engine)
uv pip install "archivebox-api[agent]"

# Everything (development)
uv pip install "archivebox-api[all]"      # or: python -m pip install "archivebox-api[all]"

Container images (:mcp vs :agent)

One multi-stage docker/Dockerfile builds two right-sized images, selected by --target:

Image tag

Build target

Contents

Entrypoint

example/archivebox-api:mcp

--target mcp

archivebox-api[mcp] — connector-focused, includes medulla[full]; no model-orchestration stack

archivebox-mcp

example/archivebox-api@sha256:<digest>

--target agent (default)

archivebox-api[agent] — agent runtime, model orchestration + medulla[full]

archivebox-agent

docker build --target mcp   -t example/archivebox-api:mcp    docker/   # connector-focused MCP server
docker build --target agent -t example/archivebox-api:agent-local docker/   # agent runtime

docker/mcp.compose.yml runs the connector-focused :mcp server; docker/agent.compose.yml runs the agent (immutable agent digest) with a co-located :mcp sidecar.

Knowledge-graph database (medulla)

Both [mcp] and [agent] carry the medulla engine through the required Meristem core dependency (medulla[full]). The [mcp] extra keeps the server connector-focused; [agent] also enables model orchestration. Local deployments can use the bundled engine. For production or shared state, run medulla as a dedicated database service and configure the runtime to use it. Deployment recipes (single-node + Raft HA), connection configuration, and architecture diagrams are documented in the medulla deployment guide.


Documentation

The complete documentation is published as the official documentation site and is the recommended reference for installation, deployment, and day-to-day operation.

Page

Contents

Installation

pip, source, extras, prebuilt Docker image

Deployment

run the MCP and agent servers, Compose, Caddy + Technitium, env config

Usage

the MCP tools, the Api client, the CLI

Backing Platform

deploy ArchiveBox with Docker

Overview

ecosystem role, configuration, architecture

Concepts

concept registry (CONCEPT:ABOX-*)

AGENTS.md is the canonical contributor/agent guidance.


Contribute

Contributions are welcome! Please ensure code quality by running local checks before submitting pull requests:

  • Format code using ruff format .

  • Lint code using ruff check .

  • Validate type-safety with mypy .

  • Run test suites using pytest

Available MCP Tools

The table below is auto-generated from the live server — do not edit by hand.

Condensed action-routed tools (MCP_TOOL_MODE=condensed)

MCP Tool

Toggle Env Var

Description

archivebox_authentication

AUTHENTICATIONTOOL

Manage archivebox authentication operations.

archivebox_cli

CLITOOL

Manage archivebox cli operations.

archivebox_core

CORETOOL

Manage archivebox core operations.

archivebox_ingest_archiveresults

KGTOOL

List ArchiveBox archive results and ingest them as :ArchiveResult nodes.

archivebox_ingest_snapshots

KGTOOL

List ArchiveBox snapshots and natively ingest them into medulla.

Verbose 1:1 API-mapped tools (MCP_TOOL_MODE=verbose or both)

MCP Tool

Toggle Env Var

Description

archivebox_check_api_token

APITOOL

Validate an API token to make sure it's valid and non-expired

archivebox_cli_add

APITOOL

Execute archivebox add command

archivebox_cli_list

APITOOL

Execute archivebox list command

archivebox_cli_remove

APITOOL

Execute archivebox remove command

archivebox_cli_schedule

APITOOL

Execute archivebox schedule command

archivebox_cli_update

APITOOL

Execute archivebox update command

archivebox_get_any

APITOOL

Get a specific Snapshot, ArchiveResult, or Tag by abid

archivebox_get_api_token

APITOOL

Generate an API token for a given username & password

archivebox_get_archiveresult

APITOOL

Get a specific ArchiveResult by id or abid

archivebox_get_archiveresults

APITOOL

List all ArchiveResult entries matching these filters

archivebox_get_snapshot

APITOOL

Get a specific Snapshot by abid or id

archivebox_get_snapshots

APITOOL

Retrieve list of snapshots

archivebox_get_tag

APITOOL

Get a specific Tag by id or abid

archivebox_get_tags

APITOOL

Retrieve list of tags

5 action-routed tool(s) · 14 verbose 1:1 tool(s). Each is enabled unless its <DOMAIN>TOOL toggle is set false; MCP_TOOL_MODE selects the surface (intent default — the six verb-tools, granular set loaded on demand · condensed action-routed · verbose 1:1 · both). Auto-generated — do not edit.

Additional Deployment Options

archivebox-api can run as a local stdio process or container, or behind a remote network boundary. The Deployment guide carries the detailed transport contract.

  • Local container — launch a reviewed immutable image as a least-privilege stdio child with no listener or published port.

  • Remote URL — connect through an operator-supplied authenticated HTTPS ingress. Keep its URL, outbound identity references, trust profile, and exact MCP_ALLOWED_HOSTS in AgentConfig.

Deploy with scion-sdk-deployment

Provision this package with the consolidated scion-sdk-deployment workflow. It selects an installed-package, editable-source, or immutable-container path; records only runtime secret and TLS-profile references in AgentConfig; and runs doctor, registration, policy, observability, and rollback gates. Ask your agent to "deploy archivebox-api with scion-sdk-deployment".

Install mode

Command

Installed package

uv tool install "archivebox-api[mcp]", then run archivebox-mcp

Editable source

uv pip install -e ".[agent]", then run archivebox-mcp

Immutable container

deploy registry.example.invalid/archivebox-api@sha256:<digest> through the operator-selected orchestrator

The repository embeds no deployment profile, credential value, certificate path, or environment-specific endpoint. Supply those at runtime through AgentConfig and the configured secret provider.

Governed capability contract

This package ships a compact canonical skill surface with specialist procedures kept as referenced workflows. The current MCP tools, skill metadata, connector_manifest.yml, ontology, mappings, shapes, fixtures, migrations, tool-schema fingerprints, and certification metadata form one versioned capability contract. Validate them together; do not rely on stale tool names or historical per-task skill wrappers.

Runtime endpoints, credentials, certificate trust, tenant identity, retention, and observability policy are deployment inputs and are never packaged values. See Configuration, trust, and privacy before enabling a network transport, connector ingestion, Arbora delegation, or trace export.

Available Tools

50 tools
archivebox_add_tag_to_snapshotAdd 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.

Inputs: snapshot_id (required), tag_id, tag_name.

archivebox_browser_sessionBrowser 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).

Inputs: no named parameters.

archivebox_check_api_tokenCheck 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.

Inputs: token (required).

archivebox_cli_addCli 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 (auto, txt, rss, html, ...). plugins: Comma-separated plugins to run (empty = instance defaults), for example wget,singlefile,pdf,screenshot,readability. persona: Browser persona (cookies/profile) to capture with. only_new: Skip URLs already in the archive. update: Re-archive URLs already in the archive. overwrite: Overwrite existing outputs on re-archive. index_only: Add to the index without capturing.

Inputs: urls (required), tag, depth, parser, +11 more.

archivebox_cli_removeCli removeA
Destructive

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 filter_patterns match (default exact). filter_patterns: Patterns to match. status: Only snapshots with this status. url__icontains: URL contains. url__istartswith: URL starts with. tag: Only snapshots with this tag. crawl_id: Only snapshots of this crawl. limit: Maximum snapshots. sort: Sort field. search: Full-text search. timeout: Seconds to wait for the removal.

Inputs: tag, sort, after, limit, +10 more.

archivebox_cli_scheduleCli 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 (hour, day, week, month or cron). tag: Comma-separated tags for snapshots the schedule adds. depth: Crawl depth for each run. only_new: Only add URLs not yet archived. update: Re-archive existing URLs on each run. overwrite: Overwrite outputs on re-archive. clear: Remove all schedules.

Inputs: add, tag, show, clear, +9 more.

archivebox_cli_updateCli 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 filter_patterns match (exact, substring, domain, regex, tag, search). filter_patterns: Patterns to match. status: Only snapshots with this status. url__icontains: URL contains. url__istartswith: URL starts with. tag: Only snapshots with this tag. crawl_id: Only snapshots of this crawl. limit: Maximum snapshots. sort: Sort field. search: Full-text search. resume: Resume from this snapshot timestamp. batch_size: Snapshots per batch. continuous: Keep running and pick up new snapshots. index_only: Rebuild the index only. migrate_only: Run data migrations only.

Inputs: tag, sort, after, limit, +13 more.

archivebox_create_archiveresultCreate 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 succeeded). output_json: Structured output as a JSON string. files: Output path -> base64 content, written under the plugin dir.

Inputs: plugin (required), snapshot_id (required), files, status, +3 more.

archivebox_create_crawlCreate 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 tags). label: Human label for the crawl. notes: Free-text notes (for example why it was captured). config: Per-crawl config overrides (for example plugin toggles).

Inputs: urls (required), tags, label, notes, +3 more.

archivebox_create_snapshotCreate 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).

Inputs: url (required), tags, depth, title, +2 more.

archivebox_create_tagCreate tagB

POST /api/v1/core/tags/create/

Create a tag (returns the existing tag when the name is taken).

Args: name: Tag name.

Inputs: name (required).

archivebox_delete_crawlDelete crawlC
DestructiveIdempotent

DELETE /api/v1/crawls/crawl/{crawl_id}

Delete a crawl.

Args: crawl_id: The crawl id.

Inputs: crawl_id (required), confirm.

archivebox_delete_snapshotDelete snapshotC
DestructiveIdempotent

DELETE /api/v1/core/snapshot/{snapshot_id}

Delete one snapshot and its archive results.

Args: snapshot_id: The snapshot id.

Inputs: snapshot_id (required), confirm.

archivebox_delete_tagDelete tagB
DestructiveIdempotent

DELETE /api/v1/core/tag/{tag_id}

Delete a tag (snapshots keep existing, untagged).

Args: tag_id: Tag id.

Inputs: tag_id (required), confirm.

archivebox_get_anyGet anyB
Read-onlyIdempotent

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.

Inputs: id (required).

archivebox_get_api_tokenGet 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.

Inputs: password, username.

archivebox_get_archiveresultGet archiveresultC
Read-onlyIdempotent

GET /api/v1/core/archiveresult/{archiveresult_id}

Read one archive result.

Args: archiveresult_id: The archive result id.

Inputs: archiveresult_id (required).

archivebox_get_archiveresultsGet archiveresultsA
Read-onlyIdempotent

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 wget, singlefile, pdf). hook_name: Hook name. process_id: Worker process id. cmd: Command contains. pwd: Working directory. cmd_version: Tool version. created_at: Exact creation time (ISO 8601). created_at__gte: Created at or after (ISO 8601). created_at__lt: Created before (ISO 8601). limit: Page size. offset: Page offset. page: Page number. api_key: API key passed as a query parameter (optional).

Inputs: id, cmd, pwd, page, +16 more.

archivebox_get_binariesGet binariesC
Read-onlyIdempotent

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.

Inputs: id, name, page, limit, +5 more.

archivebox_get_binaries_by_nameGet binaries by nameC
Read-onlyIdempotent

GET /api/v1/machine/binary/by-name/{name}

List the installed binaries with this name.

Args: name: Binary name.

Inputs: name (required).

archivebox_get_binaryGet binaryC
Read-onlyIdempotent

GET /api/v1/machine/binary/{binary_id}

Read one binary.

Args: binary_id: The binary id.

Inputs: binary_id (required).

archivebox_get_crawlGet crawlB
Read-onlyIdempotent

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.

Inputs: crawl_id (required), as_rss, with_snapshots, with_archiveresults.

archivebox_get_crawl_fileGet crawl fileB
Read-onlyIdempotent

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.

Inputs: crawl_id (required), filename (required).

archivebox_get_crawl_folder_fileGet crawl folder fileB
Read-onlyIdempotent

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.

Inputs: folder (required), crawl_id (required), filename (required).

archivebox_get_crawlsGet crawlsA
Read-onlyIdempotent

GET /api/v1/crawls/crawls

List crawls (one crawl per add/schedule run, holding its snapshots).

Inputs: no named parameters.

archivebox_get_crawl_subfolder_fileGet crawl subfolder fileB
Read-onlyIdempotent

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.

Inputs: folder (required), crawl_id (required), filename (required), subfolder (required).

archivebox_get_current_machineGet current machineB
Read-onlyIdempotent

GET /api/v1/machine/machine/current

Read the machine serving this API.

Inputs: no named parameters.

archivebox_get_machineGet machineC
Read-onlyIdempotent

GET /api/v1/machine/machine/{machine_id}

Read one machine.

Args: machine_id: The machine id.

Inputs: machine_id (required).

archivebox_get_machinesGet machinesC
Read-onlyIdempotent

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.

Inputs: id, page, limit, offset, +6 more.

archivebox_get_personasGet personasB
Read-onlyIdempotent

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.

Inputs: page, limit, offset.

archivebox_get_snapshotGet snapshotB
Read-onlyIdempotent

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.

Inputs: snapshot_id (required), with_archiveresults.

archivebox_get_snapshotsGet snapshotsB
Read-onlyIdempotent

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 search_mode content/deep). search_mode: Search mode: meta (default), contents or deep. status: Snapshot status (queued, started, sealed). url: Exact URL. tag: Exact tag name. title: Title contains. timestamp: Timestamp prefix. bookmarked_at__gte: Bookmarked at or after (ISO 8601). bookmarked_at__lt: Bookmarked before (ISO 8601). with_archiveresults: Embed each snapshot's archive results. limit: Page size. offset: Page offset. page: Page number. api_key: API key passed as a query parameter (optional).

Inputs: id, tag, url, page, +19 more.

archivebox_get_snapshots_rssGet snapshots rssB
Read-onlyIdempotent

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).

Inputs: limit, before, crawl_id, created_by.

archivebox_get_tagGet tagB
Read-onlyIdempotent

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.

Inputs: tag_id (required), with_snapshots.

archivebox_get_tagsGet tagsC
Read-onlyIdempotent

GET /api/v1/core/tags

List tags (paginated).

Args: limit: Page size. offset: Page offset. page: Page number.

Inputs: page, limit, offset.

archivebox_get_tag_snapshots_jsonlGet tag snapshots jsonlC
Read-onlyIdempotent

GET /api/v1/core/tag/{tag_id}/snapshots.jsonl

Export a tag's snapshots as JSON Lines.

Args: tag_id: Tag id.

Inputs: tag_id (required).

archivebox_get_tag_urlsGet tag urlsB
Read-onlyIdempotent

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.

Inputs: tag_id (required).

archivebox_ingest_archiveresultsArchivebox Ingest ArchiveresultsB

List ArchiveBox archive results and ingest them as :ArchiveResult nodes.

Best-effort: returns {"ingested": None} when no engine is reachable.

Inputs: limit, plugin, status, snapshot_id, +1 more. Returns: object

archivebox_ingest_snapshotsArchivebox 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 {"ingested": None} when no engine is reachable.

Inputs: tag, url, limit, search. Returns: object

archivebox_patch_archiveresultPatch 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.

Inputs: archiveresult_id (required), files, status, output_str, +1 more.

archivebox_patch_crawlPatch 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 action). status: New status. retry_at: Next retry time (ISO 8601 date-time). tags: Replacement tag names. tags_str: Replacement tags, comma-separated.

Inputs: crawl_id (required), tags, status, retry_at, +2 more.

archivebox_patch_snapshotPatch snapshotA

PATCH /api/v1/core/snapshot/{snapshot_id}

Update a snapshot: change status, reschedule, replace its tags, or run an action (for example seal).

Args: snapshot_id: The snapshot id. snapshot_action: Snapshot action to run (sent as action). status: New status. retry_at: Next retry time (ISO 8601 date-time). tags: Replacement tag names.

Inputs: snapshot_id (required), tags, status, retry_at, +1 more.

archivebox_remove_tag_from_snapshotRemove tag from snapshotA
Destructive

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.

Inputs: snapshot_id (required), tag_id, confirm, tag_name.

archivebox_rename_tagRename tagC

POST /api/v1/core/tag/{tag_id}/rename

Rename a tag.

Args: tag_id: Tag id. name: New name.

Inputs: name (required), tag_id (required).

archivebox_search_tagsSearch tagsB
Read-onlyIdempotent

GET /api/v1/core/tags/search/

Search tags with snapshot counts.

Args: q: Name contains. sort: Sort order (for example name, -snapshots). created_by: Only tags created by this user. year: Only tags created in this year. has_snapshots: yes/no filter on tags with snapshots.

Inputs: q, sort, year, created_by, +1 more.

archivebox_sync_personaSync 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.

Inputs: name (required), extension_persona_id (required), settings, auth_json, +1 more.

archivebox_tags_autocompleteTags autocompleteC
Read-onlyIdempotent

GET /api/v1/core/tags/autocomplete/

Tag-name suggestions for a prefix.

Args: q: Name prefix.

Inputs: q.

web_extractWeb ExtractB
Read-onlyIdempotent

Fetch one web page and extract its main content as markdown with title, author, published date, canonical URL and outbound links.

Inputs: request (required). Returns: result

web_fetchWeb FetchA
Read-onlyIdempotent

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.

Inputs: request (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 50 tools

    Disambiguation3/5

    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.

    Naming Consistency4/5

    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.

    Tool Count2/5

    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.

    Completeness4/5

    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.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with the Internet Archive's Wayback Machine to save web pages, retrieve archived versions, search historical snapshots, and check archive statistics without requiring API keys.
      Creative Commons Attribution Non Commercial Share Alike 4.0 International
    • A
      license
      A
      quality
      D
      maintenance
      Provides tools to archive URLs, retrieve clean readable text from Wayback Machine snapshots, list snapshots, search Internet Archive items, and compare snapshots, designed to avoid context window blowup by returning stripped text.
      6
      3 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server and CLI tool for interacting with the Internet Archive's Wayback Machine, supporting full CDX search, snapshot retrieval, screenshot listing, snapshot comparison, and optional authentication.
      8
      758 npm
      66
      Creative Commons Attribution Non Commercial Share Alike 4.0 International