Skip to main content
Glama
mcp-screenshot
by kazuph

MCP Screenshot

An MCP server that captures screenshots and performs OCR text recognition.

Features

  • Screenshot capture (left half, right half, full screen)

  • OCR text recognition (supports Japanese and English)

  • Multiple output formats (JSON, Markdown, vertical, horizontal)

Related MCP server: MCP Screen Text

OCR Engines

This server uses two OCR engines:

  1. yomitoku

    • Primary OCR engine

    • High-accuracy Japanese text recognition

    • Runs as an API server

  2. Tesseract.js

    • Fallback OCR engine

    • Used when yomitoku is unavailable

    • Supports both Japanese and English recognition

Installation

npx -y @kazuph/mcp-screenshot

Claude Desktop Configuration

Add the following configuration to your claude_desktop_config.json:

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

Environment Variables

Variable Name

Description

Default Value

OCR_API_URL

yomitoku API base URL

http://localhost:8000

Usage Example

You can use it by instructing Claude like this:

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

Tool Specification

capture

Takes a screenshot and performs OCR.

Options:

  • region: Screenshot area ('left'/'right'/'full', default: 'left')

  • format: Output format ('json'/'markdown'/'vertical'/'horizontal', default: 'markdown')

License

MIT

Author

kazuph

Available Tools

1 tool
captureA

Captures a screenshot of the specified region and performs OCR. Options:

  • region: 'left'/'right'/'full' (default: 'left')

  • format: 'json'/'markdown'/'vertical'/'horizontal' (default: 'markdown') The screenshot is saved to a dated directory in Downloads.

Inputs: format, region.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'capture' has a clearly defined and distinct purpose.

    Naming Consistency5/5

    A single tool inherently has perfect naming consistency, as there are no other tools to compare against. The tool name 'capture' is clear and descriptive.

    Tool Count2/5

    One tool is too few for most server purposes, as it limits functionality and flexibility. While the tool is feature-rich with options, a single tool feels thin and may not cover all potential use cases for a screenshot utility.

    Completeness3/5

    The tool provides core screenshot and OCR functionality, but there are notable gaps such as no tools for managing saved screenshots (e.g., list, delete), adjusting OCR settings, or handling different output formats beyond the provided options. The surface is functional but incomplete.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to capture and analyze screenshots of macOS applications, windows, or the entire screen using local (Ollama) or cloud-based AI vision models, with non-intrusive, fast screen capture via Apple's ScreenCaptureKit.
      3
      23 npm
      2
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Provides screen capture and optical character recognition (OCR) capabilities for entire displays or specific application windows. It enables users to list running applications, take screenshots, and extract text from images using multi-language support.
      5
      1
      ISC