Arquivo Pt
v0.2.1Arquivo.pt MCP — full-text search over the Portuguese web archive.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
arquivo_search_pages
Full-text search of archived web pages in Arquivo.pt, the Portuguese web archive (captures since 1996), when the URL is unknown. Finds pages whose TEXT contains the given terms or a quoted phrase and returns, per hit, the page title, original URL, capture date, a text snippet with the matching terms, the archived (replay) URL, and links to the extracted text and a screenshot. Coverage: centred on the Portuguese web (.pt sites and Portuguese-language pages) but international English-language sites that Portuguese pages link to are captured too — probes for "climate change", "quantum computing…
| Parameter | Type | Description |
|---|---|---|
query * | string | Search terms. Quote a phrase for an exact match ("inteligência artificial"); prefix a term with - to exclude it. Portuguese or English both work. Must not be a URL. |
from | string | Earliest capture date, as YYYY, YYYYMMDD or YYYYMMDDhhmmss. Default 1996. |
limit | number | Hits to return (default 10, max 200). |
offset | number | Hit offset for paging (default 0). The response carries next_offset when more hits exist. |
per_site | number | Maximum hits per site, to spread results across sources (default 2 — the upstream default). Raise it to see more captures of the same site. |
site | string | Restrict hits to one site, e.g. "publico.pt" or "http://www.publico.pt". |
to | string | Latest capture date, as YYYY, YYYYMMDD or YYYYMMDDhhmmss. Omit it unless you need a window; the full-text index lags the crawl by years. |
type | string | Restrict to a file type by MIME subtype: pdf, html, doc, xls, ppt, rtf, ps. |
arquivo_url_history
List every preserved capture of a specific URL in Arquivo.pt, the Portuguese web archive, newest first — the version history of a page or domain from 1996 to the current crawl. Each capture carries the capture timestamp (UTC), the archived replay URL, the crawl HTTP status, MIME type, content length and content digest, plus links to the extracted text, the raw original file and a screenshot. Accepts a bare domain (publico.pt), a host (www.publico.pt) or a full URL with path and query. Use this to see how a Portuguese page changed over time or to find the capture timestamp to pass to arquivo_…
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL whose captures to list: "publico.pt", "www.sapo.pt" or "https://www.publico.pt/politica". |
from | string | Earliest capture date, as YYYY, YYYYMMDD or YYYYMMDDhhmmss. |
limit | number | Captures to return (default 20, max 200). |
offset | number | Capture offset for paging (default 0). |
to | string | Latest capture date, as YYYY, YYYYMMDD or YYYYMMDDhhmmss. |
arquivo_page_text
Read the extracted plain text of one archived page capture held by Arquivo.pt, the Portuguese web archive — the page content with HTML stripped, as the archive indexed it. Takes the original URL and the capture timestamp (YYYYMMDDhhmmss) that arquivo_search_pages or arquivo_url_history returned, and returns the text (optionally truncated to max_chars) with the archived replay URL. Use it to quote or summarise what a Portuguese page said on a given date without fetching the archived HTML.
| Parameter | Type | Description |
|---|---|---|
timestamp * | string | Capture timestamp as YYYYMMDDhhmmss, e.g. "20120121210152" (the captured_at_ts of a hit). |
url * | string | The original URL exactly as returned in original_url, e.g. "http://www.appia.pt/". |
max_chars | number | Truncate the text to this many characters (default 20000, max 200000). |