OCR.space MCP by usefulapi

Read text and tables from images and PDFs, and make searchable PDFs, in OCR.space.

使うべきか

品質と安全性

A
説明の品質
93%
スキーマの完全性
83%
命名の品質
80%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(1)

  • LOWTool 'ocrspace_list_languages' description lacks action verbocrspace_list_languages 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~1,774トークン数(ツール定義)
~3.3 KB一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 1.39%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "ocr-space": {
      "url": "https://ocr-space.usefulapi.io/mcp"
    }
  }
}

リモートエンドポイント

https://ocr-space.usefulapi.io/mcpstreamable-http

できること

ツール一覧

ツール(4)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢ocrspace_ocr_url(url, language, engine, filetype, is_table, ...)

Extract text from an image or PDF at a public https URL with OCR.space (POST /parse/image). Returns the text per page (a PDF gives one entry per page; the free plan reads the first 3 pages and files up to 1 MB). Uses one request of your OCR.space quota (free key: 25,000 requests per month and 500 requests per day). Options: language, engine (1-3), is_table (line-by-line text for tables, receipts, invoices), detect_orientation, scale (upscale low-resolution scans), include_overlay (word coordinates; slower).

入力スキーマ

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "minLength": 8,
      "maxLength": 2048,
      "description": "Public https URL of the image or PDF (the file must be reachable without login and served with an image/* or application/pdf content type)."
    },
    "language": {
      "description": "Document language, a 3-letter code such as eng, ger, fre, spa, chs (see ocrspace_list_languages). Default eng. 'auto' works with engine 2 and 3 only.",
      "type": "string",
      "enum": [
        "ara",
        "bul",
        "chs",
        "cht",
        "hrv",
        "cze",
        "dan",
        "dut",
        "eng",
        "fin",
        "fre",
        "ger",
        "gre",
        "hun",
        "kor",
        "ita",
        "jpn",
        "pol",
        "por",
        "rus",
        "slv",
        "spa",
        "swe",
        "tha",
        "tur",
        "ukr",
        "vnm",
        "auto"
      ]
    },
    "engine": {
      "description": "OCR engine 1, 2 or 3. Default 2 (best all-round). 3 = highest accuracy, handwriting, tables as Markdown, 200+ languages, slower, and has its own smaller quota. 1 = fastest but deprecated.",
      "type": "integer",
      "minimum": 1,
      "maximum": 3
    },
    "filetype": {
      "description": "Force the file type when the URL's content type is wrong (default: detected).",
      "type": "string",
      "enum": [
        "PDF",
        "GIF",
        "PNG",
        "JPG",
        "TIF",
        "BMP"
      ]
    },
    "is_table": {
      "description": "Return text line by line, best for tables, receipts and invoices.",
      "type": "boolean"
    },
    "detect_orientation": {
      "description": "Auto-rotate the image; the page's text_orientation reports the rotation.",
      "type": "boolean"
    },
    "scale": {
      "description": "Upscale internally; helps low-resolution PDF scans.",
      "type": "boolean"
    },
    "include_overlay": {
      "description": "Also return word coordinates (left/top/width/height in pixels), capped at 1000 words.",
      "type": "boolean"
    }
  },
  "required": [
    "url"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ocrspace_ocr_base64(image_base64, mime_type, language, engine, filetype, ...)

Extract text from a small file passed as base64 (POST /parse/image with base64Image). Up to 1,400,000 base64 characters (about 1 MB, the free plan's file limit); use ocrspace_ocr_url for bigger files. Pass either a full data URI (data:image/png;base64,...) or the raw base64 plus mime_type. Uses one request of your OCR.space quota (free key: 25,000 requests per month and 500 requests per day). Options as in ocrspace_ocr_url.

入力スキーマ

{
  "type": "object",
  "properties": {
    "image_base64": {
      "type": "string",
      "minLength": 8,
      "maxLength": 1400200,
      "description": "The file as base64 (a data: URI, or raw base64 together with mime_type). Whitespace and newlines are removed."
    },
    "mime_type": {
      "description": "MIME type of the file; required when image_base64 has no data: prefix.",
      "type": "string",
      "enum": [
        "image/jpeg",
        "image/png",
        "image/gif",
        "image/bmp",
        "image/tiff",
        "application/pdf"
      ]
    },
    "language": {
      "description": "Document language, a 3-letter code such as eng, ger, fre, spa, chs (see ocrspace_list_languages). Default eng. 'auto' works with engine 2 and 3 only.",
      "type": "string",
      "enum": [
        "ara",
        "bul",
        "chs",
        "cht",
        "hrv",
        "cze",
        "dan",
        "dut",
        "eng",
        "fin",
        "fre",
        "ger",
        "gre",
        "hun",
        "kor",
        "ita",
        "jpn",
        "pol",
        "por",
        "rus",
        "slv",
        "spa",
        "swe",
        "tha",
        "tur",
        "ukr",
        "vnm",
        "auto"
      ]
    },
    "engine": {
      "description": "OCR engine 1, 2 or 3. Default 2 (best all-round). 3 = highest accuracy, handwriting, tables as Markdown, 200+ languages, slower, and has its own smaller quota. 1 = fastest but deprecated.",
      "type": "integer",
      "minimum": 1,
      "maximum": 3
    },
    "filetype": {
      "description": "Force the file type when the URL's content type is wrong (default: detected).",
      "type": "string",
      "enum": [
        "PDF",
        "GIF",
        "PNG",
        "JPG",
        "TIF",
        "BMP"
      ]
    },
    "is_table": {
      "description": "Return text line by line, best for tables, receipts and invoices.",
      "type": "boolean"
    },
    "detect_orientation": {
      "description": "Auto-rotate the image; the page's text_orientation reports the rotation.",
      "type": "boolean"
    },
    "scale": {
      "description": "Upscale internally; helps low-resolution PDF scans.",
      "type": "boolean"
    },
    "include_overlay": {
      "description": "Also return word coordinates, capped at 1000 words.",
      "type": "boolean"
    }
  },
  "required": [
    "image_base64"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡ocrspace_create_searchable_pdf(url, language, engine, filetype, hide_text_layer)

Run OCR on a public https image/PDF URL and have OCR.space build a searchable PDF (a copy of the file with a text layer). Returns searchable_pdf_url, a download link that expires after one hour, plus the recognized text. The free plan adds a 'Generated by OCR.space' watermark. Engine 3 cannot make searchable PDFs, so only engine 1 or 2 is accepted (default 2). Uses one request of your OCR.space quota (free key: 25,000 requests per month and 500 requests per day).

入力スキーマ

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "minLength": 8,
      "maxLength": 2048,
      "description": "Public https URL of the image or PDF."
    },
    "language": {
      "description": "Document language, a 3-letter code such as eng, ger, fre, spa, chs (see ocrspace_list_languages). Default eng. 'auto' works with engine 2 and 3 only.",
      "type": "string",
      "enum": [
        "ara",
        "bul",
        "chs",
        "cht",
        "hrv",
        "cze",
        "dan",
        "dut",
        "eng",
        "fin",
        "fre",
        "ger",
        "gre",
        "hun",
        "kor",
        "ita",
        "jpn",
        "pol",
        "por",
        "rus",
        "slv",
        "spa",
        "swe",
        "tha",
        "tur",
        "ukr",
        "vnm",
        "auto"
      ]
    },
    "engine": {
      "description": "OCR engine 1 or 2 (default 2); engine 3 does not create searchable PDFs.",
      "type": "integer",
      "minimum": 1,
      "maximum": 2
    },
    "filetype": {
      "description": "Force the file type when the URL's content type is wrong (default: detected).",
      "type": "string",
      "enum": [
        "PDF",
        "GIF",
        "PNG",
        "JPG",
        "TIF",
        "BMP"
      ]
    },
    "hide_text_layer": {
      "description": "Hide the text layer (default false = visible text layer). The text layer exists either way.",
      "type": "boolean"
    }
  },
  "required": [
    "url"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ocrspace_list_languages

Reference (no request to OCR.space, no quota used): the documented language codes for the language option, what OCR engines 1, 2 and 3 do, and the free-plan limits.

入力スキーマ

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 4 件