{"server":{"name":"kidush-hachodesh","version":"0.2.0"},"protocol":"mcp","protocolVersion":"2024-11-05","transport":"streamable-http","endpoint":"/mcp","tools":[{"name":"search","description":"Full-text search across the unified Kiddush HaChodesh corpus: docs, class transcripts (Rabbi Zajac), calculation steps (21 Rambam steps with teaching notes), galgalim, Rambam chapters (KH 11-19), concept pages, and source-provenance categories. Returns ranked {id, type, title, rambamRef, url, snippet}. Follow up with `fetch` to read the full entry. Optional `type` filter narrows results to one category."},{"name":"fetch","description":"Fetch the full content of one corpus entry by id (as returned by `search`). Ids are namespaced, e.g. `step:sunMaslul`, `galgal:moon`, `class:class2a`, `doc:CALCULATIONS.md`, `concept:emtzoi-vs-amiti`, `chapter:14`."},{"name":"calculate","description":"Run the Rambam's full astronomical pipeline for a Gregorian date. Returns every intermediate step (sun mean/true longitude, apogee, maslul, moon maslul, double elongation, maslul hanachon, latitude, node, elongation, phase, first visibility, seasonal info) with its Rambam chapter reference and teaching note. Use this instead of guessing any numeric values."},{"name":"list_templates","description":"List starter templates for generating AI artifacts (standalone HTML calculators, Node CLIs, notebooks, etc.) that import the live engine. Follow up with `get_template` to read one, then modify for the user."},{"name":"get_template","description":"Fetch a starter template verbatim. The returned text is ready to modify and hand the user as an artifact. All templates import the engine from /engine/pipeline.js — keep that URL pointed at the live site unless the user asks otherwise."},{"name":"list_source","description":"List whitelisted source areas and files (the calculation engine and the docs). Use this to discover the module map before reading individual files with `get_source`. Each file also has a stable live URL under /engine/ or /docs/ and a GitHub URL for forking."},{"name":"get_source","description":"Fetch the full text of one source file (engine module or doc). Use this when you need to read the actual implementation to explain it, cite it, or adapt it into an artifact the user wants. The project is MIT-licensed — quoting and forking are explicitly allowed."},{"name":"get_daily_rambam","description":"Return the hardcoded Rambam daily-learning entry for a given Gregorian date (defaults to today). Covers the current Hilchot Kiddush HaChodesh week only (2026-04-07 through 2026-04-09). Returns the day's chapters, a teaser, related corpus ids (chapter:NN) to `fetch`, and suggested artifact ideas the assistant can proactively offer the user. Call this at the start of a session to greet the user with what they're learning today and offer to generate an artifact or run `calculate` for the date."},{"name":"stats","description":"Return corpus statistics — total entries and counts per type. Useful for sanity-checking what is indexed."}],"stats":{"total":71,"byType":{"doc":10,"class":2,"step":30,"galgal":9,"chapter":9,"concept":4,"source_type":4,"schedule":3}},"note":"POST JSON-RPC 2.0 messages to this URL. See /llms.txt for the full site map."}