LunarGarden MCP

LunarGarden MCP

Provides astrology-aware garden care planning by combining lunar phase, Vedic panchang, weather, and soil forecasts into structured care plans with rationales and confidence scores.

Category
Visit Server

README

LunarGarden MCP

A public Model Context Protocol (MCP) server for astrology-aware garden care planning.

LunarGarden combines real external astrology data (lunar phase + Vedic panchang), hourly weather + soil forecasts, and static soil profiles into a structured 24-72 hour care plan with rationales and confidence scores.

Stack

  • Cloudflare Worker (src/worker.js)
  • Model Context Protocol server (JSON-RPC 2.0 over HTTP at /mcp)
  • Same-origin frontend (index.html, styles.css, app.js) served from the Worker
  • Caching via Cloudflare KV with in-memory fallback for local development

External APIs

Source Auth Used for
AstrologyAPI.com HTTP Basic (ASTROLOGY_API_USER_ID + ASTROLOGY_API_KEY) moon_phase_report, basic_panchang
Open-Meteo Forecast None Hourly weather + soil temp/moisture
Open-Meteo Air Quality None Hourly UV index
SoilGrids ISRIC None (optional, fail-soft) Static soil properties

MCP Tools

Tool Purpose
get_lunar_garden_signal Lunar phase + moon sign + Vedic panchang
get_weather_soil_forecast Hourly weather + soil forecast (24-72h)
get_soil_profile Static SoilGrids baseline (fail-soft)
get_air_quality_uv Hourly UV index (24-72h)
find_garden_care_windows Optimal outdoor work windows
plan_garden_care Composite 24-72h structured care plan
explain_care_decision Explainability for one plan item
generate_agent_brief Inter-agent handoff brief

Full schemas, input/output contracts, and example calls are documented in /agents-guide.md (served at the same origin).

Endpoints

Method Path Purpose
GET / Frontend HTML
GET /styles.css Frontend stylesheet
GET /app.js Frontend logic + MCP client
GET /healthz Liveness probe
GET /agents-guide.md Public MCP agent documentation
POST /mcp JSON-RPC 2.0 MCP endpoint

Development

# Install
npm install

# Local dev server (memory cache, no real AstrologyAPI calls)
npx wrangler dev

# Production deploy (after explicit approval only)
npx wrangler deploy

Secrets (production)

wrangler secret put ASTROLOGY_API_USER_ID
wrangler secret put ASTROLOGY_API_KEY

Real AstrologyAPI calls are disabled unless both env vars are present AND the LIVE_ASTROLOGY environment variable is explicitly set to "true".

Safety

  • All secrets live in Cloudflare Worker secrets, never in source.
  • Same-origin only: the browser never calls upstream APIs directly.
  • Cache TTL: lunar 1h, weather 15min, soil 24h, UV 15min.
  • SoilGrids is fail-soft: empty profile does not block composite output.
  • Invalid input returns HTTP 400 with a clear error.message.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured