MCP Image Recognition Server
@mario-andreschak
关于 MCP Image Recognition Server
An MCP server that provides image recognition 👀 capabilities using Anthropic and OpenAI vision APIs
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-image-recognition": {
"command": "python",
"args": [
"-m",
"image_recognition_server.server"
]
}
}
}工具
4Base64-encoded image data and MIME type
Detailed description of the image
Path to an image file
Detailed description of the image
概览
What is MCP Image Recognition Server?
An MCP server that provides image recognition capabilities using Anthropic and OpenAI vision APIs. It supports multiple image formats and optional OCR text extraction via Tesseract.
How to use MCP Image Recognition Server?
Clone the repository, copy .env.example to .env, set API keys and preferences, then build and run via python -m image_recognition_server.server or run.bat server. Use tools describe_image (base64 input) and describe_image_from_file (file path). Environment variables control provider, model, OCR, and logging.
Key features of MCP Image Recognition Server
- Image description using Claude Vision or GPT-4 Vision
- Support for JPEG, PNG, GIF, WebP formats
- Configurable primary and fallback provider (Anthropic/OpenAI)
- Base64 and file-based image input
- Optional Tesseract OCR text extraction
- OpenRouter support for additional models
Use cases of MCP Image Recognition Server
- Automatically describing images in chat or workflow applications
- Extracting text from images using optional OCR
- Integrating vision capabilities into MCP-powered tools
- Reliable image analysis with fallback provider
FAQ from MCP Image Recognition Server
What are the runtime requirements?
Python 3.8 or higher is required. Tesseract OCR is optional and only needed for text extraction.
How do I configure the vision provider?
Set VISION_PROVIDER to anthropic or openai in the .env file. Optionally set FALLBACK_PROVIDER for a secondary provider.
Can I use models other than the defaults?
Yes, via OpenRouter: set OPENAI_BASE_URL to https://openrouter.ai/api/v1, OPENAI_MODEL to the desired model (e.g., anthropic/claude-3.5-sonnet:beta), and VISION_PROVIDER to openai.
Does the server support Docker?
Yes. Build the image with docker build -t mcp-image-recognition . and run with docker run -it --env-file .env mcp-image-recognition.
What image formats are supported?
JPEG, PNG, GIF, and WebP are supported for both base64 and file-based input.
媒体与设计 分类下的更多 MCP 服务器
Figma MCP Server
TimHoldenModel Context Protocol server implementation for Figma API
Weather API MCP Server
TuanKiriA lightweight Model Context Protocol (MCP) server that enables AI assistants like Claude to retrieve and interpret real-time weather data. Discuss on Hacker News:
MiniMax MCP JS
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
Image-Gen-Server
fengin一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口
MCP Google Map Server
cablateA powerful Model Context Protocol (MCP) server providing comprehensive Google Maps API integration with LLM processing capabilities.
评论