Caelus3,462 checksGitHubv0.26.0MIT
Integrations

MCP Setup

caelus-mcp exposes the calculation engine over the Model Context Protocol. Because AI assistants call deterministic ephemeris tools on every turn rather than estimating positions from memory, charts and timing windows remain exact.

You can connect to the same forty-three tools via either transport:

  • Hosted (Streamable HTTP): point your MCP client at https://www.ephemengine.com/api/mcp with no local installation.
  • Local (stdio): run npx -y caelus-mcp locally for offline use, strict version pinning, or extended pre-1000 CE data packs.

Hosted endpoint (no install)

All tools run statelessly over MCP Streamable HTTP at https://www.ephemengine.com/api/mcp. Every request is self-contained with zero session state to maintain, and planetary positions match the stdio server across modern dates (1000–3000 CE).

Add the entry below to .cursor/mcp.json (project) or ~/.cursor/mcp.json (user-wide), then reload Cursor:

.cursor/mcp.json
{
"mcpServers": {
  "caelus": {
    "url": "https://www.ephemengine.com/api/mcp"
  }
}
}

Running locally via stdio

To run the local server straight from npm with no global install:

Terminal
npx -y caelus-mcp

Because caelus-mcp communicates over stdin/stdout JSON-RPC, running it directly in an interactive shell simply waits for input. Configure one of the clients below to spawn and manage it automatically.

Configuring local clients

Every stdio client invokes npx -y caelus-mcp and differs only in config file location and schema:

Add caelus to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then fully quit and relaunch Claude Desktop:

claude_desktop_config.json
{
"mcpServers": {
  "caelus": {
    "command": "npx",
    "args": ["-y", "caelus-mcp"]
  }
}
}

Available tools

Once connected, your MCP client should display all forty-three tools in its tool panel:

Charts and readings

  • natal_chart: natal positions, house cusps, and aspects.
  • current_sky: planetary positions for any timestamp with optional location.
  • transits: transiting planets and aspects to a natal chart across a window.
  • synastry: inter-chart aspects, house overlays, composite atoms, and a prompt brief.
  • composite: midpoint composite and Davison relationship charts.
  • returns: solar and lunar return timestamps paired with return charts.
  • progressions: secondary progressions and solar-arc directions.
  • counterfactual_chart: perturbs a birth chart (shifting time, coordinates, or body longitudes) and diffs sign, house, and aspect changes.

Sky events, geometry, and historical search

  • sky_view: frames the visible sky from an observer's location as pixel coordinates and an AI image-generation prompt (including brightness, Moon phase orientation, twilight, Milky Way band, deep star field, and coordinate overlays).
  • sky_view_sequence: generates a frame sequence across time for sky animation.
  • sky_events: computes rising/setting times, lunar phases, stations, zodiac crossings, solar/lunar eclipses, central eclipse coordinates, path widths, and local contact circumstances.
  • parans: finds co-angular planet pairs crossing horizon or meridian lines within a 24-hour window at a given latitude.
  • find_aspect_dates: searches when a specified aspect reaches exactness inside a date window.
  • electional_search: ranks timestamps inside a window by desired aspects while optionally avoiding a void-of-course Moon.
  • cosmic_weather: summarizes active configurations, planetary stations, and void-of-course periods for a given date.
  • similar_skies: ranks timestamps within a date range by cosine similarity to a target chart.
  • date_sky: searches multi-year or multi-millennium spans for matching planetary positions (used for dating historical horoscopes).
  • chart_stability: reports which chart facts remain invariant across a time uncertainty window and when changing facts transition.
  • heliacal: computes first and last visibility dates from a location for planets, catalog stars, or the Moon (heliacal risings and settings, evening and morning apparitions of Mercury and Venus, and new and old crescents), including earliest and latest dates across clear and hazy atmospheric bounds.

Hellenistic time-lords

  • profections: annual and monthly profections with lords of the year.
  • firdaria: Persian planetary time-lord periods.
  • releasing: zodiacal releasing (aphesis) from Fortune or Spirit.
  • directions: primary directions to chart angles and optional mundane directions between planets.
  • lots: the seven sect-aware Hermetic lots.

Vedic (Jyotish)

  • nakshatras: lunar mansions, padas, and dasha lords.
  • dasha: Vimshottari, Yogini, and Ashtottari dasha timelines.
  • vargas: Parashari divisional charts.
  • yogas: Pancha Mahapurusha, raja/dhana yogas, and chart yogakarakas.

Analysis, dignities, and structured facts

  • dignities: essential dignities and sect status for the seven traditional planets.
  • planetary_hours: active Chaldean planetary hour and daily sequence.
  • void_of_course: void-of-course Moon timing windows.
  • rectification_grid: candidate ASC/MC sweeps over a grid of birth times.
  • aspect_patterns: maximal classical configurations (T-squares, grand trines, grand crosses, yods, kites, mystic rectangles, and stelliums).
  • chart_signature: elemental, modal, quadrant, and hemisphere counts alongside dominant indicators and chart ruler.
  • chart_facts: projects validated chart placements into ranked, citable fact atoms and a formatted prompt brief, accepting when provenance anchors, an inline anchors registry, realm, target_date, include_vedic, and constraints (see Interpretation and Provenance).

Physical observation, forensics, and chronosense

  • verify_observation: verifies physical observations (shadows, solar or lunar azimuth and altitude, twilight, lunar phase and bright-limb angle, visible planets, or video shadow sweep) against a claimed UTC timestamp and location with counterfactual forensics for timezone shifts, hemisphere flips, and seasonal date shifts; omit observed to query full ground-truth scene geometry, diurnal timing, and a compact chronosense header (see Physical Observation).
  • chronolocate: scans up to 370 days at a fixed location and returns every UTC window where a set of physical observations held simultaneously, with analytic day pruning and sub-second boundary refinement.
  • geolocate: inverts physical observations at a known UTC timestamp to Earth coordinates via closed-form spherical celestial navigation (analytical) or a global antimeridian-wrapping spherical grid (grid), returning subsolar/sublunar points and ranked point, arc, or band regions.
  • chronosense_tick: computes a deterministic physical-horizon turn envelope, 8-character canonical clockId, compact [CAELUS-CHRONO ...] header, 10-D photoperiodVector, and phaseStratumKey for long-running agents (see Chronosense Middleware).
  • audit_chronosense_cursor: audits an agent write-back cursor (clock_id, turn, night_crossed_ack, deadline_eta_min, and cited_facts) against a supplied or recomputed envelope and returns deterministic driftFlags and a correctivePrompt.

Synthetic worlds

  • synthetic_validate: checks custom synthetic orbital definitions for invalid eccentricities, duplicate IDs, non-positive periods, or missing observers.
  • synthetic_positions: returns longitudes, speeds, and retrograde flags for all bodies in a synthetic system.
  • synthetic_sky_view: frames a combined real/synthetic sky view with authored magnitudes, colors, and angular radii.

natal_chart and current_sky also annotate solar proximity (cazimi, combust, under_beams) and aspect phase (applying, separating, exact) with normalized strength.

Alongside these forty-three tools, the server exposes three resources (caelus://glossary, caelus://accuracy, and ui://widget/chart.html) and four prompts (rectification_session, natal_reading, chronosense_agent_header, and forensic_observation_loop).

Tool responses return compact structured JSON (abbreviated below):

natal_chart → (abbreviated)
{
"utc": "1990-06-10T14:30:00Z",
"houses": "placidus",
"bodies": {
  "sun":  { "lon": 79.45,  "pos": "19°27'Gem", "house": 11, "speed": 0.96 },
  "moon": { "lon": 283.28, "pos": "13°17'Cap", "house": 6,  "speed": 12.19 },
  "saturn": { "lon": 294.31, "pos": "24°18'Cap", "house": 6, "rx": true, "speed": -0.05 }
},
"aspects": [
  { "a": "sun", "b": "moon", "aspect": "quincunx", "orb": 3.8, "phase": "applying", "strength": 0.62 }
]
}

Example prompts

  • "Natal chart: born June 10 1990, 2:30pm, Tampa FL."
  • "When is Saturn square my natal Moon in the next two years?"
  • "Compare my chart with my partner's." (synastry)
  • "Natal chart facts with transits active today." (chart_facts with target_date)
  • "Next solar eclipse? Lunar eclipses in 2026?"
  • "My solar return chart for this year."
  • "Progress my chart to today: secondary positions and the solar arc."
  • "Composite and Davison charts for me and my partner."
  • "Which of my planets have essential dignity, and are they in sect?"
  • "Where are my Lots of Fortune and Spirit?"
  • "Who's my lord of the year for 2026?"
  • "Which firdaria period am I in right now?"
  • "Run my zodiacal releasing from the Lot of Spirit."
  • "What are my primary directions to the angles?"
  • "Do I have any T-squares, grand trines, or yods in my chart?"
  • "What's the elemental and modal balance of my chart, and my chart ruler?"
  • "Do vertical shadows pointing 42° at length ratio 0.40 match New York City on 2026-06-21 at 18:00 UTC?" (verify_observation)
  • "Where on Earth at 2026-06-21T18:00:00Z do flat-ground shadows point 41.75° with ratio 0.397?" (geolocate)

Troubleshooting

  • npx fails to launch from GUI apps: Desktop apps (Claude Desktop, Cursor) often omit shell PATH additions from nvm or Homebrew. Set command to the full executable path reported by which npx (requires Node 18+).
  • Tools do not appear: Most clients read MCP config files only at startup. Fully quit and reopen the application, and validate JSON syntax for trailing commas.
  • Cold-start delay: Running npx -y without a pinned version checks npm on first launch before caching. Pin a release version below to keep startup fast and predictable.

Pinning a production version

npx -y caelus-mcp resolves latest by default. Pin a matching release version across all packages for reproducible behavior:

pinned
{
"mcpServers": {
  "caelus": {
    "command": "npx",
    "args": ["-y", "caelus-mcp@0.15.0"]
  }
}
}

Machine-readable summary docs live at llms.txt. See Architecture to integrate Caelus packages directly in application code.

Add the engine to your stack

Engine quickstart →