ocr
Read PDFs and images as markdown or text, with exact costs and hard spend caps. $0.75/1k pages.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"ocr": {
"url": "https://mcp.pennyocr.com"
}
}
}リモートエンドポイント
https://mcp.pennyocr.comstreamable-httpできること
ツール一覧
ツール(2)
🟢read_document(url, pages, output, max_pages, max_cost_usd)
Read a document (PDF or image) from a URL and return its contents as markdown (tables preserved) or plain text. Costs $0.00075 per page, billed to the PennyOCR account; the response includes the exact cost_usd and per-page citations. Use estimate_cost first for big documents. Supports page ranges and hard spend caps.
入力スキーマ
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the PDF or image"
},
"pages": {
"type": "string",
"description": "Page range like '1-20,25'. Default: all pages."
},
"output": {
"type": "string",
"enum": [
"markdown",
"text"
],
"description": "Output format. Default markdown."
},
"max_pages": {
"type": "integer",
"description": "Refuse (with the numbers) if selection exceeds this many pages."
},
"max_cost_usd": {
"type": "number",
"description": "Refuse (with the numbers) if the run would cost more than this."
}
},
"required": [
"url"
]
}🟢estimate_cost(url, pages)
Free: return the page count and exact cost_usd to read a document URL with read_document, without running OCR. Use before reading large documents.
入力スキーマ
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "http(s) URL of the PDF or image"
},
"pages": {
"type": "string",
"description": "Optional page range like '1-20'."
}
},
"required": [
"url"
]
}コミュニティ
エビデンス