🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP β†’
Sign In

auseklis

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auseklis

Astrology MCP server β€” natal charts, transits, synastry, progressions, returns, eclipses, retrogrades. Real ephemeris, MIT-licensed, no AGPL data files.

latest
Source
npmnpm
Version
0.4.0
Version published
Weekly downloads
66
-28.26%
Maintainers
1
Weekly downloads
Β 
Created
Source

auseklis

Astrology MCP server β€” natal charts, transits, synastry, progressions, returns, eclipses, retrogrades, moon phases. Computed from a real ephemeris, so AI agents stop hallucinating planet positions.

Named after the Latvian morning star. MIT-licensed with no AGPL ephemeris data β€” see Licensing.

Tools

ToolWhat it does
get_planet_positionPosition of one body/point at a moment (sign, degree, speed, retrograde)
compute_natal_chartFull birth chart: 13 points, houses, angles, Part of Fortune, aspects
compute_transitsAspects from the current (or any) sky to a natal chart
compute_progressionsSecondary progressions (day-for-a-year)
compute_synastryCross-chart aspects between two people
compute_composite_chartMidpoint composite chart of a relationship
find_returnsSolar/lunar/planetary returns (exact moments)
get_moon_phasePhase, illumination, Moon sign, next four quarters
find_eclipsesLunar/solar eclipses with signs, incl. local visibility
find_retrograde_periodsStation retrograde/direct moments for any planet
find_sign_ingressesWhen a body changes signs (equinoxes, Saturn ingresses, …)
find_aspect_timesExact moment a transit perfects ("when does Saturn square my Sun?")

Plus two prompts (natal_chart_reading, current_sky_report) and a glossary resource (auseklis://glossary).

Features: local birth times with IANA timezones (full historical DST handling) Β· tropical and sidereal (Lahiri, Fagan/Bradley) zodiacs Β· whole-sign, equal, Porphyry, and Placidus houses Β· mean lunar nodes and Black Moon Lilith Β· Part of Fortune (classical day/night formula).

Installation

Claude Code

claude mcp add auseklis -- npx -y auseklis

Claude Desktop / any MCP client (stdio)

{
  "mcpServers": {
    "auseklis": {
      "command": "npx",
      "args": ["-y", "auseklis"]
    }
  }
}

No API keys, no configuration β€” the ephemeris is computed locally.

Desktop Extension

Download auseklis.mcpb from the releases page and double-click to install in Claude Desktop. Or build it yourself: npm run bundle.

Remote (self-hosted)

The same server runs as a Cloudflare Worker speaking Streamable HTTP. Deploy it to your own account:

npm run deploy   # wrangler deploy
claude mcp add --transport http auseklis https://auseklis.<your-subdomain>.workers.dev/mcp

Set the MCP_SHARED_SECRET secret to require a bearer token.

Library usage

The ephemeris core (everything under src/ephemeris/) is importable directly β€” no MCP client or subprocess needed. This is the right shape for serverless runtimes (Vercel, Workers), where spawning npx auseklis per request is not an option:

import { computeNatalChart } from "auseklis/ephemeris";
import { findRetrogradePeriods } from "auseklis/ephemeris/events";
import { findEclipses } from "auseklis/ephemeris/eclipses";

const chart = computeNatalChart({
  utc: "1990-03-15T13:45:00Z",
  location: { latitude: 56.95, longitude: 24.11 }, // Riga
  houseSystem: "placidus",
});

auseklis/ephemeris carries the chart math (natal, transits, synastry, composite, progressions, single positions, angles) plus resolveInstant for local-time β†’ UTC conversion; …/events and …/eclipses carry the time-domain searches. Fully typed, ESM only, no data files.

Example questions to ask

  • "Compute my natal chart β€” born 15 March 1990, 15:45 in Riga."
  • "What's transiting my Sun this month?"
  • "When exactly is my Saturn return?"
  • "Synastry between me and my partner?" (two birth date/times)
  • "When is Mercury retrograde in 2027, and in which signs?"
  • "Is tonight's full moon visible as an eclipse from here?"

The model handles place-name β†’ coordinates; the server handles local-time β†’ UTC via the IANA timezone database.

Accuracy

Positions come from astronomy-engine (VSOP87 + NOVAS C 3.1): Β±1 arcminute for 1700–2200, far below the 1Β° resolution astrological interpretation uses. Event searches (stations, ingresses, returns, quarters) are refined to ~1 second of time. Verified in CI against published eclipse dates, the 2026 equinox, NOVAS Sun positions, and an independent Placidus implementation.

Architecture

src/
β”œβ”€β”€ ephemeris/        Astrology core β€” backend-agnostic
β”‚   β”œβ”€β”€ engine.ts     EphemerisBackend interface + astronomy-engine adapter (the swap seam)
β”‚   β”œβ”€β”€ index.ts      Charts, aspects, synastry, composite, progressions
β”‚   β”œβ”€β”€ events.ts     Time searches: returns, stations, ingresses, aspect times, moon phases
β”‚   β”œβ”€β”€ eclipses.ts   Eclipse searches with astrological context
β”‚   β”œβ”€β”€ houses.ts     Whole-sign, equal, Porphyry, Placidus (semi-arc solver)
β”‚   β”œβ”€β”€ points.ts     Mean lunar nodes, Black Moon Lilith
β”‚   β”œβ”€β”€ sidereal.ts   Ayanamsa (Lahiri, Fagan/Bradley)
β”‚   └── time.ts       IANA timezone β†’ UTC conversion (no dependencies, uses Intl)
β”œβ”€β”€ mcp/              Tool/prompt/resource definitions on @modelcontextprotocol/sdk
β”œβ”€β”€ stdio.ts          Local entry β€” `npx auseklis`
└── index.ts          Remote entry β€” Cloudflare Worker, Streamable HTTP via @hono/mcp

The EphemerisBackend interface in engine.ts is the deliberate swap seam: a future Rust/WASM clean-room ephemeris only needs to reimplement that one interface.

Development

npm install
npm run typecheck   # strict TS
npm test            # 27-check smoke suite (ephemeris references + MCP end-to-end)
npm run build       # emit dist/
npm run dev         # local Cloudflare Worker on :8787
npx @modelcontextprotocol/inspector node dist/stdio.js   # poke tools interactively

See docs/tools.md for the full tool reference and docs/architecture.md for design notes.

Licensing

MIT. This project deliberately avoids the Swiss Ephemeris (.se1/.se2 data files and the sweph bindings): those are AGPL-licensed, which would impose AGPL obligations on any network service built on them. Everything here is computed from MIT-licensed code with no external data files β€” safe to embed, fork, and deploy commercially. Details in NOTICE.

See docs/roadmap.md for the current detailed roadmap and priorities.

Recent progress: Chiron has been implemented using public JPL-derived initial conditions + n-body simulation (no AGPL data).

High-level Roadmap

  • Major asteroids (Ceres, Pallas, Juno, Vesta) via the same JPL + GravitySimulator approach
  • Vertex and other sensitive points
  • Declinations, latitudes, and parallels/contraparallels
  • Additional house systems (Koch and others)
  • v1: Rust/WASM clean-room ephemeris backend
  • Fixed stars, midpoints, and more calculated points

See the full prioritized list and rationale in docs/roadmap.md.

Keywords

mcp

FAQs

Package last updated on 10 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts