snip-mcp
An MCP server for capturing screen regions directly into Claude Code conversations via hotkeys or tool calls. It provides Windows-specific screen snipping with multi-monitor support, persistent storage, and automatic management of captured images.
README
snip-mcp
An MCP server that lets you capture screen regions directly into your Claude Code conversations. Select any area of your screen using a hotkey or tool call, and the screenshot is immediately available as an image in context.
Features
- Hotkey capture -- Ctrl+Shift+Click opens a snipping overlay anywhere, anytime
- Tool-triggered capture -- Claude can invoke the snipping tool on your behalf
- Multi-monitor support -- works across all connected displays with DPI awareness
- Persistent storage -- snips are saved to disk and survive server restarts
- Auto-pruning -- configurable limit prevents unbounded storage growth
- Toast notifications -- visual confirmation when a snip is captured
Requirements
- Windows 10 or later (uses Windows-specific global mouse hooks via ctypes)
- Python 3.11+
Installation
git clone https://github.com/Alparse/snip-mcp.git
cd snip-mcp
pip install -e .
Or with uv:
git clone https://github.com/Alparse/snip-mcp.git
cd snip-mcp
uv pip install -e .
Claude Code Configuration
Add the server to your Claude Code MCP settings.
If installed via pip (global or venv)
In ~/.claude/settings.json (global) or .claude/settings.json (project):
{
"mcpServers": {
"snip": {
"command": "snip-mcp"
}
}
}
If using uv (recommended for isolation)
{
"mcpServers": {
"snip": {
"command": "uv",
"args": ["run", "--directory", "/path/to/snip-mcp", "snip-mcp"]
}
}
}
Usage
Hotkey capture
Press Ctrl+Shift+Left Click anywhere on screen to open the snipping overlay:
- Click and drag to select a region
- Release to capture
- Press Escape to cancel
A toast notification confirms the capture.
Tool-triggered capture
Ask Claude to take a screenshot -- it will invoke the snip_screen tool and open the overlay for you.
Managing snips
These MCP tools are available to Claude:
| Tool | Description |
|---|---|
snip_screen |
Open the overlay and capture a region |
get_snip |
Retrieve a snip by name |
get_latest_snip |
Get the most recent capture |
list_snips |
List all stored snips |
rename_snip |
Rename a snip |
delete_snip |
Delete a snip |
Configuration
Configuration is stored at ~/.snip_mcp/config.json and auto-created on first run.
| Option | Default | Description |
|---|---|---|
modifier_keys |
["ctrl", "shift"] |
Modifier keys held while clicking to trigger the overlay. Valid values: ctrl, shift, alt |
save_directory |
~/.snip_mcp/snips/ |
Directory where snip PNGs are stored |
overlay_alpha |
0.3 |
Overlay transparency (0.0 = invisible, 1.0 = opaque) |
selection_color |
"#00ff00" |
Selection rectangle color (hex) |
selection_width |
2 |
Selection rectangle border width in pixels |
max_snips |
50 |
Maximum stored snips before oldest are auto-pruned |
Example config:
{
"modifier_keys": ["ctrl", "shift"],
"save_directory": "C:/Users/you/.snip_mcp/snips",
"overlay_alpha": 0.3,
"selection_color": "#00ff00",
"selection_width": 2,
"max_snips": 50
}
Troubleshooting
"snip-mcp requires Windows" This server uses Windows-specific APIs (global mouse hooks via ctypes). It cannot run on macOS or Linux.
"Failed to install mouse hook" The global mouse hook may require elevated permissions. Try running your terminal as administrator.
Overlay doesn't appear
Ensure no other application is intercepting Ctrl+Shift+Click. Verify modifier_keys in your config.
Coordinates are offset on high-DPI displays
The server calls SetProcessDPIAware() on startup. If you still see offset issues, check your Windows display scaling settings.
Snips directory
By default, snips are stored in ~/.snip_mcp/snips/. You can change this in config.json.
License
MIT -- see LICENSE for details.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。