Unsplash Mcp
@cevatkerim
About Unsplash Mcp
An MCP server for Unsplash photo search with proper attribution built-in. Key differentiator: Returns ready-to-use attribution_text and attribution_html for each photo, making it trivial for LLMs to build content pages with properly credited images (as required by Unsplash API g
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"unsplash": {
"type": "stdio",
"command": "/path/to/unsplash-mcp/.venv/bin/fastmcp",
"args": [
"run",
"/path/to/unsplash-mcp/server.py"
],
"env": {
"UNSPLASH_ACCESS_KEY": "your_access_key_here"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Unsplash Mcp?
An MCP (Model Context Protocol) server for fetching photos from Unsplash with proper attribution. It is designed for LLMs building content pages that need properly credited images.
How to use Unsplash Mcp?
Install Python 3.11+, obtain an Unsplash API access key, clone the repository, create a virtual environment, install dependencies (fastmcp, httpx, python-dotenv), set the key in a .env file, then run the server with fastmcp run server.py. Configure the server in your MCP client (e.g., Claude Code, Cursor, Windsurf/Cline) by providing the command path, arguments, and the UNSPLASH_ACCESS_KEY environment variable.
Key features of Unsplash Mcp
- Search photos by keyword with filters (color, orientation)
- Get random photos for variety in content
- Download tracking compliant with Unsplash API guidelines
- Full attribution including ready-to-use text and HTML
- Pre-formatted attribution strings optimized for LLM embedding
Use cases of Unsplash Mcp
- An LLM building a blog post includes credited landscape photos
- A content-generation app selects a random nature image for a hero section
- A website generator searches for coffee shop images and embeds attribution HTML
- An AI assistant tracks downloads when a user saves an image
FAQ from Unsplash Mcp
What do I need to run Unsplash Mcp?
Python 3.11+ and an Unsplash API access key (available from unsplash.com/developers). Dependencies include fastmcp, httpx, and python-dotenv.
What are the rate limits?
Demo mode: 50 requests per hour. Production mode: 5,000 requests per hour (after approval).
Does the server handle Unsplash attribution requirements?
Yes. Every photo response includes attribution_text and attribution_html strings. You must use these when displaying images.
Can I hotlink images from Unsplash using this server?
Yes. The returned URLs are meant to be used directly, which enables view tracking in compliance with Unsplash API guidelines.
Do I need to track downloads?
Yes, if you offer a download link. Use the track_download tool with the photo ID to comply with Unsplash API guidelines.
More Other MCP servers
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
ICSS
chokcoco不止于 CSS
Awesome Mlops
visengerA curated list of references for MLOps
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Comments