Immich Photo Manager

Manage your photo library effortlessly with AI-powered tools for organization and curation.

<p align="center"> <img src="assets/icon.png" alt="immich-photo-manager" width="100"> </p> <h1 align="center">immich-photo-manager</h1> <p align="center"> <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a> <a href="https://glama.ai/mcp/servers/drolosoft/immich-photo-manager"><img src="https://glama.ai/mcp/servers/drolosoft/immich-photo-manager/badges/score.svg" alt="immich-photo-manager MCP server"></a> <a href="https://github.com/drolosoft/immich-photo-manager/releases/tag/v1.0.0"><img src="https://img.shields.io/github/v/release/drolosoft/immich-photo-manager" alt="GitHub Release"></a> <a href="https://immich.app"><img src="https://img.shields.io/badge/Immich-ecosystem-blueviolet.svg" alt="Immich"></a> </p>

MCP server for intelligent photo management with Immich — your self-hosted library, understood.

If your Immich library has grown past what you can manage by hand, immich-photo-manager gives any AI assistant direct access to your instance — search, organize, deduplicate, and curate albums through natural conversation. Works with Claude, Gemma, or any MCP-compatible client. Runs locally — your photos never leave your server.

<p align="center"><img src="./assets/demo.gif" alt="immich-photo-manager demo" width="800"></p>

What It Does

Say "create albums for all my trips" and watch it work:

<p align="center"><img src="./assets/screenshot-06-geographic-albums.png" alt="Geographic album creation" width="700"></p>

GPS coordinates, CLIP visual search, and temporal matching — combined in one request to create dozens of curated albums. No scripts, no manual sorting.


Quick Start

Prerequisites

Install as Claude Plugin (recommended)

git clone https://github.com/drolosoft/immich-photo-manager.git
cd immich-photo-manager

claude plugin marketplace add .
claude plugin install immich-photo-manager

That's it. Ask Claude: "how healthy is my photo library?"

<p align="center"><img src="./assets/screenshot-01-setup.png" alt="Setup complete" width="700"></p>

For manual MCP server setup, see Getting Started.

Works in Claude Code

The same plugin runs in Claude Code — search your library, curate albums, and generate galleries right from the terminal.

<p align="center"><img src="./doc/demos/cc/claude-code-conversation.png" alt="Split screen: Claude Code terminal generating a photo gallery on the left, browser showing the resulting gallery with album cards on the right" width="800"></p>

Full conversation transcript: Claude Code demo

Works with Any MCP Client

immich-photo-manager is an MCP server — it works with any AI assistant that speaks the Model Context Protocol, not just Claude.

============================================================
IMMICH-PHOTO-MANAGER × GEMMA 4 (LM STUDIO)
============================================================

Immich: https://your-immich-server.com
Model:  gemma4-26b-it (local, LM Studio)
Query:  "Show me my Lanzarote albums"

1. Getting MCP tool schemas...
   22 MCP tools available

2. Asking Gemma 4...
   Gemma 4 chose: list_albums({})

3. Executing 'list_albums' against Immich...
   Found 124 total albums, 14 Lanzarote albums:
     - Lanzarote Amarillo (26 photos)
     - Lanzarote Rojo (201 photos)
     - Lanzarote Azul (187 photos)
     - Lanzarote Marrón (208 photos)
     - Lanzarote Negro (193 photos)
     - Lanzarote Verde (201 photos)
     - Lanzarote Gasolina (174 photos)
     ...

4. Gemma 4 interpreting results...
   "I found 14 Lanzarote albums — 7 color-themed with
    1,190 photos and 7 location-specific albums."

RESULT: Zero cloud dependency — fully self-hosted stack.
ClientStatus
Claude CodeTested
Claude DesktopTested
LM Studio (Gemma 4)Tested
Cursor, Windsurf, VS Code, Cline, ZedCompatible (MCP stdio)

Full transcript: Gemma 4 demo · Test script: test-lmstudio-mcp.py


Highlights

  • AI-powered search — natural language photo search via CLIP ("sunset at the beach", "birthday cake")
  • Geographic albums — create albums organized by place, combining GPS + CLIP + temporal matching
  • Metadata repair — fix noon/midnight timestamps, infer missing GPS from neighboring photos, correct timezone offsets
  • Library cleanup — detect screenshots, duplicates, and low-quality images with multi-signal analysis
  • Duplicate detection — cross-source analysis using perceptual hashing (finds re-encoded copies across Apple Photos, Google Photos, and other imports)
  • Library health — one command for asset inventory, metadata quality, storage breakdown, and recommendations
  • Interactive galleries — self-contained HTML pages with embedded thumbnails, 3 themes, 4 view modes, and a Cowork Actions Panel for batch operations
<p align="center"><img src="./assets/screenshot-03-gallery-selection.png" alt="Interactive gallery with Cowork Actions" width="700"></p>

Select photos in the gallery, click an action, and paste the command into Claude. See Skills Reference for all 11 skills.


Why immich-photo-manager?

Immich is excellent at storing and viewing your photos. But managing a large library — deduplication, metadata repair, album curation, storage analysis — still requires manual effort or custom scripts.

Manual / scriptsimmich-photo-manager
🔍Write API calls, parse JSONNatural language — "find my sunset photos from Italy"
🗺️Export GPS, cluster manuallyGeographic albums — automatic GPS + CLIP + temporal matching
🧹Hash files, diff checksumsPerceptual hashing — finds re-encoded duplicates across import sources
🔧Edit EXIF one file at a timeMetadata repair — batch-fix timestamps, infer GPS, correct timezones
📊Query database, build reportsLibrary health — one command for metadata quality, storage, recommendations
🛡️Manual review of every actionSafety first — shows findings, asks before acting

Documentation

DocumentDescription
Getting StartedInstallation, manual MCP setup, deployment options, and troubleshooting
Skills ReferenceAll 11 skills — workflows, triggers, parameters, output formats
MCP Tools ReferenceAll 22 MCP tools — parameters, return types, examples
ArchitectureHow base64-embedded thumbnails solve the Cowork sandbox restriction
CORS Setup GuideOptional — enable direct URL thumbnail loading for browser-viewed galleries

Contributing

Contributions are welcome — bug fixes, new skills, feature ideas. Open an issue or submit a PR.

If immich-photo-manager helps manage your library, consider giving it a star on GitHub — it helps others discover the project.


Support

If immich-photo-manager saved you time or made your photo library easier to manage, consider buying me a coffee — it keeps the next one coming!

<p align="center"> <a href="https://buymeacoffee.com/juan.andres.morenorub.io"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" height="50"></a> </p>

License

MIT License — free to use, modify, and distribute.

Forged by Drolosoft · Tools we wish existed