Unsplash MCP Server

Unsplash MCP server for easy stock image integration with Claude Code

Local serverstdioTypeScript

What is the Unsplash MCP server?

Connect Unsplash to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Unsplash MCP server for easy stock image integration with Claude Code. The unsplash mcp server is what makes that connection.

What the server does

An easy-to-use MCP server that provides seamless access to Unsplash's stock photo API for Claude Code users. Perfect for developers who need high-quality stock images during website development.

  • 🔍 Search Images: Find stock photos by keyword with filters
  • 🎲 Random Images: Get random high-quality images
  • 📋 Image Details: Retrieve complete metadata and attribution
  • 🖼️ Optimized URLs: Generate properly sized image URLs for web use
  • 🚀 Easy Installation: One command setup with Claude Code
  • Fast: Built with TypeScript and optimized for performance

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • search_images — The search_images tool exposed by this server
  • get_random_image — The get_random_image tool exposed by this server
  • get_image_details — The get_image_details tool exposed by this server
  • get_image_url — The get_image_url tool exposed by this server
  • Build — The Build tool exposed by this server
  • Test — The Test tool exposed by this server

Installation

Installation goes through your MCP client rather than a global install: point it at @violent-madman/unsplash-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Credentials and setup notes

Configuration is passed through the environment: UNSPLASH_ACCESS_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Unsplash's toolset — search_images, get_random_image, get_image_details and 3 more — is a fair guide to whether it matches your workflow. It is maintained by violent-madman; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Unsplash's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
search_imagesThe search_images tool exposed by this server.
get_random_imageThe get_random_image tool exposed by this server.
get_image_detailsThe get_image_details tool exposed by this server.
get_image_urlThe get_image_url tool exposed by this server.
BuildThe Build tool exposed by this server.
TestThe Test tool exposed by this server.

How to install the Unsplash MCP server

{
  "mcpServers": {
    "unsplash-1": {
      "command": "npx",
      "args": ["-y", "@violent-madman/unsplash-mcp"],
      "env": {
        "UNSPLASH_ACCESS_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
UNSPLASH_ACCESS_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Unsplash to search images.
  • Use Unsplash to get random image.
  • Use Unsplash to get image details.

Frequently asked questions

It connects Unsplash to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (search_images, get_random_image, get_image_details, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Unsplash directly.