MCP server
Pir MCP
Motion sensor for AI agents: tells when a screen region changes or goes still. Scores…
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.0
- Listing updated
- 6 days ago
About Pir MCP
Pir MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Motion sensor for AI agents: tells when a screen region changes or goes still. Scores, never pixels.
Install
Run in a terminal
claude mcp add pir-mcp -- npx -y pir-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"pir-mcp": {
"command": "npx",
"args": [
"-y",
"pir-mcp"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"pir-mcp": {
"command": "npx",
"args": [
"-y",
"pir-mcp"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"pir-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pir-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"pir-mcp": {
"command": "npx",
"args": [
"-y",
"pir-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"pir-mcp": {
"command": "npx",
"args": [
"-y",
"pir-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
PIR_CAPTURE_CMDScreenshot command template writing binary PPM to stdout; {x} {y} {w} {h} substituted. Default: grim (wlroots).PIR_SELECT_CMDInteractive rectangle selector printing 'x,y wxh'. Default: slurp. Empty disables the pick tools.PIR_WINDOW_GEOMETRY_CMDPrints 'x,y wxh' for window {id}. Default: Hyprland via jq. Empty disables window regions.PIR_PICK_WINDOW_CMDInteractive window pick printing the window id. Default: Hyprland + slurp.PIR_MAX_WAIT_MSCap for blocking calls, ms (default 540000); keep under the host's MCP tool timeout.
Pricing
Open source
Pir MCP FAQ
Is Pir MCP free?
Yes. Pir MCP is open source, so you can use and self-host it for free.
How do I add Pir MCP to Claude Code?
Run this command in your terminal: claude mcp add pir-mcp -- npx -y pir-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.