loading…
Search for a command to run...
loading…
A Tesseract.js-based server that enables image-to-text recognition within MCP-compatible environments like Cursor. It supports multiple languages and common ima
A Tesseract.js-based server that enables image-to-text recognition within MCP-compatible environments like Cursor. It supports multiple languages and common image formats, allowing users to extract text from local files using natural language commands.
一个基于 Tesseract.js 的 MCP(Model Context Protocol)服务器,让 Cursor 具备 OCR 图片文字识别能力。
cd /Users/taowenxin/Desktop/mcpTest
npm install
File > Preferences > Cursor SettingsFeatures > MCPEdit in settings.json 或手动添加配置在 ~/.cursor/mcp.json 或 Cursor 设置中添加:
{
"mcpServers": {
"ocr-tool": {
"command": "node",
"args": ["/Users/taowenxin/Desktop/mcpTest/index.js"]
}
}
}
配置完成后,重启 Cursor 或刷新 MCP 连接。
在 Cursor 的 Chat 面板(Agent 模式)中使用:
请识别这张图片中的文字:/Users/taowenxin/Desktop/screenshot.png
或者指定语言:
请用英文识别这张图片:/path/to/image.jpg
请列出 OCR 支持的语言
| 语言代码 | 语言名称 |
|---|---|
| chi_sim | 简体中文 |
| chi_tra | 繁体中文 |
| eng | 英文 |
| jpn | 日文 |
| kor | 韩文 |
| fra | 法文 |
| deu | 德文 |
| spa | 西班牙文 |
| rus | 俄文 |
| ara | 阿拉伯文 |
识别图片中的文字内容。
参数:
image_path (必填): 图片文件的本地绝对路径languages (可选): 识别语言代码数组,默认 ["chi_sim", "eng"]列出所有支持的 OCR 语言及其代码。
# 直接运行服务器(用于调试)
node index.js
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"ocr-mcp-server": {
"command": "npx",
"args": []
}
}
}Transcripts, channel stats, search
AI image generation using various models.
Unified GPU inference API with 30 AI services (LLM, image gen, video, TTS, whisper, embeddings, reranking, OCR) as MCP tools. Pay-per-use via x402 USDC or API k
A powerful image generation tool using Google's Imagen 3.0 API through MCP. Generate high-quality images from text prompts with advanced photography, artistic,