Unsplash Mcp

by cevatkerim

11 stars
561 downloads
Not rated
GitHub

About

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

Details

Author
cevatkerim
GitHub stars
11
Downloads
561
Categories
Other, AI, Search

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Unsplash Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "unsplash mcp": {
            "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"
                }
            }
        }
    }
}

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"
        }
    }
}

Unsplash MCP Server

An MCP (Model Context Protocol) server for fetching photos from Unsplash with proper attribution. Designed for LLMs building content pages that need properly credited images.

Features

- Search Photos - Find photos by keyword with filters (color, orientation)
- Random Photos - Get random photos for variety in content
- Download Tracking - Compliant with Unsplash API guidelines
- Full Attribution - Every photo includes ready-to-use attribution text and HTML
- LLM-Optimized - Pre-formatted attribution strings for easy embedding

Why This Server?

Unsplash requires proper attribution when using their photos. This server makes it easy by including:

- attribution_text: Plain text like "Photo by John Doe on Unsplash"
- attribution_html: Full HTML with proper links for web pages

Photo by <a href="https://unsplash.com/@johndoe">John Doe</a> on <a href="https://unsplash.com">Unsplash</a>

Installation

Prerequisites

- Python 3.11+
- An Unsplash API access key (Get one here)

Quick Start

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.