Ocr

com.pennyocr由 pennyocr.com 發布官方發布者v0.1.0更新於 Oct 24, 2026

Read PDFs and images as markdown or text, with exact costs and hard spend caps. $0.75/1k pages.

已驗證Streamable HTTP可網頁執行檔案與儲存資料與分析

概覽

AI 產生的概覽

遠端 PennyOCR 伺服器,讓助理依 URL 讀取 PDF 與圖片並回傳 Markdown 或純文字,附精確費用與支出上限。

可以做什麼
  • 依 URL 讀取文件,回傳保留表格的 Markdown 或純文字,可限定頁碼範圍。
  • 在不執行 OCR 的情況下免費估算頁數與精確費用。
  • 查詢 PennyOCR 帳戶的剩餘額度與免費額度。
  • 透過最大頁數與最大費用限制,在處理前直接拒絕超限請求。
適用情境
適合需要從可透過 URL 存取的 PDF 與圖片中擷取文字或表格的情境,尤其是必須事先預估並限制花費的自動化流程。
執行需求
遠端端點 mcp.pennyocr.com,使用 streamable HTTP,無需安裝。需要 PennyOCR API 金鑰,以 bearer 形式放在 Authorization 標頭中,可於 PennyOCR 控制台免費取得。文件必須能透過 URL 存取。讀取頁面會從 PennyOCR 帳戶扣款。
安裝前請注意
讀取文件會依頁數從 PennyOCR 帳戶扣款,大量任務前應先使用免費的費用估算與頁數、費用上限。API 金鑰是放在 Authorization 標頭中的正式金鑰;README 另提供在 URL 查詢參數中傳遞金鑰的方式,供無法設定標頭的用戶端使用,隱私性較差。文件 URL 會傳送給 PennyOCR 處理。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Ocr,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.pennyocr%2Focr/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "ocr": {
      "type": "http",
      "url": "https://mcp.pennyocr.com/",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

🪙 PennyOCR MCP server

A remote Model Context Protocol server that gives any agent document-reading eyes: PDFs and images by URL → markdown (tables preserved) or plain text, with exact cost reporting and hard spend caps.

Hosted at https://mcp.pennyocr.com — nothing to install:

json
{  "mcpServers": {    "pennyocr": {      "url": "https://mcp.pennyocr.com",      "headers": { "Authorization": "Bearer pk_live_..." }    }  }}

Keys are free (first 100 pages free) at pennyocr.com/dashboard. Clients that can't set headers: https://mcp.pennyocr.com/?key=pk_live_...

Tools

ToolInputOutput
read_document{url, pages?, output?, max_pages?, max_cost_usd?}{content, pages, cost_usd, citations[]}
estimate_cost{url, pages?}page count + exact cost — free
check_balance{}remaining credits + free-tier allowance — free

The cost caps refuse before any processing, with the numbers — so autonomous agents can reason about spend ("200 pages, $0.15 — proceed") and can never run past a prepaid balance.

Transport

Streamable HTTP (JSON-RPC 2.0 over POST), stateless. This repo is the complete server — a single Cloudflare Worker (worker.js) proxying the PennyOCR API.

Pricing: $0.75 per 1,000 pages · pennyocr.com/pricing.txt · Agent onboarding: pennyocr.com/llms.txt

Cursor plugin

This repository includes a Cursor plugin manifest at .cursor-plugin/plugin.json and a plugin-specific mcp.json. In the plugin configuration, set PENNYOCR_API_KEY to your own API key from https://pennyocr.com/dashboard/. The repository contains only a variable placeholder, never a live key. Document reading uses your PennyOCR credits; use cost estimates and spend caps as appropriate. The separate .mcp.json uses Cursor environment-variable interpolation for direct MCP configuration.

來源:README.md,提交 a1a9b56

工具

2

read_document

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.

輸入參數url必填pagesoutputmax_pagesmax_cost_usd

estimate_cost

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.

輸入參數url必填pages

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Pennyocr 整合