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
访问服务器

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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选