Skip to main content

WindowsCaptureMCP

An MCP (Model Context Protocol) server for capturing Windows screenshots and sharing them as base64-encoded images with LLMs.

Windows only — This package requires Windows and uses Win32 APIs for screen capture and window management.

Features

  • List and filter visible windows
  • Capture windows, full screen, or custom regions
  • Low-quality preview images for quick verification before full capture
  • Window management (focus, maximize, resize, move)
  • Multi-display support
  • PNG / JPEG / WebP output formats

Requirements

  • Windows
  • Python >= 3.11

Installation

# Using uvx (recommended)
uvx windows-capture-mcp

# Using pip
pip install windows-capture-mcp

MCP Client Configuration

Claude Code

Run the following command to register the MCP server:

# Register for all projects (user scope)
claude mcp add windows-capture-mcp -s user -- uvx windows-capture-mcp

# Register for the current project only (project scope)
claude mcp add windows-capture-mcp -s project -- uvx windows-capture-mcp

After registration, restart Claude Code to load the new MCP server. You can verify it is running with /mcp.

Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "windows-capture-mcp": {
      "command": "uvx",
      "args": ["windows-capture-mcp"]
    }
  }
}

Available Tools

Information

Tool Description
list_windows List visible windows with optional title filtering (case-insensitive)
list_displays List all connected displays with resolution, position, and scale info

Screen Capture (Full Quality)

Tool Description
capture_window Capture a specific window by handle
capture_fullscreen Capture an entire display
capture_region Capture a rectangular region

All capture tools support format ("png", "jpeg", "webp") and quality (1-100) parameters.

Preview (Lightweight)

Tool Description
preview_window Low-quality preview of a window
preview_fullscreen Low-quality preview of a display
preview_region Low-quality preview of a region

Preview images are JPEG at quality 30, resized to max 1280px on the longest side. Use these to verify capture targets before taking full-quality screenshots.

Window Management

Tool Description
focus_window Bring a window to the foreground
maximize_window Maximize a window
resize_window Resize a window (keeps position)
move_window Move a window (keeps size)

Usage Example

1. list_windows(filter="Chrome")       → Find browser windows
2. preview_window(hwnd=12345)           → Quick preview to verify
3. capture_window(hwnd=12345)           → Full-quality capture

License

MIT

Metadata

Release files for windows-capture-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for windows-capture-mcp 0.1.1
File Size Uploaded Provenance
windows_capture_mcp-0.1.1.tar.gz 12.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for windows-capture-mcp 0.1.1
File Interpreter ABI Platform
windows_capture_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 23.2 kB

Release files / windows_capture_mcp-0.1.1.tar.gz

Download URL windows_capture_mcp-0.1.1.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
10bf3cfc176b9ecefb3bd42d29ae6105ec68f6345c9832cc092f4b3eaf91137d
BLAKE2b-256 checksum
How to use checksums
d19ad62955374d232f61e13904822268fb3af46a55fd2c68cb224dad7684cf17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.12

Release files / windows_capture_mcp-0.1.1-py3-none-any.whl

Download URL windows_capture_mcp-0.1.1-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b681d0616c0278f93d056ce39f2132685ed4227a1da3a6e1443bd2f042f413c
BLAKE2b-256 checksum
How to use checksums
8d3b2a466c1bc4cd45c00523d87822d971a0c813cbdbd2baf7593ef223bb5079
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.12

Security for windows-capture-mcp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page