A favicon of Screenshot

Screenshot

Repository for MCP screenshot functionality

Installation

Installing for Claude Desktop

Option 1: One-Command Installation

npx mcpbar@latest install kazuph/mcp-screenshot -c claude

This command will automatically install and configure the Screenshot MCP server for your selected client.

Option 2: Manual Configuration

Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

After opening your configuration file, copy and paste this configuration:

View JSON configuration
{
  "mcpServers": {
    "Screenshot": {
      "command": "npx",
      "args": [
        "-y",
        "@kazuph/mcp-screenshot"
      ],
      "env": {
        "OCR_API_URL": "${input:ocr_api_url}"
      }
    }
  }
}

MCP Screenshot

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

mcp-screenshot MCP server

Features

  • Screenshot capture (left half, right half, full screen)
  • OCR text recognition (supports Japanese and English)
  • Multiple output formats (JSON, Markdown, vertical, horizontal)

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 NameDescriptionDefault Value
OCR_API_URLyomitoku API base URLhttp://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

Share:
Details:
  • Stars


    15
  • Forks


    5
  • Last commit


    6 months ago
  • Repository age


    7 months
  • License


    MIT
View Repository

Auto-fetched from GitHub .

MCP servers similar to Screenshot:

 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


Screenshot: MCP Server – MCP.Bar