npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2026 – Pkg Stats / Ryan Hefner

thoth-cli

v0.2.27

Published

𓅝 Astrological calculations from the command line. Swiss Ephemeris precision. Built for humans and agents.

Downloads

2,560

Readme

𓅝 thoth-cli

Hermetic astrology from the command line.

A powerful astrological calculation CLI built on Kerykeion and Swiss Ephemeris. Designed for AI agents, developers, and modern practitioners who need precise calculations with clean output.

Features

  • Natal Charts β€” Full birth charts with planets, houses, aspects, and balances
  • Transits β€” Current planetary positions relative to your natal chart
  • Solar Returns β€” Annual birthday charts for year-ahead themes
  • Lunar Returns β€” Monthly emotional cycle charts
  • Synastry β€” Relationship compatibility between two charts
  • Composite Charts β€” Merged relationship chart (midpoint method)
  • Progressions β€” Secondary progressions (day-for-a-year)
  • Solar Arc β€” Solar arc directions for timing
  • Horary β€” Question-based divination charts with traditional rules
  • Ephemeris β€” Position of any celestial body on any date
  • Ephemeris Range β€” Track a planet through signs over time
  • Moon Phases β€” Current lunar phase and position
  • Symbol Reference β€” Complete guide to astrological symbols and meanings
  • Sephirotic Colors β€” Kabbalistic color correspondences throughout
  • JSON Output β€” Machine-readable output for AI/automation

Installation

npm install -g thoth-cli

The binary downloads automatically on first install (~18MB).

Quick Start

# Natal chart
thoth chart --date 1879-03-14 --time 11:30 --city "New York"

# Current transits
thoth transit --natal-date 1879-03-14 --natal-time 11:30 --city "New York"

# Solar return for 2026
thoth solar-return --natal-date 1879-03-14 --natal-time 11:30 --city "New York" --year 2026

# Horary divination
thoth horary --question "Should I take the job?" --city "New York"

# Relationship synastry
thoth synastry --date1 1879-03-14 --time1 11:30 --city1 "NYC" \
               --date2 1990-03-15 --time2 09:30 --city2 "LA"

# Moon phase
thoth moon

# Where is Pluto?
thoth ephemeris --body pluto

# Symbol reference
thoth key

Commands

thoth chart β€” Natal Chart

Calculate a complete birth chart.

thoth chart --date 1879-03-14 --time 11:30 --city "New York"
thoth chart --date 1879-03-14 --time 11:30 --lat 40.7128 --lng -74.0060
thoth chart --date 1879-03-14 --time 11:30 --city "New York" --svg-file chart.svg

| Flag | Description | Required | |------|-------------|----------| | --date | Birth date (YYYY-MM-DD) | Yes | | --time | Birth time (HH:MM) | Yes | | --city | City name | Yes* | | --nation | Country code (default: US) | No | | --lat / --lng | Coordinates | Yes* | | --name | Name for the chart | No | | --svg | Output SVG chart | No | | --svg-file | Save SVG to file | No | | --json | Output raw JSON | No |

*Either --city or both --lat and --lng required.


thoth transit β€” Current Transits

Calculate transits to a natal chart.

thoth transit --natal-date 1879-03-14 --natal-time 11:30 --city "New York"
thoth transit --natal-date 1879-03-14 --natal-time 11:30 --city "NYC" --orb 1

| Flag | Description | Required | |------|-------------|----------| | --natal-date | Birth date | Yes | | --natal-time | Birth time | Yes | | --city | City name | Yes* | | --lat / --lng | Coordinates | Yes* | | --transit-date | Transit date (default: today) | No | | --orb | Aspect orb in degrees (default: 3) | No | | --json | Output raw JSON | No |


thoth solar-return β€” Annual Chart

Calculate solar return chart for a specific year.

thoth solar-return --natal-date 1879-03-14 --natal-time 11:30 --city "NYC" --year 2026

| Flag | Description | Required | |------|-------------|----------| | --natal-date | Birth date | Yes | | --natal-time | Birth time | Yes | | --city | City name | Yes | | --year | Return year | Yes | | --json | Output raw JSON | No |


thoth lunar-return β€” Monthly Chart

Calculate next lunar return from a given date.

thoth lunar-return --natal-date 1879-03-14 --natal-time 11:30 --city "NYC" --from 2026-03-01

| Flag | Description | Required | |------|-------------|----------| | --natal-date | Birth date | Yes | | --natal-time | Birth time | Yes | | --city | City name | Yes | | --from | Date to search from | Yes | | --json | Output raw JSON | No |


thoth synastry β€” Relationship Aspects

Calculate synastry aspects between two charts.

thoth synastry --date1 1879-03-14 --time1 11:30 --city1 "NYC" \
               --date2 1990-03-15 --time2 09:30 --city2 "LA"

| Flag | Description | Required | |------|-------------|----------| | --date1 / --time1 | Person 1 birth data | Yes | | --city1 or --lat1/--lng1 | Person 1 location | Yes | | --date2 / --time2 | Person 2 birth data | Yes | | --city2 or --lat2/--lng2 | Person 2 location | Yes | | --orb | Aspect orb (default: 6) | No | | --json | Output raw JSON | No |


thoth composite β€” Relationship Chart

Calculate composite (midpoint) chart for a relationship.

thoth composite --date1 1879-03-14 --time1 11:30 --city1 "NYC" \
                --date2 1990-03-15 --time2 09:30 --city2 "LA"

Same options as synastry. Creates a merged chart representing the relationship itself.


thoth progressions β€” Secondary Progressions

Calculate secondary progressions (day-for-a-year method).

thoth progressions --natal-date 1879-03-14 --natal-time 11:30 --city "NYC" \
                   --target-date 2026-03-01

| Flag | Description | Required | |------|-------------|----------| | --natal-date | Birth date | Yes | | --natal-time | Birth time | Yes | | --city or --lat/--lng | Birth location | Yes | | --target-date | Progression target date | Yes | | --json | Output raw JSON | No |


thoth solar-arc β€” Solar Arc Directions

Calculate solar arc directions (all planets advance by Sun's arc).

thoth solar-arc --natal-date 1879-03-14 --natal-time 11:30 --city "NYC" \
                --target-date 2026-03-01

Same options as progressions. Shows directed positions and aspects to natal.


thoth horary β€” Question Divination

Cast a horary chart for yes/no or situational questions.

thoth horary --question "Should I take the job?" --city "New York"
thoth horary --question "Will we reconcile?" --lat 40.7128 --lng -74.0060

| Flag | Description | Required | |------|-------------|----------| | --question | Your question | Yes | | --city or --lat/--lng | Your current location | Yes | | --json | Output raw JSON | No |

Output includes:

  • Planetary hour and day ruler
  • Strictures against judgment (void of course, etc.)
  • Querent significator (1st house ruler)
  • Quesited significator (relevant house ruler)
  • Moon's last and next aspects
  • Reception and dignity analysis

thoth moon β€” Lunar Phase

Get current moon phase and position.

thoth moon
thoth moon --date 2026-03-14

thoth ephemeris β€” Planet Position

Get the position of any celestial body.

thoth ephemeris --body pluto
thoth ephemeris --body saturn --date 2027-01-15

Bodies: sun, moon, mercury, venus, mars, jupiter, saturn, uranus, neptune, pluto


thoth ephemeris-range β€” Track Planet Over Time

Get ephemeris positions over a date range.

thoth ephemeris-range --body pluto --from 2024-01-01 --to 2030-01-01 --step month

| Flag | Description | Required | |------|-------------|----------| | --body | Celestial body | Yes | | --from | Start date | Yes | | --to | End date | Yes | | --step | Interval: day, week, month | No (default: month) |


thoth key β€” Symbol Reference

Display the complete astrological symbol reference.

thoth key

Includes:

  • Planets β€” meanings, rulerships, Sephirotic correspondences
  • Points β€” Chiron, Lilith, Nodes
  • Zodiac Signs β€” element, modality, ruler, "I AM" mantras
  • Houses β€” all 12 life areas
  • Aspects β€” degrees, meanings, orbs
  • Elements & Modalities
  • Dignities β€” domicile, exaltation, detriment, fall

Color System

thoth-cli uses Sephirotic colors based on Kabbalistic correspondences:

| Planet | Sephira | Color | |--------|---------|-------| | β˜‰ Sun | Tiphareth | Gold | | ☽ Moon | Yesod | Silver | | ☿ Mercury | Hod | Orange | | ♀ Venus | Netzach | Green | | β™‚ Mars | Geburah | Red | | ♃ Jupiter | Chesed | Royal Blue | | β™„ Saturn | Binah | Indigo | | β™… Uranus | Chokmah | Cyan | | ♆ Neptune | β€” | Sea Green | | ♇ Pluto | β€” | Dark Red |


JSON Output

All commands support --json for programmatic use:

thoth chart --date 1879-03-14 --time 11:30 --city "NYC" --json
thoth horary --question "Test" --city "NYC" --json

Perfect for AI agents, automation, and integration.


Privacy

thoth-cli collects no data. Ever.

  • βœ… All calculations run locally
  • βœ… No analytics, no telemetry, no tracking
  • βœ… No network requests except city geocoding (via GeoNames)
  • βœ… Your birth data stays on your machine

Environment Variables

| Variable | Purpose | |----------|---------| | KERYKEION_GEONAMES_USERNAME | Custom GeoNames username for geocoding (optional, avoids rate limits) |

Get a free username at geonames.org/login


Development

git clone https://github.com/aklo360/thoth-cli.git
cd thoth-cli

# Python core
cd packages/core
python -m venv .venv
source .venv/bin/activate
pip install -e .

# TypeScript CLI
cd ../cli
npm install
npm run build

# Test
node dist/bin.js chart --date 1879-03-14 --time 11:30 --city "New York"

Credits


License

MIT β€” Use it for anything. Free forever.


"As above, so below; as the universe, so the soul."

𓅝