Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐ŸŒณ Environment & Nature
  3. Touch Grass
Touch Grass logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 9:31:24 PM

Touch Grass

User RatingsBe the first to rate and review this MCP server!
View Repository2 GitHub StarsTotal stargazers on GitHub for the source repository (2 stars).Visit Website

MCP server and plugin that nudges users to take outdoor breaks based on local weather, sunset, and coding session streaks.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "nalediym-touch-grass": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/inspector"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (4) Directory Badge Claim listing Alternatives๐ŸŒณ More in Environment & Nature

Overview

This server provides tools and a Claude Code plugin that integrate live weather, sunset timing, and user streak data to prompt outdoor breaks at natural pauses in coding sessions. It uses a SessionStart hook to inject context into the agent, enabling context-aware nudges without interrupting flow. The MCP server exposes tools for checking conditions, suggesting activities, logging breaks, and retrieving stats, all operating fully locally without cloud storage or API keys.

Use cases

โ€ขPrompt users to take outdoor breaks based on real-time weather and daylight conditions
โ€ขLog and track user outdoor break streaks during coding sessions
โ€ขSuggest context-aware outdoor activities weighted by time of day
โ€ขIntegrate with AI agents to provide non-intrusive break reminders at natural pauses

Key features

โ€ขSessionStart hook injects live weather, sunset, and streak context into agent sessions
โ€ขFour MCP tools: check conditions, suggest activity, log break, get stats
โ€ขFully local operation with no external API keys or cloud storage
โ€ขContext-aware nudging that respects user flow and session state
โ€ขCompatible with Claude Code plugin and other MCP clients (manual integration)

Capabilities & Tool Schemas (4) ~95 tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server โ€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Touch Grass.

check_grass_conditions

Weather, temperature, minutes until sunset, and the user's streak state. Decision context.

suggest_activity

Random activity recommendation, weighted by time of day. Golden hour gets sunset-specific suggestions.

log_touch_grass

Records that the user went outside. Updates their streak. Call only when confirmed.

get_stats

Raw session telemetry and streak history.

Documentation Overview

๐ŸŒฟ touch-grass

The Claude Code plugin that reminds you to go outside.

Weather-aware ยท sunset-aware ยท session-aware ยท never interrupts your flow.

CI License: MIT Stars Last commit MCP Claude Code Glama TDQS

Install ยท How it works ยท Tools ยท Privacy ยท Site


touch-grass demo โ€” SessionStart hook injects live weather, sunset timing, and streak state; the agent nudges the user outside at a natural pause and logs the activity via the MCP server

Why this exists

Pomodoro timers interrupt your flow. Calendar blocks get ignored. The best time to step away from your editor is a moving target that depends on the weather, the time of day, your streak, and what you're in the middle of โ€” none of which a dumb interval timer knows.

Your AI coding agent already knows when you hit a natural pause. It finished the feature. It's waiting for you to answer a question. The tests went green. That's the right moment to nudge โ€” not every 25 minutes on the dot.

touch-grass turns your agent into a context-aware break buddy. A SessionStart hook feeds it live weather and sunset timing at the top of every session. A skill teaches it tiger-mom tone (warm, specific, never preachy). An MCP server lets it log when you actually went outside. You keep your flow. It keeps you honest.

What it does

Like a Pomodoro timer, but it knows the weather, your sunset time, and your coding streak โ€” and it talks to your AI agent instead of interrupting you.

  • SessionStart hook injects live weather, sunset timing, and streak state into your agent's context every time a Claude Code session starts.
  • MCP server exposes four tools your agent (Claude Code, Cursor, Claude Desktop, Codex) can call on demand.
  • Skill teaches the agent when to nudge, when to stay quiet, and what tone to use (tiger mom, not preachy).

It's a Claude Code pomodoro replacement for people who'd rather have their coding agent tell them to go outside than have a screen-blocking timer break their flow.

Install

Claude Code (full experience โ€” hook + MCP + skill):

bash
/plugin install nalediym/touch-grass

That's it. Open a new session โ€” the hook fires, the context drops in, your agent takes it from there.

Other MCP clients (Cursor, Claude Desktop, Codex) โ€” MCP tools only, no proactive hook
bash
git clone https://github.com/nalediym/touch-grass
cd touch-grass/plugin/mcp-server && npm install

Then add to your client's MCP config:

config.json
{
  "mcpServers": {
    "touch-grass": {
      "command": "node",
      "args": ["/absolute/path/to/touch-grass/plugin/mcp-server/index.mjs"]
    }
  }
}

You get the four MCP tools but lose the SessionStart hook, which is Claude Code specific. Your agent will only bring up grass when you explicitly ask about it.

How it works

How it works

Mermaid source
mermaid
flowchart LR
  A[Claude Code<br/>session starts] --> B[SessionStart hook fires]
  B --> C[ip-api.com<br/>location]
  B --> D[open-meteo.com<br/>weather + sunset]
  B --> E[~/.touch-grass/state.json<br/>streak + sessions]
  C --> F[Context injection]
  D --> F
  E --> F
  F --> G[Agent<br/>decides when to nudge]
  G -.calls.-> H[MCP tools]
  H --> E

On session start, a hook script runs. It detects your location from your public IP (cached 24h), fetches current weather and sunset time from open-meteo, reads your local streak file, and synthesises a short context block for the agent. The agent reads it, sits on it, and at a natural pause โ€” feature done, bug fixed, waiting for input โ€” nudges you outside with language that matches the actual conditions.

When you confirm you went outside, the agent calls log_touch_grass via the MCP server, which increments your streak in the local state file.

MCP tools

ToolPurposeReturns
check_grass_conditionsWeather, temperature, minutes until sunset, and the user's streak state. Decision context.JSON block with weather, sunset, isNice, minutesToSunset, state
suggest_activityRandom activity recommendation, weighted by time of day. Golden hour gets sunset-specific suggestions.Plain text like "๐ŸŒ… catch the sunset"
log_touch_grassRecords that the user went outside. Updates their streak. Call only when confirmed.Confirmation with new streak count
get_statsRaw session telemetry and streak history.JSON block

All four are callable from any MCP-compatible agent. In Claude Code, the agent mostly uses them via the context the hook injects โ€” you rarely need to call them manually.

Example prompts

The plugin works ambiently, but these phrasings work well if you want to bring it up yourself:

  • "Should I touch grass right now?"
  • "What's my streak?"
  • "Remind me to go outside before sunset."
  • "I just went for a walk, log it."
  • "Is it nice out?"

Privacy

Everything is local-first.

  • Stored on your machine: ~/.touch-grass/state.json (streak, session counts, last touched date) and ~/.touch-grass/config.json (cached location, weather threshold).
  • Leaves your machine: your public IP is sent to ip-api.com once every 24 hours to resolve city coordinates, and those coordinates are sent to api.open-meteo.com on each session start to get weather and sunset.
  • Never leaves your machine: your streak, your activity notes, your coding schedule, your prompts, anything from your Claude Code session.

No accounts. No API keys. No telemetry. No analytics. No auth. If you want to disable network access entirely, pin "location" manually in ~/.touch-grass/config.json and the IP lookup never fires.

Configuration

Override defaults in ~/.touch-grass/config.json
config.json
{
  "location": {
    "lat": 40.7128,
    "lon": -74.0060,
    "city": "New York",
    "timezone": "America/New_York",
    "fetchedAt": 9999999999999
  },
  "niceWeatherThresholdC": 15,
  "breakIntervalHours": 2,
  "enabled": true,
  "customActivities": [
    { "label": "walk to the corner store", "emoji": "๐Ÿ›’" },
    { "label": "sit on the fire escape", "emoji": "๐Ÿชœ" }
  ]
}
KeyDefaultDescription
locationauto (ip-api)Pin to a specific location. Set fetchedAt to a future timestamp to disable auto-refresh.
niceWeatherThresholdC15Temperature (ยฐC) below which weather isn't considered "nice."
breakIntervalHours2After this many hours of continuous coding, nudges get firmer.
enabledtrueSet to false to silence the hook without uninstalling.
customActivitiesnullReplace the default activity list with your own. Each entry is { "label": "...", "emoji": "..." } or just a plain string. Supporter perk.

Troubleshooting

I installed the plugin but my agent doesn't mention grass at session start.

Run the hook by hand to confirm it works:

bash
node plugin/hooks/session-start.mjs

You should see a JSON object with hookSpecificOutput.additionalContext containing the nudge. If additionalContext is an empty string, the hook couldn't reach ip-api.com or open-meteo.com โ€” check your network. If the hook is fine but Claude Code never calls it, the plugin isn't wired up โ€” re-run /plugin install nalediym/touch-grass in a fresh session.

How do I know the hook actually fired in my last session?

Check ~/.touch-grass/state.json. The sessionStart, lastSessionStart, and totalCodingSessions fields update every time the hook runs. If sessionStart is older than your most recent claude invocation, the hook isn't running.

ip-api.com is blocked on my network. Can I still use this?

Yes. Pin your location manually in ~/.touch-grass/config.json:

config.json
{
  "location": {
    "lat": 40.7128,
    "lon": -74.0060,
    "city": "New York",
    "timezone": "America/New_York",
    "fetchedAt": 9999999999999
  }
}

The high fetchedAt timestamp prevents the 24h cache from expiring, so the IP lookup never fires. Weather will still be fetched from open-meteo.com.

How do I disable the nudges without uninstalling?

Set "enabled": false in ~/.touch-grass/config.json. The hook still writes session telemetry but emits empty context, so the agent stops seeing grass reminders.

How do I reset my streak?

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Environment & Nature View all alternatives
  • Agentic Swmm Workflow logoAgentic Swmm Workflow

    Eleven MCP servers exposing a reproducible EPA SWMM stormwater-modelling workflow: model building, simulation runs with manifests and continuity checks, calibration, GIS/QGIS integration, design storms and climate scenarios, uncertainty analysis, plotting, and modelling memory. Config generators included for Codex, Claude Code, OpenClaw, and Hermes.

    ๐ŸŒณ Environment & Nature3 views
    Compare vs Agentic Swmm Workflow โ†’
  • Noaa Tides And Currents MCP logoNoaa Tides And Currents MCP

    NOAA tides and currents: water levels, tide predictions, currents, met data, flooding, sun and moon

    ๐ŸŒณ Environment & Nature8 views
    Compare vs Noaa Tides And Currents MCP โ†’
  • Atmospore MCP logoAtmospore MCP

    Per-species pollen forecasts at any point on Earth, seven days ahead, via the Atmospore API. Tools: getpollen, gettopspecies, getareaaverage, listsupportedspecies. Free tier (100 calls/day, no credit card). Hosted variant at mcp.atmospore.com.

    ๐ŸŒณ Environment & Nature3 views
    Compare vs Atmospore MCP โ†’
  • Agentic MIKE Plus logoAgentic MIKE Plus

    MCP server (10 tools) for a headless, natural-language DHI MIKE+ urban-water modelling workflow: model inspection, parameter read/edit, headless simulation runs with parsed QA status, .res1d results reading, and plotting (hydrographs, time series, network maps). Read/plot is license-free; run/edit need Windows + a MIKE+ 2026 license. Works with Claude Code, Codex, OpenClaw, and Hermes.

    ๐ŸŒณ Environment & Nature3 views
    Compare vs Agentic MIKE Plus โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
2
Stargazers on the source repository.
npm downloads
1M
Package downloads in the last 30 days.
Last commit
4mo ago
Most recent push to the default branch.
Tools exposed
4
Callable tools this server registers over MCP.
Directory activity
1 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Touch Grass

No, it runs fully locally and does not require any API keys or cloud storage.

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 PreviewTouch Grass AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/nalediym-touch-grass?style=directory)](https://allmcps.com/mcp/nalediym-touch-grass)
HTML Embed
<a href="https://allmcps.com/mcp/nalediym-touch-grass"><img src="https://allmcps.com/api/badge/nalediym-touch-grass?style=directory" alt="Touch Grass on AllMCPs" /></a>

Technical Specs & Signals

Category๐ŸŒณEnvironment & Nature
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
Last updatedAug 7, 2026
11/11 checks healthy over the last 32d
Views1
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars2
GitHub Star CountTotal stargazers on GitHub representing community popularity (2 stars).
Last commit4mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Apr 26, 2026
npm downloads1,049,637/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
51Quality signal: Good ยท 51/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership6/20
Documentation & tools27/30
Adoption & activity5/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage โ€” this is a directional signal, not a security audit.

Critical 1High 1Medium 0Low 0

Scanned 14d ago via OSV.dev ยท @modelcontextprotocol/inspector (npm)

โ˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐ŸŒณ Environment & Nature โ†’Alternatives to Touch Grass โ†’Install in Claude DesktopInstall in CursorInstall in VS Code