Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Pir MCP

by Solteris-Devversion 0.1.0i★ 2iRuns on your computer
Registry nameio.github.Solteris-Dev/pir-mcp

How to install

What it does

Motion sensor for AI agents: tells when a screen region changes or goes still. Scores, never pixels.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Other

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Pir MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Sign up and create a Pir MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    Checking the commands · copy buttons appear once they pass

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Pir MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Pir MCP or shows a Pir MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Pir MCP yet

Pir MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Pir MCP

  • You need a Pir MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Pir MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Pir MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Pir MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Pir MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Sign up and create a Pir MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    Checking the commands · copy buttons appear once they pass

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Pir MCP listed as connected

  6. Try it

    Use Pir MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Pir MCP or shows a Pir MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Pir MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Sign up and create a Pir MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open Cursor

    Checking the commands · copy buttons appear once they pass

  4. Fill in your key

    In the Pir MCP settings, PIR_CAPTURE_CMD, PIR_SELECT_CMD, PIR_WINDOW_GEOMETRY_CMD, PIR_PICK_WINDOW_CMD, PIR_MAX_WAIT_MS is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Pir MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Pir MCP or shows a Pir MCP tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Pir MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Sign up and create a Pir MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open VS Code

    Checking the commands · copy buttons appear once they pass

  4. Fill in your key

    In the Pir MCP settings, PIR_CAPTURE_CMD, PIR_SELECT_CMD, PIR_WINDOW_GEOMETRY_CMD, PIR_PICK_WINDOW_CMD, PIR_MAX_WAIT_MS is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Pir MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Pir MCP or shows a Pir MCP tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Pir MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

Checking the commands · copy buttons appear once they pass

Claude Desktop (claude_desktop_config.json)

Checking the commands · copy buttons appear once they pass

Cursor (~/.cursor/mcp.json)

Checking the commands · copy buttons appear once they pass

VS Code (mcp.json)

Checking the commands · copy buttons appear once they pass

Values you fill in

  • PIR_CAPTURE_CMD env
    Screenshot command template writing binary PPM to stdout; {x} {y} {w} {h} substituted. Default: grim (wlroots).
  • PIR_SELECT_CMD env
    Interactive rectangle selector printing 'x,y wxh'. Default: slurp. Empty disables the pick tools.
  • PIR_WINDOW_GEOMETRY_CMD env
    Prints 'x,y wxh' for window {id}. Default: Hyprland via jq. Empty disables window regions.
  • PIR_PICK_WINDOW_CMD env
    Interactive window pick printing the window id. Default: Hyprland + slurp.
  • PIR_MAX_WAIT_MS env
    Cap for blocking calls, ms (default 540000); keep under the host's MCP tool timeout.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
35/wk
Connection
Runs on your computer
Latest versioni
0.1.0
Categoryi
Other
Published to registryi
Sep 17, 2026
Code last changedi
Oct 12, 2026
Maker
Solteris-Dev
Packages
npm: pir-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 13, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Solteris-Dev, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 32 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Otheri

  • More stars than 91% of the other 19430 servers in this category
  • Published to the registry more recently than 43% of the other 19430 servers in this category
  • Basic checks equal to or better than 100% of the other 19430 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Pir MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 32 days ago, and the latest version (0.1.0) reached the registry 2 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: World Monitor, Claude Flow, Windmill

Others in the same category

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 104 tools.

by koala73Widely used★ 90.5KUpdated yesterday

Runs in the cloud✓ service owner · worldmonitor.app

Claude Flow

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

by ruvnetWidely used↓ 13.5K/wk★ 81.5KUpdated 14 months ago

Runs on your computer

Windmill

Run Windmill scripts and flows and manage jobs, schedules, resources and variables.

by windmill-labsWidely used★ 18.6KUpdated yesterday

Runs in the cloud

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

pir-mcp

A motion sensor for AI agents.

*"Gives your LLM agents enough info to be a helpful "watcher" without being a privacy nightmare like Windows Recall"* *-Solteris-Dev*

A PIR sensor tells you *that* something moved, never *what*. This is the same idea for a screen: an MCP server that watches named rectangles and answers "did this change?" and "has this gone still?" with a number, a size and a timestamp. No tool in it returns pixels, image files, or anything that could be turned back into a picture.

It exists because an agent driving a desktop keeps needing the same two things: *wake me when the build output moves* and *tell me if this status bar has stopped ticking*. Both are motion questions. Neither needs a screenshot.

What it does

  • `pir_pick_region` ask the person at the screen to draw the rectangle, the way a regional screenshot works (slurp, slop). The human chooses what is sensed; the agent gets the geometry. Use this whenever someone is there.
  • `pir_pick_mask` the same gesture for a patch inside a region to ignore (a clock, a spinner, a caret).
  • `pir_define_region` the scriptable path: name a rectangle by global layout coordinates, with optional masks.
  • `pir_pick_window` / `pir_define_window` watch a window instead of a fixed rectangle. Its geometry is looked up again before every capture, so the region follows the window when it moves; a resize counts as maximal change. The pick offers your visible windows as boxes to click.
  • `pir_sample` capture once, score against the previous sample of that region. Cheap; also the way to check the capture command works.
  • `pir_wait_for_change` block until the region departs from how it looked when the call began, or time out. A doorbell.
  • `pir_wait_for_stillness` block until nothing has changed for still_for_ms, or time out. A short window means "the animation settled, safe to act". A long window on something that should keep changing means it is frozen, and still=true is the alarm.
  • `pir_list_regions`, `pir_remove_region` housekeeping.

Every comparison reports two numbers over a coarse grid of averaged colour cells (at most 64 across, each at least 4 px), both 0 for identical and 1 for black against white:

  • `rmse` over the whole grid: did the region as a whole move? A cursor edge or an antialiased caret scores about 0.02; a dialog opening 0.1 or more. This is the default metric, threshold 0.05.
  • `peak` the single most-changed cell: did *anything* in it move? A clock digit flipping inside a 1920-wide status bar scores rmse 0.018 (invisible to the default) but peak 0.145. Use metric=peak for a small thing that should tick inside a larger region.

Averaging is what makes this a sensor rather than a camera: 64 cells cannot be read.

What it deliberately does not do

  • It never returns image data. There is no snapshot tool and none is planned. If an agent needs to *see*, use the screenshot tool your environment already has, so that choice stays explicit and yours.
  • It never writes frames to disk. A capture lives in memory for the milliseconds it takes to reduce it to a grid, and only the grid of the last sample is kept per region.
  • It does not capture on its own. Every sample is a tool call the agent made, visible in the transcript, and pir_pick_region carries a purpose line the agent has to write down before you draw.

What it *does* reveal, so you can decide whether that is acceptable: that a given rectangle changed, at a given time, by a given magnitude. On a region covering a chat window that is presence information. Choose regions accordingly; the server has no opinion.

The capture itself is delegated to a command you configure, run with your privileges. The default is grim, so nothing here has screen access that you did not already give to grim.

Install

It is on npm as pir-mcp and in the official MCP Registry as io.github.Solteris-Dev/pir-mcp, so most clients can run it with npx -y pir-mcp and no clone:

claude mcp add -s user pir -- npx -y pir-mcp

From source:

git clone https://github.com/Solteris-Dev/pir-mcp

cd pir-mcp && npm install && npm run build

Requires Node 20+ and a screenshot tool that can write binary PPM to stdout.

Capture command

PIR_CAPTURE_CMD is a template; {x} {y} {w} {h} are substituted and the result runs under sh -c. It must print a binary PPM (P6) to stdout.

environmentcommand
wlroots / Hyprland / Sway (default)grim -g "{x},{y} {w}x{h}" -t ppm -
X11 with maim`maim -g {w}x{h}+{x}+{y} -f png \magick png:- ppm:-`
X11 with ImageMagickimport -window root -crop {w}x{h}+{x}+{y} +repage ppm:-
macOS`screencapture -x -R{x},{y},{w},{h} -t png /dev/stdout \magick png:- ppm:-`

Coordinates are whatever the capture tool uses. On a wlroots layout that is the global layout, so an output placed left of the primary has negative x.

Selector command

PIR_SELECT_CMD runs when an agent calls pir_pick_region or pir_pick_mask and must print x,y wxh. Set it to an empty string to remove those tools entirely.

environmentcommand
wlroots / Hyprland / Sway (default)slurp -f "%x,%y %wx%h"
X11slop -f "%x,%y %wx%h"
macOSsee contrib/macos (untested)
Window commands

PIR_WINDOW_GEOMETRY_CMD gets {id} substituted and must print x,y wxh for that window; PIR_PICK_WINDOW_CMD must print the id of the window the person chose. Both default to Hyprland (via jq and slurp -r). Set either to an empty string to remove the corresponding tools. Window ids are limited to [A-Za-z0-9_.:-] before they reach a shell.

environmentgeometrypick
Hyprland (default)`hyprctl -j clients \jq -r --arg id "{id}" '.[] \select(.address==$id) \"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"'`visible windows as slurp boxes, prints the address
Sway`swaymsg -t get_tree \jq -r '.. \select(.id? == {id}) \"\(.rect.x),\(.rect.y) \(.rect.width)x\(.rect.height)"'``swaymsg -t get_tree \jq -r '.. \select(.visible? == true) \"\(.rect.x),\(.rect.y) \(.rect.width)x\(.rect.height) \(.id)"' \slurp -r -f '%l'`
X11`xdotool getwindowgeometry --shell {id} \awk -F= '/^X/{x=$2}/^Y/{y=$2}/^WIDTH/{w=$2}/^HEIGHT/{h=$2}END{print x","y" "w"x"h}'`xdotool selectwindow

Only the Hyprland pair has been run; the others are written from the tools' documentation.

Claude Code
claude mcp add -s user pir -- npx -y pir-mcp

or, from a source checkout:

claude mcp add -s user pir -- node /path/to/pir-mcp/dist/stdio.js

Blocking calls default to 55 s and are capped by PIR_MAX_WAIT_MS (540 s). Keep the cap under your host's MCP tool timeout; an agent that needs to watch for longer just calls again.

Other settings
variabledefaultmeaning
PIR_REGIONSunsetJSON file of regions to define at startup
PIR_THRESHOLD0.05default change threshold
PIR_INTERVAL_MS500default sampling period
PIR_DEFAULT_WAIT_MS55000default timeout for blocking calls
PIR_MAX_WAIT_MS540000cap for blocking calls
PIR_CAPTURE_TIMEOUT_MS10000how long one capture may take
PIR_SELECT_TIMEOUT_MS60000how long the person has to draw a selection
PIR_MAX_CELLS64grid resolution on the long side; smaller is coarser and more private

A regions file looks like:

[

{ "name": "bar", "x": 0, "y": 0, "w": 1920, "h": 26, "masks": [{ "x": 1690, "y": 0, "w": 110, "h": 26 }] } ]

Example

The case that produced this: a status bar that occasionally froze for hours while its process looked healthy. The clock in it should change every minute, so a bar that is still for three minutes is a frozen bar.

pir_pick_region         name=bar purpose="watch the status bar for a freeze"

pir_wait_for_stillness name=bar still_for_ms=180000 metric=peak timeout_ms=540000

still=true comes back only if the bar stopped; otherwise the call returns still=false at the timeout and the agent calls again. Nothing on the screen was ever seen, and the person drew the rectangle themselves.

Contributing starting points

contrib/macos/ holds an AppKit rectangle selector and capture recipe, written blind and untested. If you run it on a real Mac, fix what breaks and send it back.

Tests

npm test

License

MIT.