Agent quickstart
Find an edition, check its terms and verify a file. The public catalog accepts requests without an API key.
Connect an agent
Add https://fonsora.net/mcp as a remote MCP server using Streamable HTTP. It requires no API key. Use search_editions to find identifiers, get_edition for source metadata and get_manifest for terms and download links.
For HTTP clients, start with the API index or import the OpenAPI description.
Find an edition
Search the metadata and follow the response’s next link for more results. Use access=open to find files with direct download access. Each edition lists its own reuse terms.
curl -fsSG 'https://fonsora.net/data/catalog.json' \
-d view=search --data-urlencode 'q=solar generation' \
-d access=open -d limit=5 -d fields=identifier,name,url
Check the source and verify the file
Paste an identifier from the search results to inspect the edition. The source record gives its origins and the manifest lists usage conditions, media types, sizes and SHA-256 checksums.
A file marked agreement-page requires a visit to the agreement page. After reviewing a direct-access edition’s terms, replace collection/edition below with its identifier. The Python 3 example writes the destination only after the size and checksum match.
python3 fonsora_agent.py download collection/edition csv edition.csv
Credit the original source and cite the canonical edition URL. The citation view also offers RIS and BibTeX.
Find what changed since your last visit
Save the edition sitemap after each successful crawl. The example compares canonical URLs and their material change dates and reports added, updated and delisted editions as JSON Lines.
curl -fsS https://fonsora.net/sitemap.xml -o current.xml
python3 fonsora_agent.py changes current.xml --previous previous.xml
On your first run, omit --previous previous.xml. Keep the new snapshot as your baseline after processing the results. A delisted URL should leave your active inventory. A 404 indicates an unavailable edition. On a 429 or 503, pause and retry later, honoring Retry-After when supplied. Keep the last successful snapshot during an error.