cc0-library-mcp 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,22 +1,39 @@
1
1
  # cc0-library
2
2
 
3
3
  **CC0 assets only. With receipts.**
4
- One search across **17 sources** for images, audio, video, HDRIs, textures, 3D models, museum artworks and whole asset collections, plus a hand-verified catalog of **97 CC0 sources**. Every result shows *how* its CC0 status was verified and *who* declared it.
4
+ One search across **17 sources** for images, audio, video, HDRIs, textures, 3D models, museum artworks and whole asset collections, plus a hand-verified catalog of **105 CC0 sources**. Every result shows *how* its CC0 status was verified and *who* declared it.
5
5
 
6
6
  [![ci](https://github.com/sanghyoLe/cc0-library/actions/workflows/ci.yml/badge.svg)](https://github.com/sanghyoLe/cc0-library/actions/workflows/ci.yml)
7
7
  ![license: MIT](https://img.shields.io/badge/code-MIT-blue)
8
8
  ![catalog: CC0](https://img.shields.io/badge/catalog-CC0-green)
9
9
  [![npm](https://img.shields.io/npm/v/cc0-library-mcp)](https://www.npmjs.com/package/cc0-library-mcp)
10
10
  [![sanghyoLe/cc0-library MCP server](https://glama.ai/mcp/servers/sanghyoLe/cc0-library/badges/score.svg)](https://glama.ai/mcp/servers/sanghyoLe/cc0-library)
11
+ [![CC0 Library MCP server](https://mcprush.com/badge/cc0-library-mcp/card.svg)](https://mcprush.com/to/cc0-library-mcp?ref=badge)
11
12
 
12
13
  - **Try it in the browser:** https://sanghyole.github.io/cc0-library/
14
+ - **Walk through the CC0 Museum:** https://sanghyole.github.io/cc0-library/museum.html — a 3D gallery generated from CC0 assets for any theme
13
15
  - **Use it from Claude, Cursor, or any MCP client:** `claude mcp add cc0-library -- npx -y cc0-library-mcp`
14
- - **Listed in:** the [official MCP Registry](https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.sanghyoLe/cc0-library) (`io.github.sanghyoLe/cc0-library`) and [Glama](https://glama.ai/mcp/servers/sanghyoLe/cc0-library)
16
+ - **Listed in:** the [official MCP Registry](https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.sanghyoLe/cc0-library) (`io.github.sanghyoLe/cc0-library`), [Glama](https://glama.ai/mcp/servers/sanghyoLe/cc0-library) and [mcprush](https://mcprush.com/to/cc0-library-mcp?ref=badge)
15
17
 
16
18
  [![cc0-library web gallery: CC0 search results for "cat" from Poly Haven, Cleveland Museum of Art and The Met](docs/screenshot.jpg)](https://sanghyole.github.io/cc0-library/?q=cat&strict=1)
17
19
 
18
20
  [한국어 안내는 아래에 있습니다.](#한국어)
19
21
 
22
+ ## CC0 Museum
23
+
24
+ [![CC0 Museum: a 3D gallery hung with CC0 ocean photos](docs/museum.jpg)](https://sanghyole.github.io/cc0-library/museum.html?theme=ocean)
25
+
26
+ Type a theme (cat, ocean, flowers…) and walk through a museum built at runtime from CC0 assets only:
27
+
28
+ - **Paintings and photos** on the walls: Wikimedia Commons files whose own license is CC0, at most two per creator.
29
+ - **Sculptures** on pedestals, the **floor** and the **lighting HDRI**: Poly Haven.
30
+ - **Ambient sound**: an Openverse audio result whose own license is CC0.
31
+ - Click any piece for its license evidence; the **Credits** panel lists every asset in the room.
32
+
33
+ Rendered with **WebGPU** through three.js `WebGPURenderer` ([three.js](https://threejs.org), MIT, 0.170.0 pinned on jsDelivr), which falls back to WebGL2 in browsers without WebGPU; a badge shows which backend is active (`?renderer=webgl` forces the fallback for testing). It runs entirely in the browser. Camera input is eased: drag (or lock the mouse) to look, WASD to walk with gentle acceleration, Shift to hurry, scroll to zoom in on a painting; walls and pedestals are solid; a subtle head bob is turned off for `prefers-reduced-motion`. Phones use an analog joystick (bottom left) to walk and drag anywhere else to look, with inertia; `?joystick=1` shows the joystick on desktop for testing.
34
+
35
+ Loading is progressive: a progress bar tracks four steps (finding works, floor and lighting, paintings, sculptures); empty frames appear first and each painting fades in when its image arrives; every image, model and HDRI has a time limit, so one slow asset leaves only its own slot empty; and switching themes cancels the previous load. You can enter the room as soon as the floor and lighting are ready.
36
+
20
37
  ## Why
21
38
 
22
39
  "Free" is not "CC0". Unsplash, Pixabay, and Pexels use their own licenses. Openverse, Flickr, Commons, and Sketchfab mix licenses on one site, and the license on an item is whatever the uploader picked. If you ship a game, a product, or AI training data, you need to know which items are really CC0 and why.
@@ -45,7 +62,7 @@ The web gallery has a "rights holder only" switch that drops `uploader` results.
45
62
 
46
63
  ## The catalog
47
64
 
48
- [`catalog/sources.json`](catalog/sources.json) lists 97 sites and collections that are CC0 (17 of them searchable), each verified on the source's own license page, repository license or README, with the quoted evidence and a date. Browse it in the [web gallery's Sources tab](https://sanghyole.github.io/cc0-library/) or with the `list_sources` tool.
65
+ [`catalog/sources.json`](catalog/sources.json) lists 105 sites and collections that are CC0 (17 of them searchable), each verified on the source's own license page, repository license or README, with the quoted evidence and a date. Browse it in the [web gallery's Sources tab](https://sanghyole.github.io/cc0-library/) or with the `list_sources` tool.
49
66
 
50
67
  | Asset type | Sources | Examples |
51
68
  |---|---|---|
@@ -189,7 +206,7 @@ src/
189
206
  providers/wpphotos.ts
190
207
  providers/inaturalist.ts, gbif.ts, phylopic.ts, iconify.ts, zenodo.ts, blenderkit.ts
191
208
  providers/collections.ts GitHub repositories and Hugging Face datasets
192
- web/ browser gallery (GitHub Pages); scripts/build-site.mjs assembles it into _site/
209
+ web/ browser gallery and museum.html (3D CC0 Museum, three.js); scripts/build-site.mjs assembles them into _site/
193
210
  catalog/sources.json curated CC0 source list (CC0 data)
194
211
  test/ node:test unit tests
195
212
  scripts/smoke.mjs live end-to-end check
@@ -226,8 +243,9 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). In short:
226
243
  - `search_assets`는 17곳에서 찾습니다. 이미지·오디오·영상은 Openverse, 위키미디어 공용, 인터넷 아카이브, WordPress 사진 디렉터리, iNaturalist, GBIF, PhyloPic, Iconify, Zenodo에서 찾습니다. HDRI, 텍스처, 3D 모델은 Poly Haven, ambientCG, Sketchfab, BlenderKit에서 찾습니다. CC0 저장소·데이터셋 묶음(`collection`)은 GitHub와 Hugging Face에서 찾습니다. 미술품(`artwork`)은 Cleveland Museum of Art와 The Met에서 찾습니다.
227
244
  - 모든 결과에는 CC0 확인 근거(`licenseEvidence`)가 붙습니다. 근거에는 CC0를 누가 선언했는지(`declaredBy`)도 들어 있습니다. 제작사(`library`), 미술관(`institution`), 업로더(`uploader`) 중 하나입니다. 업로더가 선언한 CC0는 아무도 검토하지 않았으므로 직접 확인해야 합니다.
228
245
  - 웹에서 바로 검색할 수 있습니다: https://sanghyole.github.io/cc0-library/
246
+ - **CC0 미술관**: 주제어를 넣으면 CC0 그림·조각·바닥·조명·배경음으로 3D 전시실을 만들어 걸어 다닐 수 있습니다. WebGPU로 그리고, WebGPU가 없는 브라우저에서는 WebGL2로 자동 전환합니다. https://sanghyole.github.io/cc0-library/museum.html
229
247
  - `get_asset`은 다운로드 URL을 주기 전에 원본에서 CC0 여부를 다시 확인합니다.
230
- - `list_sources`는 검증한 CC0 자료원 97곳의 목록을 줍니다. 종류별로 이미지 61곳, 3D 21곳, 오디오 20곳, 텍스처 15곳, HDRI 5곳, 영상 6곳, 미술품 3곳, 폰트 2곳입니다. CC0가 아닌 무료 사이트(Unsplash, Pixabay, Pexels, Pixnio, SMK, NASA)와 그 이유도 줍니다. 아직 검증하지 못한 후보도 따로 줍니다.
248
+ - `list_sources`는 검증한 CC0 자료원 105곳의 목록을 줍니다. 종류별로 이미지 64곳, 3D 22곳, 오디오 20곳, 텍스처 16곳, HDRI 5곳, 영상 6곳, 미술품 3곳, 폰트 6곳입니다. CC0가 아닌 무료 사이트(Unsplash, Pixabay, Pexels, Pixnio, SMK, NASA)와 그 이유도 줍니다. 아직 검증하지 못한 후보도 따로 줍니다.
231
249
 
232
250
  - 매주 자동 점검이 목록의 라이선스 페이지를 다시 확인하고 새 후보를 찾습니다.
233
251
  - 버전 태그를 올리면 npm과 MCP 공식 레지스트리에 자동으로 배포됩니다.
@@ -1588,6 +1588,135 @@
1588
1588
  "date": "2026-11-20",
1589
1589
  "evidence": "search qualifier license:cc0-1.0; repository API reports license.spdx_id 'CC0-1.0'"
1590
1590
  }
1591
+ },
1592
+ {
1593
+ "id": "dicebear-cc0",
1594
+ "name": "DiceBear avatar styles (CC0 styles)",
1595
+ "url": "https://www.dicebear.com/styles/",
1596
+ "kinds": [
1597
+ "image"
1598
+ ],
1599
+ "scope": "filter-only",
1600
+ "searchable": false,
1601
+ "licensePage": "https://www.dicebear.com/licenses/",
1602
+ "notes": "Procedural avatar styles; each style has its own license. Use only the styles listed under CC0 1.0 on the licenses page.",
1603
+ "verified": {
1604
+ "date": "2026-11-23",
1605
+ "evidence": "licenses page: 'CC0 1.0 42 styles These styles use the CC0 1.0 Public Domain Dedication'"
1606
+ }
1607
+ },
1608
+ {
1609
+ "id": "open-source-avatars",
1610
+ "name": "Open Source Avatars (ToxSam)",
1611
+ "url": "https://www.opensourceavatars.com/",
1612
+ "kinds": [
1613
+ "model"
1614
+ ],
1615
+ "scope": "whole-library",
1616
+ "searchable": false,
1617
+ "licensePage": "https://www.opensourceavatars.com/",
1618
+ "notes": "300+ VRM avatars for games, VR and VTubing.",
1619
+ "verified": {
1620
+ "date": "2026-11-23",
1621
+ "evidence": "site footer: 'All avatars CC0.'; meta description: 'CC0 licensed open-source avatars for any project. No attribution required.'"
1622
+ }
1623
+ },
1624
+ {
1625
+ "id": "freestocktextures",
1626
+ "name": "Free Stock Textures",
1627
+ "url": "https://freestocktextures.com/",
1628
+ "kinds": [
1629
+ "texture",
1630
+ "image"
1631
+ ],
1632
+ "scope": "whole-library",
1633
+ "searchable": false,
1634
+ "licensePage": "https://freestocktextures.com/license/",
1635
+ "notes": "Photographic textures (wood, stone, metal, paper).",
1636
+ "verified": {
1637
+ "date": "2026-11-23",
1638
+ "evidence": "license page: 'All photos published on FreeStockTextures are licensed under Creative Commons Zero'"
1639
+ }
1640
+ },
1641
+ {
1642
+ "id": "pico8-font-palette",
1643
+ "name": "PICO-8 font and palette",
1644
+ "url": "https://www.lexaloffle.com/pico-8.php",
1645
+ "kinds": [
1646
+ "font"
1647
+ ],
1648
+ "scope": "filter-only",
1649
+ "searchable": false,
1650
+ "licensePage": "https://www.lexaloffle.com/pico-8.php?page=faq",
1651
+ "notes": "Only the PICO-8 font and 16-colour palette are CC0; the PICO-8 program and its other content are not.",
1652
+ "verified": {
1653
+ "date": "2026-11-23",
1654
+ "evidence": "FAQ: 'The palette and font are both available under a CC-0 license. -- zep'"
1655
+ }
1656
+ },
1657
+ {
1658
+ "id": "public-domain-archive",
1659
+ "name": "Public Domain Archive",
1660
+ "url": "https://publicdomainarchive.com/",
1661
+ "kinds": [
1662
+ "image"
1663
+ ],
1664
+ "scope": "whole-library",
1665
+ "searchable": false,
1666
+ "licensePage": "https://publicdomainarchive.com/",
1667
+ "notes": "Vintage and modern stock photos added weekly.",
1668
+ "verified": {
1669
+ "date": "2026-11-23",
1670
+ "evidence": "home page meta description: 'Images released under CC0 1.0 Universal Public Domain Dedication.'"
1671
+ }
1672
+ },
1673
+ {
1674
+ "id": "pixel-operator",
1675
+ "name": "Pixel Operator font (Jayvee Enaguas)",
1676
+ "url": "https://www.dafont.com/pixel-operator.font",
1677
+ "kinds": [
1678
+ "font"
1679
+ ],
1680
+ "scope": "whole-library",
1681
+ "searchable": false,
1682
+ "licensePage": "https://www.dafont.com/pixel-operator.font",
1683
+ "notes": "Bitmap-style TTF family (15 files: regular, bold, mono, small caps).",
1684
+ "verified": {
1685
+ "date": "2026-11-23",
1686
+ "evidence": "font notes: 'licensed under a Creative Commons Zero (CC0) 1.0'; changelog 2018.10.04-1: 'Changed licence to Creative Commons Zero (CC0) 1.0'"
1687
+ }
1688
+ },
1689
+ {
1690
+ "id": "m5x7",
1691
+ "name": "m5x7 font (Daniel Linssen)",
1692
+ "url": "https://managore.itch.io/m5x7",
1693
+ "kinds": [
1694
+ "font"
1695
+ ],
1696
+ "scope": "whole-library",
1697
+ "searchable": false,
1698
+ "licensePage": "https://managore.itch.io/m5x7",
1699
+ "notes": "5x7 pixel font for games.",
1700
+ "verified": {
1701
+ "date": "2026-11-23",
1702
+ "evidence": "itch.io asset license field: 'Creative Commons Zero v1.0 Universal'"
1703
+ }
1704
+ },
1705
+ {
1706
+ "id": "monogram-font",
1707
+ "name": "Monogram font (datagoblin)",
1708
+ "url": "https://datagoblin.itch.io/monogram",
1709
+ "kinds": [
1710
+ "font"
1711
+ ],
1712
+ "scope": "whole-library",
1713
+ "searchable": false,
1714
+ "licensePage": "https://datagoblin.itch.io/monogram",
1715
+ "notes": "Monospace bitmap font with TTF and game-ready versions.",
1716
+ "verified": {
1717
+ "date": "2026-11-23",
1718
+ "evidence": "page: 'Monogram is a monospace bitmap font, free and CC0!'; itch.io asset license field: 'Creative Commons Zero v1.0 Universal'"
1719
+ }
1591
1720
  }
1592
1721
  ],
1593
1722
  "excluded": [
@@ -1847,6 +1976,26 @@
1847
1976
  "name": "Mozilla Common Voice",
1848
1977
  "url": "https://commonvoice.mozilla.org/en/datasets",
1849
1978
  "reason": "Speech dataset widely described as CC0, but the datasets page renders with JavaScript and no license statement was readable; the cv-dataset repository is MPL-2.0 (code)."
1979
+ },
1980
+ {
1981
+ "name": "Startup Stock Photos",
1982
+ "url": "https://startupstockphotos.com/",
1983
+ "reason": "Only the page metadata says '(CC0)'; no license page or visible CC0 statement was found."
1984
+ },
1985
+ {
1986
+ "name": "Open Goldberg Variations (Kimiko Ishizaka)",
1987
+ "url": "https://www.opengoldbergvariations.org/",
1988
+ "reason": "The site calls the recording and score 'public domain' but shows no CC0 dedication."
1989
+ },
1990
+ {
1991
+ "name": "100Avatars (Polygonal Mind)",
1992
+ "url": "https://github.com/PolygonalMind/100Avatars",
1993
+ "reason": "Repository has no detected license and the README states no CC0; some avatars appear in Open Source Avatars, which is listed."
1994
+ },
1995
+ {
1996
+ "name": "Khronos glTF Sample Assets",
1997
+ "url": "https://github.com/KhronosGroup/glTF-Sample-Assets",
1998
+ "reason": "Each model carries its own license (CC0, CC BY and others); no per-model CC0 filter has been checked."
1850
1999
  }
1851
2000
  ]
1852
2001
  }
package/dist/http.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Poly Haven's API terms require a User-Agent that names the calling app.
3
3
  * Openverse also asks clients to identify themselves.
4
4
  */
5
- export const USER_AGENT = "cc0-library-mcp/0.2.0 (+https://github.com/sanghyoLe/cc0-library)";
5
+ export const USER_AGENT = "cc0-library-mcp/0.2.1 (+https://github.com/sanghyoLe/cc0-library)";
6
6
  const TIMEOUT_MS = 15_000;
7
7
  export class UpstreamError extends Error {
8
8
  provider;
@@ -62,7 +62,8 @@ const IMAGEINFO = {
62
62
  origin: "*",
63
63
  prop: "imageinfo",
64
64
  iiprop: "url|mime|size|extmetadata",
65
- iiurlwidth: "320",
65
+ /** Wikimedia serves thumbnails only at standard widths (e.g. 330, 500, 960, 1280); others return HTTP 400. */
66
+ iiurlwidth: "330",
66
67
  iiextmetadatafilter: "License|LicenseShortName|Artist|ImageDescription",
67
68
  };
68
69
  export async function searchCommons(fetchImpl, kind, params) {
package/dist/server.js CHANGED
@@ -88,7 +88,7 @@ const result = (value) => ({
88
88
  });
89
89
  const fail = (message) => ({ content: [{ type: "text", text: message }], isError: true });
90
90
  export function createServer(fetchImpl = defaultFetch) {
91
- const server = new McpServer({ name: "cc0-library", version: "0.2.0" });
91
+ const server = new McpServer({ name: "cc0-library", version: "0.2.1" });
92
92
  server.registerTool("search_assets", {
93
93
  title: "Search CC0 assets across 17 sources",
94
94
  description: "Find CC0 1.0 (public-domain dedication) images, audio, video, HDRIs, textures, 3D models and museum artworks by keyword, " +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc0-library-mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "mcpName": "io.github.sanghyoLe/cc0-library",
5
5
  "description": "MCP server and web gallery for CC0-only assets (images, audio, video, HDRIs, textures, 3D models, museum art) from 8 sources, with license evidence per result.",
6
6
  "license": "MIT",