AI-powered organization for Google Photos and Drive - auto-organize, find duplicates, create albums
AI-powered organization for Google Photos and Google Drive.
This MCP server enables AI agents like Claude to automatically organize your Google Photos and Drive files. Perfect for decluttering cloud storage, finding duplicates, and maintaining organized photo albums.
# Install from NPM
npm install -g photo-organizer-mcp
# Or clone and build
git clone https://github.com/ExpertVagabond/photo-organizer-mcp
cd photo-organizer-mcp
npm install
npm run build
You need Google Cloud credentials to access Photos and Drive APIs:
credentials.jsonThis MCP server wraps existing Python organizer scripts. Set the path:
export PHOTO_SCRIPTS_PATH="/path/to/drive-photos-organizer"
Or add to .env:
PHOTO_SCRIPTS_PATH=/Users/yourname/drive-photos-organizer
Add to your claude_desktop_config.json:
{
"mcpServers": {
"photo-organizer": {
"command": "photo-organizer-mcp",
"env": {
"PHOTO_SCRIPTS_PATH": "/path/to/drive-photos-organizer"
}
}
}
}
"Analyze my Google Photos and find duplicates"
Claude will use the analyze_photos tool to scan your library
"Organize my photos into albums by year"
Claude will create year-based albums (dry run first, then execute)
"Clean up my Google Drive by organizing files into folders"
Claude will sort files by type into organized folders
"Archive all Drive files older than 2 years"
Claude will move old files to an Archive folder
"Find and remove duplicate files from my Drive"
Claude will identify and remove exact duplicates
analyze_photos - Get photo library statistics
{
"findDuplicates": true
}
organize_photos_by_date - Create date-based albums
{
"grouping": "year", // or "month"
"execute": false // true to actually create albums
}
analyze_drive - Get Drive statistics
organize_drive - Sort files into folders
{
"execute": false // true to actually organize
}
archive_old_files - Move old files to Archive
{
"days": 730, // Archive files older than this
"execute": false
}
deduplicate_drive - Remove duplicate files
{
"execute": false // true to actually delete
}
execute: true to make changesUpgrade for advanced features:
Contributions welcome! Please open issues or PRs on GitHub.
MIT License - see LICENSE file
ExpertVagabond - https://github.com/ExpertVagabond
Need help? Contact: hello@expertvagabond.com
Source-derived launch command. Check the maintainerβs required arguments and credentials before running:
npx -y photo-organizer-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-expertvagabond-photo-organizer": {
"command": "npx",
"args": [
"-y",
"photo-organizer-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the clientβs tool list, then try a read-only example from its documentation.
Claude Desktop setup referencephoto-organizer-mcpnpmio.github.ExpertVagabond/photo-organizer works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.