VedakshaRust ephemeris and Vedic astrology engine
Build kundli apps, panchanga calendars and astrology agents with Vedaksha. Compute planetary positions, natal charts, dashas, vargas and shadbala through Rust, Python, WebAssembly or a self-hosted MCP server.
Source-available under BUSL-1.1, with no AGPL code. Free for non-commercial use.
cargo add vedakshapip install vedakshanpm i vedaksha-wasmSPK: 0.096 arcseconds mean longitude residual. Analytical: 0.160 arcseconds mean, with no runtime data file. Both measured against JPL Horizons over 1900-2025.·reproduce it yourself·technical report (PDF)
Performance
Performance techniques.
This page gives no benchmark number, because throughput is machine-specific and changes with every optimisation. The techniques below are fixed, and each one can be checked in the engine repository.
- Angle addition: the lunar and planetary series evaluate the sine and cosine of a few fundamental arguments, or of the frequencies their terms share, once, and build every term from those instead of one sine and cosine per term.
- Position-only evaluation skips the lunar theory's velocity half when a caller does not need it.
- The Moon's light-time iteration reuses the evaluation it already has rather than repeating it.
- Long scans (panchanga ends, lunar months, eclipses, moonrise, muhurta search) read the Moon and the Sun from an interpolated walk of Chebyshev-fitted segments, within 5e-5″ for the Moon and 1e-5″ for the Sun, and make a tenth to a twentieth of the ephemeris calls they did.
- Batch chart computation shares one frame set and one memoised lunar series across every instant in a batch.
- Transit search runs in parallel.
- The core compiles to
no_std, checked in CI on every push.
The measured comparison, with the machine, the load and the releases it was run on, is in the v10.0.0 release notes.
Accuracy
Measured against JPL Horizons.
Two independently measured providers, each with the exact command that reproduces its own figure against a fresh checkout.
Full per-body breakdowns, the reproducing commands and what is deliberately not claimed are on /accuracy, including cross-validation against two national ephemeris agencies measured with the now-public parity harness. The derivation itself is written up in the technical report.
Deployment
One Rust engine behind every binding.
The bindings use the same Rust engine. Bit-level reproducibility depends on the computation and target architecture.
cargo add vedakshathe native cratepip install vedakshareal engine via WASM, no build stepnpm i vedaksha-wasmbrowser and edgevedaksha-mcp17-tool MCP serverApplications built on Vedaksha include kundalimcp.com and kundali.live.
License
BUSL-1.1 today. Apache in four years.
Commercial use costs $500 once per organization, and non-commercial use is free. There is no subscription and no per-seat fee.
Each version converts from BUSL-1.1 to Apache 2.0 four years after that version's own release date. Full terms and the commercial grant are on /pricing.