- Home
- MCP servers
- Enhanced Image Analysis
Enhanced Image Analysis
- python
2
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
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.
How to use
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.
How to install
# 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.py
Configuration and runtime
Configure 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.
Config example for the MCP client
{
"mcpServers": {
"image_analysis": {
"type": "stdio",
"command": "python3",
"args": ["/Users/anthonyturner/MCPs/image-analysis-server/enhanced_image_analysis_server.py"],
"env": {}
}
}
}
Available tools and what they do
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.
Troubleshooting
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.
Notes on usage patterns
- 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.
Security and safety considerations
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.
Future considerations
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.
Available tools
ai_analyze_directory_images
Analyze all images in a directory (recursively optional) to generate and apply intelligent names and organize files.
ai_analyze_single_image
Analyze a single image to generate a descriptive or styled name and return detailed analysis.
extract_comprehensive_metadata
Extract detailed metadata including EXIF data and color analysis for an image.
organize_images_by_content
Organize images into folders based on detected content and characteristics, with options to create folders and move files.