An MCP server that knows how long it's been since you touched grass
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP server that knows how long it's been since you touched grass, and won't shut up about it.
You log grass, it tracks indoor time, it catches you raging at your AI and sends you to the nearest park, weather checked first. A joke, but one that teaches MCP: five tools, shared state, and descriptions that make the model call them unprompted.
-s user, or the server only exists in the directory you ran that from. Working from
a clone, skip the command: there's a .mcp.json in the root and Claude Code offers it
when you open the folder.
Or the JSON, in ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project):
.mcpb from Releases, then
Settings β Extensions β Install Extension. Dependencies are bundled; installs offline.
By hand it's the same JSON as Cursor, in claude_desktop_config.json
(~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows).
No. Custom connectors want a remote server over HTTPS; this is stdio on your own machine. HTTP transport is the first item under Homework.
Point any config above at node /absolute/path/to/dist/index.js instead.
npx -y downloads the package on first start β live audiences and venue wifi deserve
a warm cache. Published on npm as pls-touch-grass-mcp, in the MCP Registry as
io.github.Rinava/pls-touch-grass.
| Tool | What it does | When the model calls it |
|---|---|---|
touched_grass | Logs that you went outside | "back from the park" |
gotta_go | Do you need to go out? | "can I keep going?" |
frustration_detector | Catches the rage and escalates | on its own, when you snap; that's the point |
grass_conditions | Real weather (Open-Meteo, no key) | before sending you outside |
where_to_touch_grass | Nearby parks with distances (OpenStreetMap) | "where should I go?", or when you name a place |
Nobody teaches the model to detect frustration: the tool description does it alone. Type "NOTHING WORKS!!!" and watch.
Location resolves fresh from your IP (ipwho.is) each run β
city-level on purpose. Detection down: last known spot, then the Obelisco, like
everyone else. Name a neighborhood or a street address to where_to_touch_grass and
it sticks: known neighborhoods resolve offline, anything else is geocoded once through
OpenStreetMap's Nominatim, and only the words you typed leave your machine. A place
you named outranks a guess from your IP, until you name a different one.
Indoor tolerance defaults to a merciless 2 minutes; ask the model for clemency and it
passes a bigger threshold_minutes to gotta_go. State is one JSON file,
~/.pls-touch-grass.json. Touching grass resets the rage counter. That's how
absolution works.
Live demos summon it: the venue wifi dies the moment you say "watch this". Add
--demo to the args and every answer goes canned β 22Β°C and clear, the Obelisco,
the curated spots. Zero network calls, zero surprises. Off by default; real life
should stay real.
The repo is tagged by step:
Every step compiles and passes its own tests. Two dependencies total: the official MCP SDK and zod.
createMcpHandler in SDK v2 serves the same factory over fetch, and it's what gets you onto claude.aisrc/lib/demo.ts, with an opinionnpm run build:mcpb packs dist and the production dependencies into
pls-touch-grass-mcp-<version>.mcpb, the file that goes on a GitHub Release. The
manifest is generated from package.json; nothing to keep in sync by hand.
Issues and PRs welcome β the Homework list is seeded as
open issues, several
tagged good first issue. See CONTRIBUTING.md for setup and
the house rules (there are few, but the demo-spot opinion is mandatory).
MIT. The grass is free and so is this.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pls-touch-grass)<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>