home / mcp / enhanced image analysis mcp server
Provides image analysis, intelligent naming, EXIF/color metadata extraction, and auto organization for large image collections via MCP.
Configuration
View docs{
"mcpServers": {
"2squirrelsai-local-mcp-image-analysis-server": {
"url": "https://example-mcp-server.local/mcp"
}
}
}You can run the Enhanced Image Analysis MCP Server to automatically analyze and rename images, extract metadata, and organize large photo collections. It provides intelligent naming, color and EXIF data handling, and scalable batch processing so you can keep thousands of images neatly sorted with minimal effort.
You interact with the server through an MCP client to perform image analysis and automatic renaming. Start by launching the local server configuration you set up, then issue requests from your MCP client to analyze directories or individual images, retrieve detailed metadata, and organize files into folders based on content, date, size, or format. Use descriptive, technical, artistic, or location naming styles to generate new file names, and enable batch processing to cover entire directories.
# Quick setup (if you use the quick path):
cd /Users/anthonyturner/MCPs/image-analysis-server
chmod +x setup.sh
./setup.sh
```
```
# Manual installation (dependencies):
pip3 install mcp Pillow
# Make executable for the analysis server script
chmod +x enhanced_image_analysis_server.pyConfigure your MCP client to connect to the Enhanced Image Analysis MCP Server using the local stdio workflow. The server runs as a Python script, so your client will invoke python3 with the script path as an argument.
Example configuration for the local stdio MCP server (name: image_analysis): create a config entry that launches the Python runner with the script path.
{
"mcpServers": {
"image_analysis": {
"type": "stdio",
"command": "python3",
"args": ["/Users/anthonyturner/MCPs/image-analysis-server/enhanced_image_analysis_server.py"],
"env": {}
}
}
}The server exposes a set of tools to operate on images and directories. These tools allow you to analyze content, generate descriptive or technical names, extract metadata, and organize images by content or other criteria.
Common issues include missing image files, permission problems, or analysis failures. Ensure the script path is correct, you have read/write access to target folders, and there is sufficient disk space. If you see a failure, verify that the script has executable permissions and that Python dependencies are installed.
- Use batch processing to analyze entire directories recursively for large collections. - Choose a naming style that matches your workflow: descriptive for human-friendly names, technical for consistent machine-parsable names, artistic for aesthetics, or location to group by context. - Leverage color analysis and EXIF data to enrich metadata and enable smarter organization rules.
By default, the approach emphasizes non-destructive analysis and non-destructive metadata extraction. Always back up important files before performing batch renames or moves, and validate permissions before making changes to large sets of images.
You can extend capabilities with additional naming styles, enhanced content detection, and integration with cloud vision services to further automate organization across devices and storage systems.
Analyze all images in a directory (recursively optional) to generate and apply intelligent names and organize files.
Analyze a single image to generate a descriptive or styled name and return detailed analysis.
Extract detailed metadata including EXIF data and color analysis for an image.
Organize images into folders based on detected content and characteristics, with options to create folders and move files.