photo-organizer
AI-powered organization for Google Photos and Drive - auto-organize, find duplicates, create albums
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"photo-organizer-mcp": {
"args": [
"photo-organizer-mcp@1.0.0"
],
"command": "npx"
}
}
}
可用工具 (5 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
tavily_search 14 个参数 需填 1 项
Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
必填参数:query
tavily_extract 6 个参数 需填 1 项
Extract content from URLs. Returns raw page content in markdown or text format.
必填参数:urls
tavily_crawl 11 个参数 需填 1 项
Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
必填参数:url
tavily_map 8 个参数 需填 1 项
Map a website's structure. Returns a list of URLs found starting from the base URL.
必填参数:url
tavily_research 2 个参数 需填 1 项
Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.
必填参数:input
服务介绍
Photo Organizer MCP Server
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.
# Features
# # Google Photos
- 📊 Analyze Library: Get statistics and insights about your photo collection
- 🔍 Find Duplicates: Identify potential duplicate photos
- 📅 Auto-Organize: Create albums by year or month
- 📈 Reports: Generate detailed organization reports
# # Google Drive
- 📂 Auto-Organize: Sort files into folders by type (Documents, Images, Videos, etc.)
- 🗄️ Archive Old Files: Move old files to Archive folder
- 🔄 Deduplicate: Find and remove exact duplicate files
- 📊 Analytics: Get file statistics and storage insights
# Installation
# 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
# Setup
# # 1. Google Cloud Credentials
You need Google Cloud credentials to access Photos and Drive APIs:
- Go to Google Cloud Console
- Create a new project
- Enable Google Photos Library API and Google Drive API
- Create OAuth 2.0 credentials
- Download
credentials.json
# # 2. Python Scripts
This 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
# # 3. Configure Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"photo-organizer": {
"command": "photo-organizer-mcp",
"env": {
"PHOTO_SCRIPTS_PATH": "/path/to/drive-photos-organizer"
}
}
}
}
# Usage Examples
# # With Claude
"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
# Available Tools
# # Photo Tools
-
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 }
# # Drive Tools
-
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 }
# Safety Features
- Dry Run by Default: All operations default to dry run mode
- Explicit Execution: Must set
execute: trueto make changes - Detailed Reports: See exactly what will happen before executing
- Non-Destructive: Organizes and archives, doesn't delete (except deduplication)
# Monetization (Pro Version)
Upgrade for advanced features:
# # Free Tier
- 50 operations per month
- Basic organization
- Manual execution required
# # Pro ($10/month)
- Unlimited operations
- Scheduled auto-organization
- Advanced duplicate detection
- Priority support
# # Enterprise ($50/month)
- White-label branding
- Team management
- Custom rules engine
- API access
# Technical Details
- Built with TypeScript and Model Context Protocol SDK
- Wraps Python scripts for Google API integration
- Async operation with progress reporting
- Handles large libraries (10,000+ photos)
# Contributing
Contributions welcome! Please open issues or PRs on GitHub.
# License
MIT License - see LICENSE file
# Author
ExpertVagabond - https://github.com/ExpertVagabond
Need help? Contact: hello@expertvagabond.com