screen-mcp-server
Gives AI coding assistants real-time screen capture capabilities with multi-monitor support, PDF text extraction, and answer logging.
README
screen-mcp-server
Lightweight MCP server that gives AI coding assistants the ability to see your screen in real time. Built for multi-monitor setups on Windows, works with Claude Code and any MCP-compatible client.
Features
- Multi-monitor capture — list monitors, screenshot any display or all at once
- Built-in scheduling — fixed or random delay before capture (no external sleep/cron needed)
- PDF text extraction — load study materials or documentation into context
- Answer logging — persist Q&A pairs to JSON for later search and retrieval
- Single file, minimal deps — just
mss,Pillow,PyMuPDFandmcp[cli]
Quick start
1. Install dependencies
pip install "mcp[cli]" mss Pillow PyMuPDF
2. Register with Claude Code
claude mcp add -s user -t stdio screen-mcp -- python /path/to/server.py
3. Restart Claude Code
The server connects via stdio and exposes its tools automatically.
Tools
| Tool | Description |
|---|---|
list_monitors |
List all monitors with resolution and position |
take_screenshot |
Capture a specific monitor (supports delay / random delay) |
read_pdf |
Extract full text from a PDF file |
list_pdfs |
List PDF files in the working directory |
log_answer |
Save a question-answer pair to a local JSON log |
search_answers |
Search previously logged answers by keyword |
Screenshot with random delay
The take_screenshot tool accepts optional timing parameters so the AI assistant can self-schedule periodic captures without requiring shell access:
take_screenshot(monitor=2, delay_min=30, delay_max=60)
This waits a random 30–60 seconds before capturing, which is useful for hands-free monitoring workflows.
Example: Claude Code integration
Add this to your project's CLAUDE.md to let Claude automatically monitor your screen:
## Screen monitoring
- Use `list_monitors()` to see available displays
- Use `take_screenshot(monitor=2)` for an instant capture
- Use `take_screenshot(monitor=2, delay_min=30, delay_max=60)` for periodic monitoring
- Use `read_pdf("notes.pdf")` to load reference materials
Configuration
The server is registered in ~/.claude.json under mcpServers:
{
"mcpServers": {
"screen-mcp": {
"type": "stdio",
"command": "python",
"args": ["/absolute/path/to/server.py"]
}
}
}
Requirements
- Python 3.10+
- Windows / macOS / Linux (mss is cross-platform)
- Claude Code or any MCP-compatible client
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.