ddddocr
ddddocr rust 版本,ocr_api_server rust 版本,二进制版本,验证码识别,不依赖 opencv 库,跨平台运行,AI MCP 支持,a simple OCR API server, very easy to deploy。
What is ddddocr?
ddddocr is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ddddocr rust 版本,ocr_api_server rust 版本,二进制版本,验证码识别,不依赖 opencv 库,跨平台运行,ai mcp 支持,a simple ocr api server, very easy to deploy。
ddddocr rust 版本,ocr_api_server rust 版本,二进制版本,验证码识别,不依赖 opencv 库,跨平台运行,AI MCP 支持,a simple OCR API server, very easy to deploy。
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- ddddocr rust 版本,ocr_api_server rust 版本,二进制版本,验证码识别,不依赖 openc
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx ddddocrConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use ddddocr
ddddocr is a Rust-based OCR and captcha recognition server that exposes text recognition, object detection, and slider-captcha matching as MCP tools. It is a rewrite of the popular Python ddddocr library in Rust, meaning it runs as a self-contained binary without requiring OpenCV or Python dependencies. Developers use it to automate captcha solving, extract text from images, and integrate OCR capabilities directly into AI agent workflows via the Model Context Protocol.
Prerequisites
- A prebuilt ddddocr binary for your platform (Windows, macOS, or Linux) downloaded from the GitHub releases page at https://github.com/86maid/ddddocr
- An MCP-compatible client such as Claude Desktop or Cursor
- No additional runtime dependencies — the binary is fully self-contained
- Base64-encoded images for OCR input, or image file paths accessible to the server
Download the binary
Go to https://github.com/86maid/ddddocr/releases and download the prebuilt binary for your operating system. On Windows this will be ddddocr.exe; on Linux/macOS it is a plain executable. Make it executable if needed.
chmod +x ./ddddocrStart the server with MCP mode enabled
Launch the server with the --mcp flag alongside the capabilities you want to expose. The --ocr flag enables text recognition, --det enables object detection, and --slide enables slider-captcha matching. The server will listen on the specified address.
./ddddocr --address 0.0.0.0:8000 --ocr --det --slide --mcpVerify the server is running
Send an initialize request to the MCP endpoint to confirm the server is responding. The server supports MCP protocol version 2025-11-25.
curl -X POST http://localhost:8000/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":0,"method":"initialize","params":{}}'Configure your MCP client
Add the ddddocr server to your MCP client configuration. Since the server runs as an HTTP service, you connect to it via its HTTP endpoint rather than spawning it as a subprocess.
{
"mcpServers": {
"ddddocr": {
"url": "http://localhost:8000/mcp"
}
}
}Test OCR by sending an image
Call the ocr tool with a base64-encoded image. The optional color_filter parameter narrows recognition to specific colored text (e.g., 'green', 'red'), which helps with colored captchas.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ocr",
"arguments": {
"image": "<base64_encoded_image_string>",
"color_filter": "green"
}
}
}ddddocr Examples
Client configuration
Connect Claude Desktop to a locally running ddddocr server over HTTP.
{
"mcpServers": {
"ddddocr": {
"url": "http://localhost:8000/mcp"
}
}
}Prompts to try
Example prompts for OCR and captcha recognition tasks once the server is connected.
- "Extract the text from this captcha image: [attach image]"
- "Use OCR to read the verification code in this screenshot"
- "Detect objects in this image using the det tool"
- "Match the slider position in this captcha to find where the puzzle piece fits"Troubleshooting ddddocr
Server fails to start and reports a missing ONNX runtime library
Set the ORT_LIB_LOCATION environment variable to the path of your onnxruntime build directory before starting the server. Alternatively, use a prebuilt release binary which bundles the runtime statically.
OCR returns empty or garbled text
Ensure the image is properly base64-encoded without line breaks. If the captcha uses colored text on a similar background, try specifying color_filter with the dominant text color (e.g., 'red', 'blue', 'green') to improve accuracy.
MCP client cannot connect to the server
Confirm the server is listening on the correct address and port by running 'curl http://localhost:8000/mcp'. If you changed --address from 0.0.0.0:8000, update the URL in your MCP client config to match.
Frequently Asked Questions about ddddocr
What is ddddocr?
ddddocr is a Model Context Protocol (MCP) server that ddddocr rust 版本,ocr_api_server rust 版本,二进制版本,验证码识别,不依赖 opencv 库,跨平台运行,ai mcp 支持,a simple ocr api server, very easy to deploy。 It connects AI assistants to external tools and data sources through a standardized interface.
How do I install ddddocr?
Follow the installation instructions on the ddddocr GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with ddddocr?
ddddocr works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is ddddocr free to use?
Yes, ddddocr is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
ddddocr Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to ddddocr? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up ddddocr in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use ddddocr?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.