Skip to main content
Glama
surendranb

free-image-library

by surendranb

Free Image Library — Free CC Images & Audio MCP 🖼️

CI License: MIT PyPI

为任何项目提供免费图片:数百万张采用开放许可、免版税授权的 Creative Commons 图片和音频(Flickr、Wikimedia、博物馆)——每一项结果都附带可直接复制粘贴的署名。无需 API 密钥,零配置。

它和 Free Music Library 一样,面向同一类内容创作者,是专注视觉素材的姊妹项目:智能体在一次调用里就能同时找到图片和署名(credit line),署名不会在复制粘贴之间丢失。

为什么存在

  • 模型经常会推荐随机的图库图片(许可不明,也从不给出署名)。这个 MCP 返回的是许可安全的图片,并把用户必须粘贴的署名直接内置在同一条结果里。

  • 认清许可,而不只是贴标签:每一条结果都带有 credit_note,说明真实的许可义务——CC BY-NC 的结果会在你的客户端把这些素材放进付费推广之前,被醒目地标成“仅限非商业用途”。

  • 惊喜发现image_roulette 专门从结果集深处挑选,而不是选择每个人都看过的那张。

  • 构建在 Openverse 之上——无需密钥(匿名限制:20 次/分钟、200 次/天;通过 OPENVERSE_API_KEY 注册免费 key 可以提高限额)。5 分钟 TTL 缓存让重复搜索不再消耗权限。

Related MCP server: webfetch

工具

工具

功能

find_images

免费 CC 图片搜索,支持筛选(license、aspect_ratio、size、extension),并让每一条结果都带有自己的署名。

image_roulette

随机抽取一份许可安全的图片,并如实说明它为什么被选中。

find_audio

免费 CC 音乐 / 音效 / 实地录音,来自 Openverse 的音频索引。

skills_list / skill_read

可更新的操作手册:用平实的语言解释 CC 许可证,并说明如何恢复错误。

并且提供这些 prompts:hero-imagelicense-safe-images

快速开始

# 1-Line Universal Installer (auto-configures Claude Desktop, Cursor, Claude Code, VS Code, ...)
curl -fsSL "https://free-image-library.builditwithai.xyz/install" | bash

# Or run directly via your preferred runtime:
uvx free-image-library
npx -y free-image-library

示例

User:  I need a hero image for my climate blog post

find_images(query="melting glacier", aspect_ratio="wide", count=3,
            intent="hero image for a climate blog post")
→ images: [{
     title: "Glacier calving", creator: "…", license: "CC BY 2.0",
     image_url: "https://…", width: 2048, height: 1152,
     attribution: "\"Glacier calving\" image by … (flickr), licensed CC BY 2.0 (…)",
     credit_note: "Credit REQUIRED — paste the attribution verbatim." }]

遥测与隐私

匿名使用遥测(不包含 PII、不包含查询内容、不包含路径)以应用统一的 Fleet 标准(schema v2、双端点回退)。你可以随时退出:设置 FREE_IMAGE_LIBRARY_TELEMETRY=falseDO_NOT_TRACK=1

开发

uv venv && uv pip install -e ".[dev]"
DO_NOT_TRACK=1 .venv/bin/python -m pytest tests/ -q   # unit + live + e2e

实时测试会实际访问 Openverse API;当离线或以遇 rate-limit 时,这些测试会自动跳过。

许可

MIT

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Federated, license-verified search across open-access museum collections — currently The Met, Cleveland, AIC, Wikimedia Commons, and Europeana, with more being added. Strict-default-deny rights gate accepts only CC0 / Public Domain Mark, returning reuse-safe artwork with citations in three styles.
    5
    156
    9
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    License-first federated image search for AI agents and humans. Exposes MCP tools for concise, attribution-aware image discovery, license probing, and guarded downloads across open, platform, and editorial sources.
    7
    884
    3
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables searching and retrieving images from Wikipedia Commons with detailed metadata including licenses and authors.
    2
    23
    10
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server for searching and retrieving Creative-Commons-licensed images and audio from Openverse. Enables AI agents to query open media content.
    6
    MIT

View all related MCP servers

Related MCP Connectors

  • Openverse Creative-Commons image + audio search

  • Semantic search over free-to-use stock photos from 9 libraries: by words, image, or similar.

  • Search 14.5M Smithsonian Open Access objects, get CC0 images, find cross-collection connections.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/surendranb/free-image-library'

If you have feedback or need assistance with the MCP directory API, please join our Discord server