ddddocr Smithery MCP Server
A Model Context Protocol server providing OCR and CAPTCHA recognition capabilities to AI agents, including text extraction, text detection, and slide CAPTCHA solving.
README
ddddocr Smithery MCP Server
A Model Context Protocol (MCP) server for ddddocr that can be deployed on Smithery, providing OCR and CAPTCHA recognition capabilities to AI agents.
Features
- OCR Recognition: Extract text from images with high accuracy
- Text Detection: Identify and locate text regions in images
- Slide CAPTCHA Solving: Match sliding puzzle pieces and find positions
- Color Filtering: Process images with specific color filters
- Probability Output: Get confidence scores for OCR results
Quick Start
Deploy on Smithery
- Fork this repository to your GitHub account
- Visit Smithery and connect your GitHub account
- Deploy from your forked repository
- Use the provided Smithery URL in your Claude Desktop configuration
Local Development
# Install dependencies
npm install
# Build the project
npm run build
# Run in development mode
npm run dev
# Run tests
npm test
Usage
This MCP server provides the following tools:
ocr_recognize
Extract text content from images.
Parameters:
image(required): Base64 encoded image dataprobability(optional): Return confidence scorescharset_range(optional): Limit character set (e.g., "0123456789")color_filter(optional): Apply color filterspng_fix(optional): Fix transparent PNG images
text_detection
Detect text regions and bounding boxes in images.
Parameters:
image(required): Base64 encoded image data
slide_match
Match sliding CAPTCHA pieces to find correct positions.
Parameters:
target_image(required): Base64 encoded puzzle piecebackground_image(required): Base64 encoded background with gapsimple_target(optional): Whether target has transparency
slide_comparison
Compare images to find sliding distance for CAPTCHA solving.
Parameters:
target_image(required): Base64 encoded image with gapbackground_image(required): Base64 encoded complete image
Configuration
Add this server to your Claude Desktop configuration:
{
"mcpServers": {
"ddddocr": {
"command": "npx",
"args": ["-y", "@smithery/ddddocr-mcp@latest"]
}
}
}
Or if deployed on Smithery:
{
"mcpServers": {
"ddddocr": {
"command": "npx",
"args": ["-y", "@smithery/cli", "run", "your-deployment-url"]
}
}
}
Architecture
This server acts as a bridge between MCP clients and the ddddocr service:
- MCP Layer: Handles protocol communication with AI agents
- Service Layer: Manages ddddocr process lifecycle
- API Layer: Communicates with ddddocr HTTP endpoints
- Processing Layer: Handles image processing and result formatting
Requirements
- Node.js 18+
- ddddocr executable (automatically downloaded in Docker)
- Sufficient memory for image processing (recommend 512MB+)
Security
- Uses non-root user in Docker container
- Validates all input parameters
- Implements proper error handling
- No persistent storage of user images
License
MIT - See LICENSE file for details
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
Support
For issues and questions:
- Check the GitHub Issues
- Review ddddocr documentation
- Visit Smithery Documentation
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.