cc0-library-mcp 0.1.0 → 0.2.0
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 +67 -23
- package/catalog/sources.json +1388 -30
- package/dist/http.js +5 -4
- package/dist/providers/blenderkit.js +60 -0
- package/dist/providers/collections.js +107 -0
- package/dist/providers/gbif.js +67 -0
- package/dist/providers/iconify.js +81 -0
- package/dist/providers/inaturalist.js +69 -0
- package/dist/providers/phylopic.js +88 -0
- package/dist/providers/wpphotos.js +70 -0
- package/dist/providers/zenodo.js +62 -0
- package/dist/search.js +49 -1
- package/dist/server.js +141 -32
- package/dist/types.js +10 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
# cc0-library
|
|
2
2
|
|
|
3
3
|
**CC0 assets only. With receipts.**
|
|
4
|
-
One search across
|
|
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.
|
|
5
5
|
|
|
6
6
|
[](https://github.com/sanghyoLe/cc0-library/actions/workflows/ci.yml)
|
|
7
7
|

|
|
8
8
|

|
|
9
|
+
[](https://www.npmjs.com/package/cc0-library-mcp)
|
|
10
|
+
[](https://glama.ai/mcp/servers/sanghyoLe/cc0-library)
|
|
9
11
|
|
|
10
12
|
- **Try it in the browser:** https://sanghyole.github.io/cc0-library/
|
|
11
|
-
- **Use it from Claude, Cursor, or any MCP client:** `claude mcp add cc0-library -- npx -y
|
|
13
|
+
- **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)
|
|
12
15
|
|
|
13
16
|
[](https://sanghyole.github.io/cc0-library/?q=cat&strict=1)
|
|
14
17
|
|
|
@@ -20,12 +23,12 @@ One search across 8 sources for images, audio, video, HDRIs, textures, 3D models
|
|
|
20
23
|
|
|
21
24
|
| | Openverse search alone | cc0-library |
|
|
22
25
|
|---|---|---|
|
|
23
|
-
| Sources | Openverse index (Flickr, Freesound, Commons, museums…) | Openverse **plus** Commons, Internet Archive, Poly Haven, ambientCG, Sketchfab, Cleveland, The Met |
|
|
26
|
+
| Sources | Openverse index (Flickr, Freesound, Commons, museums…) | Openverse **plus** 16 more: Commons, Internet Archive, WordPress Photo Directory, iNaturalist, GBIF, PhyloPic, Iconify, Zenodo, Poly Haven, ambientCG, BlenderKit, Sketchfab, Cleveland, The Met, GitHub, Hugging Face |
|
|
24
27
|
| CC0 filter | `license=cc0` query parameter | Query filter **and** a check of each item's own license field |
|
|
25
28
|
| Who declared CC0 | Not shown | `declaredBy`: studio, museum, or uploader |
|
|
26
29
|
| Re-check before download | — | `get_asset` re-checks CC0 at the source |
|
|
27
|
-
| "Looks free but isn't" list | — | Unsplash, Pixabay, Pexels, SMK (Public Domain Mark) |
|
|
28
|
-
| Asset types | Images, audio | Images, audio, video, HDRIs, textures, 3D models, artworks |
|
|
30
|
+
| "Looks free but isn't" list | — | Unsplash, Pixabay, Pexels, SMK (Public Domain Mark), NASA |
|
|
31
|
+
| Asset types | Images, audio | Images, audio, video, HDRIs, textures, 3D models, artworks, whole collections |
|
|
29
32
|
| AI assistant access | REST API | MCP server (`search_assets`, `get_asset`, `list_sources`) |
|
|
30
33
|
|
|
31
34
|
### Who declared CC0?
|
|
@@ -34,12 +37,32 @@ Every result has `licenseEvidence.declaredBy`:
|
|
|
34
37
|
|
|
35
38
|
| Value | Meaning | Providers |
|
|
36
39
|
|---|---|---|
|
|
37
|
-
| `library` | The studio that made the asset publishes
|
|
38
|
-
| `institution` | A museum marks a work in its own collection as CC0. | Cleveland Museum of Art, The Met |
|
|
39
|
-
| `uploader` | A site user set the CC0 label. Nobody reviewed it, and it can be wrong (for example, someone else's work uploaded as CC0). | Openverse, Wikimedia Commons, Internet Archive, Sketchfab |
|
|
40
|
+
| `library` | The studio or project that made the asset publishes it as CC0. | Poly Haven, ambientCG, Iconify CC0 icon sets |
|
|
41
|
+
| `institution` | A museum or research institution marks a work in its own collection as CC0. | Cleveland Museum of Art, The Met, GBIF publishers |
|
|
42
|
+
| `uploader` | A site user set the CC0 label. Nobody reviewed it, and it can be wrong (for example, someone else's work uploaded as CC0). | Openverse, Wikimedia Commons, Internet Archive, Sketchfab, WordPress Photo Directory, iNaturalist, PhyloPic, Zenodo, BlenderKit, GitHub, Hugging Face |
|
|
40
43
|
|
|
41
44
|
The web gallery has a "rights holder only" switch that drops `uploader` results. MCP clients can filter on the field.
|
|
42
45
|
|
|
46
|
+
## The catalog
|
|
47
|
+
|
|
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.
|
|
49
|
+
|
|
50
|
+
| Asset type | Sources | Examples |
|
|
51
|
+
|---|---|---|
|
|
52
|
+
| Images, photos, illustrations, icons | 61 | PxHere, freestocks.org, Open Peeps, Health Icons, Simple Icons, 3dicons, FreeSVG |
|
|
53
|
+
| 3D models and animation | 21 | Kenney, Quaternius, KayKit, The Base Mesh, Sign Language Mocap Archive, BlenderKit (CC0 filter) |
|
|
54
|
+
| Audio, music, samples | 20 | BigSoundBank, VCSL, AKWF waveforms, Wyzowl SFX kit, Freesound (CC0 filter) |
|
|
55
|
+
| Textures and materials | 15 | ambientCG, cgbookcase, ShareTextures, 3DTextures.me, Godot VFX textures |
|
|
56
|
+
| HDRIs | 5 | Poly Haven, Open HDRI, ambientCG |
|
|
57
|
+
| Video | 6 | ISO Republic, Free Nature Stock, Internet Archive (CC0 items) |
|
|
58
|
+
| Museum artworks | 3 | Cleveland Museum of Art, The Met, Rijksmuseum (CC0 items) |
|
|
59
|
+
| Fonts | 2 | Beedii, C64 keyboard font |
|
|
60
|
+
|
|
61
|
+
The catalog also keeps two honest lists:
|
|
62
|
+
|
|
63
|
+
- **Not CC0 (11):** popular "free" sources with their own licenses or public-domain statements, such as Unsplash, Pixabay, Pexels, Pixnio, SMK (Public Domain Mark), NASA and LibriVox, each with the reason.
|
|
64
|
+
- **Pending (40):** candidates that could not be verified yet, usually because the site blocks automated requests. A person can check them in a browser and open a pull request.
|
|
65
|
+
|
|
43
66
|
## How each provider is checked
|
|
44
67
|
|
|
45
68
|
| Provider | Asset kinds | How CC0 is checked |
|
|
@@ -48,7 +71,16 @@ The web gallery has a "rights holder only" switch that drops `uploader` results.
|
|
|
48
71
|
| [Poly Haven](https://polyhaven.com) | hdri, texture, model | Every asset in the library is CC0 ([license](https://polyhaven.com/license)). |
|
|
49
72
|
| [Wikimedia Commons](https://commons.wikimedia.org/wiki/Category:CC-Zero) | image, audio, video | Search is limited to Category:CC-Zero. Each file must also have `extmetadata.License === "cc0"`. |
|
|
50
73
|
| [Internet Archive](https://archive.org) | video, audio, image | The query requires a CC0 `licenseurl`. Each item's own `licenseurl` must be the CC0 1.0 deed. User text is stripped of query operators so it cannot bypass this clause. |
|
|
74
|
+
| [WordPress Photo Directory](https://wordpress.org/photos/) | image | Every photo in the directory is CC0 ("All photos are CC0 licensed"). |
|
|
51
75
|
| [Sketchfab](https://sketchfab.com) | model | The query uses `license=cc0`. Each model's own license must be "CC0 Public Domain". Age-restricted models are dropped. |
|
|
76
|
+
| [iNaturalist](https://www.inaturalist.org) | image | The query uses `photo_license=cc0`. Only photos whose own `license_code` is `cc0` are used. |
|
|
77
|
+
| [GBIF](https://www.gbif.org) | image | The query uses `license=CC0_1_0`. The occurrence license must be CC0, and the image's own license must be CC0 or unstated. |
|
|
78
|
+
| [PhyloPic](https://www.phylopic.org) | image | Each silhouette's license link must be the CC0 deed. Search matches taxon names (e.g. `vulpes`). |
|
|
79
|
+
| [Iconify](https://iconify.design) | image | Search covers only icon sets whose license in `/collections` is `CC0-1.0`. |
|
|
80
|
+
| [Zenodo](https://zenodo.org) | image, video | The query requires `metadata.rights.id:cc0-1.0`; each record must report license `cc-zero`. |
|
|
81
|
+
| [BlenderKit](https://www.blenderkit.com) | model, texture, hdri | The query uses `license:cc_zero`; each asset must report `cc_zero` and be public. Downloads need a free BlenderKit account. |
|
|
82
|
+
| [GitHub](https://github.com) | collection | Repositories whose detected license is `CC0-1.0`. Check the README for contents under other licenses. |
|
|
83
|
+
| [Hugging Face](https://huggingface.co/datasets) | collection | Datasets tagged `license:cc0-1.0`. |
|
|
52
84
|
| [ambientCG](https://ambientcg.com) | hdri, texture, model | Every asset in the library is CC0 ([license](https://docs.ambientcg.com/license/)). |
|
|
53
85
|
| [Cleveland Museum of Art](https://www.clevelandart.org/open-access) | artwork | The query uses `cc0=1`. Each item must also have `share_license_status === "CC0"`. |
|
|
54
86
|
| [The Met](https://github.com/metmuseum/openaccess) | artwork | Each object must have `isPublicDomain === true` (Open Access works are CC0) and an image. |
|
|
@@ -64,7 +96,7 @@ Requires Node.js 20 or later.
|
|
|
64
96
|
### Claude Code
|
|
65
97
|
|
|
66
98
|
```sh
|
|
67
|
-
claude mcp add cc0-library -- npx -y
|
|
99
|
+
claude mcp add cc0-library -- npx -y cc0-library-mcp
|
|
68
100
|
```
|
|
69
101
|
|
|
70
102
|
### Claude Desktop / other clients (`mcpServers` JSON)
|
|
@@ -74,7 +106,7 @@ claude mcp add cc0-library -- npx -y github:sanghyoLe/cc0-library
|
|
|
74
106
|
"mcpServers": {
|
|
75
107
|
"cc0-library": {
|
|
76
108
|
"command": "npx",
|
|
77
|
-
"args": ["-y", "
|
|
109
|
+
"args": ["-y", "cc0-library-mcp"]
|
|
78
110
|
}
|
|
79
111
|
}
|
|
80
112
|
}
|
|
@@ -93,8 +125,8 @@ claude mcp add cc0-library -- node "$PWD/dist/index.js"
|
|
|
93
125
|
|
|
94
126
|
| Tool | Input | Returns |
|
|
95
127
|
|---|---|---|
|
|
96
|
-
| `search_assets` | `query`, `kind` (`image`·`audio`·`video`·`hdri`·`texture`·`model`·`artwork`·`any`, default `any`), `limit` 1–20, `page` 1–12 | CC0 assets, per-provider totals, per-provider errors |
|
|
97
|
-
| `get_asset` | `id` from `search_assets` (`openverse:image:<uuid>`, `openverse:audio:<uuid>`, `polyhaven:<slug>`, `ambientcg:<assetId>`, `cleveland:<number>`, `met:<number>`, `commons:<pageid>`, `archive:<identifier>`, `sketchfab:<uid>`) | Details plus download URLs (Poly Haven: up to 60 map/resolution/format files; Sketchfab: model page only, because downloads need the user's own login) |
|
|
128
|
+
| `search_assets` | `query`, `kind` (`image`·`audio`·`video`·`hdri`·`texture`·`model`·`artwork`·`collection`·`any`, default `any`; `any` excludes `collection`), `limit` 1–20, `page` 1–12 | CC0 assets, per-provider totals, per-provider errors |
|
|
129
|
+
| `get_asset` | `id` from `search_assets` (`openverse:image:<uuid>`, `openverse:audio:<uuid>`, `polyhaven:<slug>`, `ambientcg:<assetId>`, `cleveland:<number>`, `met:<number>`, `commons:<pageid>`, `archive:<identifier>`, `sketchfab:<uid>`, `wpphotos:<number>`, `inaturalist:<n>`, `gbif:<n>`, `phylopic:<uuid>`, `iconify:<set>:<icon>`, `zenodo:<n>`, `blenderkit:<uuid>`, `github:<owner>/<repo>`, `huggingface:<owner>/<dataset>`) | Details plus download URLs (Poly Haven: up to 60 map/resolution/format files; Sketchfab: model page only, because downloads need the user's own login) |
|
|
98
130
|
| `list_sources` | `kind` (optional) | Curated catalog, the non-CC0 list, and the pending-verification list |
|
|
99
131
|
|
|
100
132
|
If one provider fails, `search_assets` still returns results from the other providers and lists the failure in `errors`. Gateway errors (HTTP 502/503/504) are retried once.
|
|
@@ -154,22 +186,30 @@ src/
|
|
|
154
186
|
providers/commons.ts
|
|
155
187
|
providers/archive.ts
|
|
156
188
|
providers/sketchfab.ts
|
|
189
|
+
providers/wpphotos.ts
|
|
190
|
+
providers/inaturalist.ts, gbif.ts, phylopic.ts, iconify.ts, zenodo.ts, blenderkit.ts
|
|
191
|
+
providers/collections.ts GitHub repositories and Hugging Face datasets
|
|
157
192
|
web/ browser gallery (GitHub Pages); scripts/build-site.mjs assembles it into _site/
|
|
158
193
|
catalog/sources.json curated CC0 source list (CC0 data)
|
|
159
194
|
test/ node:test unit tests
|
|
160
195
|
scripts/smoke.mjs live end-to-end check
|
|
196
|
+
scripts/discover.mjs weekly catalog re-check and Openverse candidate discovery
|
|
161
197
|
```
|
|
162
198
|
|
|
163
|
-
##
|
|
199
|
+
## Automation
|
|
164
200
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
4. Open a pull request.
|
|
201
|
+
- **Weekly source check** ([`discover.yml`](.github/workflows/discover.yml)): every Monday it re-checks every catalog license page and lists new CC0 candidates from Openverse in the [`source-check`](https://github.com/sanghyoLe/cc0-library/issues?q=label%3Asource-check) issue. A person verifies each candidate before it enters the catalog.
|
|
202
|
+
- **Releases** ([`publish-npm.yml`](.github/workflows/publish-npm.yml)): pushing a `v*` tag runs the tests, publishes to npm with [trusted publishing](https://docs.npmjs.com/trusted-publishers/) (signed provenance, no stored token), and publishes `server.json` to the MCP Registry with GitHub OIDC.
|
|
203
|
+
- **Quality gates:** CI on Node 20, 22 and 24, CodeQL code scanning, Dependabot, and a protected `main` branch.
|
|
169
204
|
|
|
170
|
-
|
|
205
|
+
## Contributing
|
|
171
206
|
|
|
172
|
-
|
|
207
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md). In short:
|
|
208
|
+
|
|
209
|
+
- **Suggest a source:** open a [New CC0 source](https://github.com/sanghyoLe/cc0-library/issues/new?template=new-source.yml) issue with a quote from the source's own license page.
|
|
210
|
+
- **Report a wrong license:** open a [Wrong license](https://github.com/sanghyoLe/cc0-library/issues/new?template=wrong-license.yml) issue.
|
|
211
|
+
- **Automatic discovery:** a weekly workflow re-checks every catalog license page and lists new CC0 candidates from Openverse in the [`source-check`](https://github.com/sanghyoLe/cc0-library/issues?q=label%3Asource-check) issue. A person verifies each candidate before it enters the catalog.
|
|
212
|
+
- **Pull requests:** `main` is protected. Changes need a pull request, passing tests, and maintainer approval.
|
|
173
213
|
|
|
174
214
|
## License
|
|
175
215
|
|
|
@@ -183,16 +223,20 @@ To add a searchable provider, add a module under `src/providers/` that returns `
|
|
|
183
223
|
|
|
184
224
|
**cc0-library**는 CC0 1.0 자료만 찾아 주는 오픈소스 MCP 서버이자 CC0 자료원 목록입니다.
|
|
185
225
|
|
|
186
|
-
- `search_assets`는
|
|
226
|
+
- `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에서 찾습니다.
|
|
187
227
|
- 모든 결과에는 CC0 확인 근거(`licenseEvidence`)가 붙습니다. 근거에는 CC0를 누가 선언했는지(`declaredBy`)도 들어 있습니다. 제작사(`library`), 미술관(`institution`), 업로더(`uploader`) 중 하나입니다. 업로더가 선언한 CC0는 아무도 검토하지 않았으므로 직접 확인해야 합니다.
|
|
188
228
|
- 웹에서 바로 검색할 수 있습니다: https://sanghyole.github.io/cc0-library/
|
|
189
229
|
- `get_asset`은 다운로드 URL을 주기 전에 원본에서 CC0 여부를 다시 확인합니다.
|
|
190
|
-
- `list_sources`는 검증한 CC0 자료원
|
|
230
|
+
- `list_sources`는 검증한 CC0 자료원 97곳의 목록을 줍니다. 종류별로 이미지 61곳, 3D 21곳, 오디오 20곳, 텍스처 15곳, HDRI 5곳, 영상 6곳, 미술품 3곳, 폰트 2곳입니다. CC0가 아닌 무료 사이트(Unsplash, Pixabay, Pexels, Pixnio, SMK, NASA)와 그 이유도 줍니다. 아직 검증하지 못한 후보도 따로 줍니다.
|
|
231
|
+
|
|
232
|
+
- 매주 자동 점검이 목록의 라이선스 페이지를 다시 확인하고 새 후보를 찾습니다.
|
|
233
|
+
- 버전 태그를 올리면 npm과 MCP 공식 레지스트리에 자동으로 배포됩니다.
|
|
234
|
+
- Glama 품질 등급은 A입니다.
|
|
191
235
|
|
|
192
236
|
설치 (Claude Code):
|
|
193
237
|
|
|
194
238
|
```sh
|
|
195
|
-
claude mcp add cc0-library -- npx -y
|
|
239
|
+
claude mcp add cc0-library -- npx -y cc0-library-mcp
|
|
196
240
|
```
|
|
197
241
|
|
|
198
|
-
코드는 MIT, 카탈로그 데이터는 CC0입니다. 자료원
|
|
242
|
+
코드는 MIT, 카탈로그 데이터는 CC0입니다. 자료원 제안과 기여 방법은 [CONTRIBUTING.md](CONTRIBUTING.md)에 있습니다. 매주 자동 점검이 새 CC0 후보를 찾아 `source-check` 이슈에 올립니다. 후보는 사람이 원본 라이선스 페이지를 확인한 뒤에 목록에 들어갑니다.
|