CC0 Library
v0.2.14Search CC0-only images, audio, video, 3D, HDRIs and museum art from 17 sources, with evidence.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_assets Search CC0 assets across 17 sources
Find CC0 1.0 (public-domain dedication) images, audio, video, HDRIs, textures, 3D models and museum artworks by keyword, returning only items whose CC0 status was checked. Use it first to discover candidates; then call get_asset for download files and a fresh license re-check. Use list_sources instead to answer which sites are CC0. Do not use it for CC BY, CC BY-SA or other 'free' licenses: they are filtered out. Behavior: read-only, no API key, live HTTPS calls to each source; replies within 10 s. A failing source is listed in `errors` and a source still running at the deadline in `pending`,…
| Parameter | Type | Description |
|---|---|---|
query * | string | Keywords matched against titles and tags, e.g. 'rainy street' or 'brick wall'. Any language is accepted, but most sources index English titles and tags: translate the user's words to English for more… |
kind | string | Asset type. image: Openverse, Wikimedia Commons, Internet Archive, WordPress Photo Directory, iNaturalist and GBIF (nature photos), PhyloPic (organism silhouettes; search by taxon name), Iconify (CC0… |
limit | integer | Maximum results to return, 1-20. Results are ranked by how many query words appear in the title or tags; ties alternate between sources |
page | integer | 1-based page; each source paginates independently. Request page 2+ only if `totals` shows more matches |
providers | array | Search only these sources. Leave out to search every source for `kind`. Useful picks: ['iconify'] for icons, ['polyhaven','ambientcg'] for studio-made textures and HDRIs, ['inaturalist','gbif'] for wi… |
get_asset Get one CC0 asset with download files
Fetch one asset's details and download files by an id from search_assets, re-checking at the source that it is still CC0. Use it after search_assets when the user wants to download or inspect an item; it cannot search, so call search_assets first if you have no id. Returns an error (do not retry the same id) when the id is malformed, the item was removed, or the source no longer reports CC0. Behavior: read-only, no API key, one or two live HTTPS calls. Poly Haven lists up to 60 resolution/format variants; ambientCG returns zip packs; Sketchfab returns only the model page because its downloads…
| Parameter | Type | Description |
|---|---|---|
id * | string | Asset id exactly as returned by search_assets: openverse:image:<uuid>, openverse:audio:<uuid>, polyhaven:<slug>, ambientcg:<assetId>, cleveland:<number>, met:<number>, commons:<pageid>, archive:<ident… |
download_asset Download a CC0 asset with a license receipt
Save chosen files of one asset to a local folder, re-checking at the source that it is still CC0 first. Creates <dir>/<asset id>/, saves each file there with its companions (a glTF's .bin and textures) at the relative paths the main file expects, and writes cc0.json recording the source, creator, license evidence, riskFlags and download time, so the project keeps proof of where the asset came from. Use it after search_assets (and get_asset when the asset has several files, to read their labels) when the user wants the asset in their project; use get_asset instead when they only want links. Pag…
| Parameter | Type | Description |
|---|---|---|
dir * | string | Folder to save into, normally inside the user's project (e.g. 'assets/cc0'). A subfolder named after the asset id is created. Relative paths resolve against the server's working directory |
id * | string | Asset id exactly as returned by search_assets |
files | array | Exact file labels from get_asset, e.g. ['gltf / 1k / gltf'] or ['1K-JPG (zip)']. Leave out only when the asset has a single file; otherwise the call fails and lists the labels |
list_sources List verified CC0 source sites
Look up the curated catalog of CC0 asset sites, each with its license page, scope and dated evidence, plus popular 'free' sites that are NOT CC0 (e.g. Unsplash, Pixabay) and candidates still pending verification. Use it to answer 'is site X CC0?' (pass the site name or domain as `query`) or to suggest sites to browse by hand (pass `kind`, and a topic as `query`); use search_assets instead to find actual assets. The catalog holds several hundred sites, so each of the three lists returns one page of `limit` entries and `totals` gives the full match counts. Behavior: reads a bundled JSON file, so…
| Parameter | Type | Description |
|---|---|---|
kind | string | Keep only sources offering this asset type ('font' is catalog-only); 'any' (default) keeps all. Does not filter the notCc0 and pending lists |
limit | integer | Maximum entries per list, 1-50 |
page | integer | 1-based page, applied to each list; request page 2+ only if `totals` shows more matches |
query | string | Site name, domain or topic words, e.g. 'unsplash', 'kenney.nl' or 'pixel art'. Keeps entries in all three lists whose id, name, URL, notes or reason contain every word (case-insensitive). Leave out to… |