Immich MCP Server
Immich MCP Server provides AI-driven search, retrieval, analysis, organization, and management of an Immich photo library.
Search photos by natural language/semantic query, metadata (date, location, camera, file type), person, or date.
Fetch and inspect assets individually or randomly, including image previews/thumbnails and full metadata.
Generate descriptions of photos and feed them back into the library.
Upload, update metadata, bulk-update, and delete assets (with optional permanent deletion).
Manage albums: list, create, get contents, and add assets.
Manage people: list, search, rename, and merge recognized faces.
Run maintenance jobs like face detection, facial recognition, smart search indexing, thumbnail generation, and video conversion.
View library statistics and server configuration information.
Provides tools for interacting with an Immich photo library, including photo search, album management, face and people management, metadata edits, and description push/pull.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Immich MCP Server Find photos of my family from our trip to Paris"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Immich MCP Server
An MCP server for your Immich photo library with bidirectional image handling: pull photos into LLM context, push metadata and descriptions back, and manage faces and people.
Requirements
Node.js 20+
A running Immich instance
Related MCP server: Immich MCP Server
Install
git clone https://github.com/mattmaas/immich-mcp.git
cd immich-mcp
npm install
npm run build # compiles TypeScript to dist/
npm start # node dist/server.jsEnvironment Variables
Variable | Required | Description |
| yes | Base URL of your Immich server, e.g. |
| yes | API key from Immich settings |
MCP Client Configuration
Add this server to your MCP client's config:
{
"mcpServers": {
"immich": {
"command": "node",
"args": ["<path>/immich-mcp/dist/server.js"],
"env": {
"IMMICH_URL": "http://localhost:2283",
"IMMICH_API_KEY": "your-api-key"
}
}
}
}Tools
Tool | Description |
| Smart (semantic) photo search |
| Search by metadata |
| Search by person |
| Get an asset by ID |
| Get asset metadata |
| Upload a new asset |
| Update asset metadata |
| Delete assets |
| List albums |
| Create an album |
| Add assets to an album |
| Get an album's contents |
| List detected people |
| Rename a person |
| Merge two people |
| Library statistics |
| Run a maintenance job |
| Generate a description for a photo |
| Bulk-update assets |
| Server configuration info |
| Fetch random assets |
| Find assets by date |
Usage
Ask your agent, for example:
"Find photos of my dog" →
immich_search_smart(query="dog")"Describe this photo" →
immich_describe_photo(...)"Add these photos to the 'Trip' album" →
immich_add_to_album(...)
License
MIT
Available Tools
22 toolsimmich_add_to_albumC
Add assets to an existing album.
Inputs: albumId (required), assetIds (required).
immich_bulk_updateB
Bulk update descriptions/metadata for multiple assets. Feed LLM-generated descriptions back into Immich. Pass an array of {id, description, isFavorite, rating}.
Inputs: updates (required).
immich_create_albumC
Create a new album, optionally adding assets to it.
Inputs: albumName (required), assetIds, description.
immich_delete_assetsB
Delete assets by IDs. Moves to trash by default.
Inputs: ids (required), force.
immich_describe_photoA
Fetch a photo so the LLM can see it, along with all metadata. Perfect for generating descriptions, analyzing content, or identifying what's in a photo.
Inputs: id (required).
immich_get_albumB
Get album details including all assets. Use withImages=true to see thumbnails of album contents.
Inputs: id (required), withImages.
immich_get_assetA
Fetch a photo/video and return it as an image the LLM can see. Use this to visually inspect a photo.
Inputs: id (required), size.
immich_get_asset_by_dateC
Get photos from a specific date or date range.
Inputs: date (required), size, withImages.
immich_get_asset_infoA
Get full metadata/EXIF info for an asset as JSON. Does not include the image itself.
Inputs: id (required).
immich_get_statisticsA
Get library statistics: photo count, video count, total size, etc.
Inputs: no named parameters.
immich_list_albumsB
List all albums with asset counts.
Inputs: shared.
immich_list_peopleC
List all recognized people with face counts.
Inputs: withHidden.
immich_merge_peopleC
Merge duplicate face clusters into one person.
Inputs: id (required), mergeIds (required).
immich_random_assetsB
Get random photos from the library. Great for exploring or sampling. Use withImages=true to see them.
Inputs: count, withImages.
immich_rename_personC
Name or rename a recognized person.
Inputs: id (required), name (required), birthDate.
immich_run_jobC
Trigger a server job: face detection, facial recognition, smart search (CLIP), sidecar metadata, thumbnail generation, video conversion, or storage migration.
Inputs: jobName (required), force.
immich_search_metadataC
Search photos by metadata: date range, location, camera, file type, etc.
Inputs: city, make, size, type, +8 more.
immich_search_peopleB
Search for recognized people by name. Returns person entries with face thumbnails.
Inputs: name (required), withHidden.
immich_search_smartA
Search photos using natural language (CLIP). Examples: 'sunset at beach', 'birthday cake', 'red car'. Returns matching photos with metadata. Use withImages=true to see thumbnails.
Inputs: query (required), size, personIds, withImages.
immich_server_infoA
Get Immich server version, features, and configuration.
Inputs: no named parameters.
immich_update_assetB
Update an asset's metadata: description, favorite status, rating, date, location.
Inputs: id (required), rating, latitude, longitude, +3 more.
immich_upload_assetB
Upload an image to Immich. Provide base64 data or a description to generate. The image is added to the library.
Inputs: fileName (required), base64Data (required), mimeType.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Most tools target distinct resources/actions, but immich_get_asset, immich_describe_photo, and immich_get_asset_info overlap significantly (image vs image+metadata vs metadata-JSON), and immich_get_asset_by_date overlaps with immich_search_metadata's date filtering. Descriptions mostly disambiguate these, so confusion is limited to a couple of pairs.
All tools use a consistent immich_ prefix followed by snake_case verb_noun or noun_resource patterns (search_smart, get_asset, list_albums, create_album, delete_assets). No mixed camelCase/snake_case or inconsistent verb styles; only minor non-verb-led names like immich_random_assets.
22 tools is on the heavy side for a photo library server, and a few (describe_photo duplicating get_asset + get_asset_info) don't fully earn their place. The breadth of search/album/people/job features justifies most tools, but it sits in the borderline-heavy range.
Core asset lifecycle is covered (upload, get, update, delete, bulk update) plus rich search, people, jobs, and stats. However album management lacks delete/update album and remove-from-album operations, leaving some dead ends in the album workflow.
Maintenance
Related MCP Connectors
Search photos and video moments by visual meaning, people, dates, and folders across local libraries, Apple Photos, and OneDrive. Manage collections, groups, favorites, people, and duplicate review. Synced metadata remains searchable while the desktop is offline; local and Apple Photos media access needs the owning device online with remote access enabled. OneDrive media can be accessed directly from the cloud. OAuth or Bearer API keys. Paid Cloud Access required; hosted visual search uses prepaid credits. Text-in-image search is semantic matching, not guaranteed exact OCR. Setup: https://organizewith.ai/en/guides/connect-ai-assistants
Image & PDF tools for AI agents: compress, convert, resize, PDF, AI vision, pipeline.
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceExposes a visual library with semantic search, tagging, editing, and management of photos as tools for AI agents like Claude Code.13 npm49MIT- FlicenseNot gradedqualityDmaintenanceEnables users to search and retrieve photos from a self-hosted Immich photo library via natural language, supporting CLIP-based semantic search, metadata filtering, album browsing, and share link creation.-
- AlicenseAqualityBmaintenanceEnables AI agents to search, inspect, organize, and export photos from a local Apple Photos library using natural language, including scene labels, text, faces, places, and albums.132MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search, list, preview, and export photos from Apple Photos, Google Photos Picker sessions, and local Google Takeout archives using native search and metadata inspection.MIT