mcp-screenshot

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Supports outputting OCR results in Markdown format

MCP 截图

捕获屏幕截图并执行 OCR 文本识别的 MCP 服务器。

特征

  • 屏幕截图(左半、右半、全屏)
  • OCR文字识别(支持日语、英语)
  • 多种输出格式(JSON、Markdown、垂直、水平)

OCR引擎

该服务器使用两个OCR引擎:

  1. 读音
    • 主要 OCR 引擎
    • 高精度日语文本识别
    • 作为 API 服务器运行
  2. Tesseract.js
    • 后备 OCR 引擎
    • 当读音不可用时使用
    • 支持日语和英语识别

安装

npx -y @kazuph/mcp-screenshot

Claude桌面配置

将以下配置添加到您的claude_desktop_config.json

{ "mcpServers": { "screenshot": { "command": "npx", "args": ["-y", "@kazuph/mcp-screenshot"], "env": { "OCR_API_URL": "http://localhost:8000" // yomitoku API base URL } } } }

环境变量

变量名称描述默认值
OCR_API_URLyomitoku API 基本 URLhttp://localhost:8000

使用示例

您可以通过如下方式指导 Claude 来使用它:

Please take a screenshot of the left half of the screen and recognize the text in it.

工具规格

捕获

截取屏幕截图并执行 OCR。

选项:

  • region :截图区域('左'/'右'/'全部',默认值:'左')
  • format :输出格式('json'/'markdown'/'vertical'/'horizontal',默认值:'markdown')

执照

麻省理工学院

作者

卡祖夫

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Tools

为 macOS 提供屏幕截图和 OCR 功能。

  1. Features
    1. OCR Engines
      1. Installation
        1. Claude Desktop Configuration
          1. Environment Variables
            1. Usage Example
              1. Tool Specification
                1. capture
              2. License
                1. Author
                  ID: vcnmmaejv8