Pls Touch Grass logo

Pls Touch Grass

Tracks time indoors, logs outdoor breaks, checks weather, detects frustration, and suggests nearby parks through five MCP tools.

Install Pls Touch Grass

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "pls-touch-grass": {
      "command": "npx",
      "args": [
        "-y",
        "pls-touch-grass-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

pls-touch-grass MCP server tracks outdoor breaks and indoor time through five MCP tools backed by a local JSON state file. It uses IP-based location, Open-Meteo weather data, and OpenStreetMap search to decide when to suggest going outside and where to go. The frustration detector can trigger on its own when a user expresses anger, while `--demo` supplies canned responses without network calls. Reach for it as a small MCP teaching example or a playful local assistant for outdoor-break reminders.

Use cases

  • Track when a user last went outside
  • Remind users to take outdoor breaks
  • Find nearby parks before suggesting a walk
  • Demonstrate MCP state and tool descriptions
  • Run predictable MCP demos without network access

Key features

  • Five MCP tools for breaks, frustration, weather, and parks
  • Local JSON state stored in the user's home directory
  • IP-based city-level location resolution
  • Open-Meteo weather lookup without an API key
  • OpenStreetMap park search and geocoding
  • Offline-friendly demo mode with canned responses

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 92d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · pls-touch-grass-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads266Package downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.

How Pls Touch Grass works

What pls-touch-grass does

pls-touch-grass turns outdoor-break tracking into a set of MCP tools. It records when someone went outside, measures time spent indoors, checks whether a break is due, reacts to frustrated messages, reports local weather, and finds nearby parks. The server is intentionally playful, but its implementation demonstrates tool descriptions, shared state, network-backed tools, and fallback behavior.

Five tools are exposed:

  • touched_grass records an outdoor visit and resets the frustration counter.
  • gotta_go checks whether indoor time has exceeded the configured tolerance.
  • frustration_detector responds to signs of anger and escalates the suggestion to go outside.
  • grass_conditions retrieves current weather through Open-Meteo.
  • where_to_touch_grass finds parks and distances using OpenStreetMap data.

How it works

The default transport is local stdio. The published npm package can be launched with npx -y pls-touch-grass-mcp, allowing an MCP client to start it on demand. A source checkout can instead run the compiled dist/index.js entry point.

State is kept in ~/.pls-touch-grass.json. The default indoor threshold is two minutes, although a caller can ask gotta_go to use a different threshold_minutes value. Location is resolved from the machine's IP address on each run at city-level precision. If that lookup fails, the server uses the last known location and then a fallback location. A neighborhood or street address supplied to where_to_touch_grass takes precedence and remains available for later use; neighborhoods can resolve offline, while other places are geocoded once through OpenStreetMap's Nominatim service.

Weather comes from Open-Meteo and does not require an API key. The demo mode, enabled by adding --demo to the launch arguments, uses fixed responses and avoids network requests.

Setup and configuration

For Claude Code, register the npm command with:

Terminal
claude mcp add pls-touch-grass -s user -- npx -y pls-touch-grass-mcp

Cursor can use the same npx command in global ~/.cursor/mcp.json or project-level .cursor/mcp.json. Claude Desktop can install the .mcpb package from a GitHub Release, or use the equivalent stdio JSON configuration. A Claude plugin is also available from the repository's plugin/ directory.

To build from source, clone the repository, run npm ci, and then run npm run build. Configure the client to execute node /absolute/path/to/dist/index.js. The npm package is published as pls-touch-grass-mcp, and the server is listed in the MCP Registry as io.github.Rinava/pls-touch-grass.

Limitations and notes

The server is designed for local use over stdio. It cannot be used directly as a claude.ai custom connector because that requires a remote HTTPS server; HTTP transport is listed as future work. IP location is deliberately city-level, and network-dependent lookups can fall back to prior or fixed locations. The demo data is canned rather than live. Thresholds are stored globally in the local state file rather than per project, and consecutive-day streak tracking is not included.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Pls Touch Grass

pls-touch-grass is an MCP server that connects an AI client to local break state, Open-Meteo weather, and OpenStreetMap location data. Its main tools log outdoor time, check indoor duration, detect frustration, report grass conditions, and find nearby parks. It runs locally over stdio and stores state in a JSON file.

Install it by registering `npx -y pls-touch-grass-mcp` with your MCP client. Claude Code supports `claude mcp add`; Cursor and Claude Desktop can use the equivalent stdio JSON configuration. Claude Desktop can also install the packaged `.mcpb` release.

Yes, pls-touch-grass works with Cursor through a stdio configuration. Add the server to `~/.cursor/mcp.json` for all projects or `.cursor/mcp.json` for one project, using `npx` with `-y` and `pls-touch-grass-mcp` as the package argument.

Yes, demo mode runs without network calls. Add `--demo` to the server arguments to use canned weather, location, and park responses; normal operation uses IP location, Open-Meteo, and OpenStreetMap services.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPls Touch Grass AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pls-touch-grass?style=directory)](https://allmcps.com/mcp/pls-touch-grass)
HTML Embed
<a href="https://allmcps.com/mcp/pls-touch-grass"><img src="https://allmcps.com/api/badge/pls-touch-grass?style=directory" alt="Pls Touch Grass on AllMCPs" /></a>