loading…
Search for a command to run...
loading…
Vedaksha MCP Server Astronomical ephemeris and Vedic astrology computation for AI agents via the Model Context Protocol.
Vedaksha MCP Server Astronomical ephemeris and Vedic astrology computation for AI agents via the Model Context Protocol.
Clean-room Rust ephemeris and Vedic astrology engine, built for the agentic-AI era. Sub-arcsecond planetary precision, every algorithm traced to a primary source, every chart emitted as a queryable property graph.
Celestial computation. Agentic precision.
Website · Docs · Playground · API reference · Blog
clean-room · sub-arcsecond vs JPL Horizons · 870 tests + 8,700 oracle rows · MCP-native · BSL 1.1 → Apache 2.0
use vedaksha::prelude::*;
let jd = calendar_to_jd(2024, 3, 20, 12.0);
let chart = compute_chart(jd, 28.6139, 77.2090, &ChartConfig::vedic());
cargo add vedaksha # Rust
pip install vedaksha # Python (PyO3)
npm install vedaksha-wasm # WebAssembly
// Source: doc-comment pointing at the primary paper or treatise (VSOP87A, ELP/MPP02, IAU standards, BPHS, Jaimini) — never derived from other software, no GPL contamination. See DATA_PROVENANCE.md and docs/audit/.| Crate | Description |
|---|---|
| vedaksha | Umbrella crate — prelude, compute_chart, ChartConfig. Optional locale feature (7 languages: en · hi · sa · ta · te · kn · bn). |
| vedaksha-math | Chebyshev polynomials, angle arithmetic, interpolation, rotation matrices |
| vedaksha-ephem-core | JPL DE440 SPK reader, AnalyticalProvider (VSOP87A + ELP/MPP02), coordinate pipeline, precession, nutation, ΔT |
| vedaksha-astro | 10 house systems, 44 ayanamshas (IAU 2006 P03 5th-order), aspects, dignities, transits |
| vedaksha-vedic | 27 nakshatras, 5 dasha systems, 16 vargas, 50 yogas, Shadbala |
| vedaksha-graph | Property-graph ontology (10 node types, 13 edge types) + Cypher / SurrealQL / JSON-LD emitters |
| vedaksha-mcp | Model Context Protocol server — 12 JSON-RPC tools for AI agents |
| vedaksha-wasm | WebAssembly bindings — full chart computation in the browser, no data files |
Python bindings via PyO3 live in bindings/python.
| Provider | Accuracy | Data | Use case |
|---|---|---|---|
| SpkReader | Sub-arcsecond | DE440s (~31 MB on disk) | Servers, containers |
| AnalyticalProvider | <15″ planets, <1″ Moon | Zero files (compiled constants) | WASM, edge, Cloudflare Workers, no_std |
The AnalyticalProvider evaluates VSOP87A (Bretagnon & Francou 1988) for planets and ELP/MPP02 (Chapront 2002) for the Moon — all coefficients are compile-time constants, so there are no runtime data files.
JPL DE440 SPK → Chebyshev evaluation → ICRS barycentric
→ light-time correction → precession (IAU 2006 P03, 5th-order)
→ nutation (IAU 2000B) → frame bias (ICRS→J2000)
→ aberration → ecliptic coordinates
Zero-data path (WASM / edge):
VSOP87A / ELP coefficients (compiled) → Poisson series evaluation
→ heliocentric ecliptic → equatorial rotation → barycentric ICRS
→ same downstream pipeline
Delta T: IERS measured table (1620–2025) + Espenak–Meeus predictions to 2050.
First-class Jyotish, drawn from primary classical sources.
Every computation produces a property graph, not flat structs — so an agent can ask "which planets aspect the 7th-house lord?" as a graph query instead of re-implementing chart logic. The MCP server exposes 12 tools, discoverable with a single tools/list call:
compute_natal_chart · compute_dasha · compute_vargas · compute_karakas · compute_combustion · compute_shadbala · compute_ashtakavarga · compute_transit · compute_gochara · search_transits · search_muhurta · emit_graph
cargo install vedaksha-mcp
vedaksha-mcp # stdio (Claude Desktop, Cursor, VS Code)
vedaksha-mcp --http --port 3100 # HTTP transport
docker run -p 3100:3100 ghcr.io/arthiqlabs/vedaksha-mcp
The tool surface is generated from the Rust definitions and locked by a snapshot test, so the published catalog can't silently drift from the code.
Validated against two independent reference ephemerides across 8,700 oracle reference rows in tests/oracle_jpl/:
| Metric | SpkReader (DE440s) | AnalyticalProvider |
|---|---|---|
| Planetary longitude | Sub-arcsecond (avg 1.7″) | <15″ (avg 3.8″) |
| Moon longitude | Sub-arcsecond | <1″ (0.23″ avg, 0.60″ max, 1900–2100 vs JPL Horizons) |
| House cusps (10 systems) | <0.001° | <0.01° |
| Ayanamsha (44 systems) | avg 0.005° | same (pure math) |
| Dasha periods | Sum to 120 yr ± 0.01 days | same |
| Nakshatra boundaries | Reference-accurate | matches SpkReader |
| Platform | Install | Notes |
|---|---|---|
| Rust | cargo add vedaksha |
full pipeline |
| Python | pip install vedaksha |
PyO3, type stubs |
| WASM | npm install vedaksha-wasm |
browser & edge, no data files |
| MCP | cargo install vedaksha-mcp |
12 tools, stdio + HTTP |
| Docker | docker run ghcr.io/arthiqlabs/vedaksha-mcp |
MCP server on port 3100 |
Published: crates.io — 7 crates (vedaksha, vedaksha-math, vedaksha-ephem-core, vedaksha-astro, vedaksha-vedic, vedaksha-graph, vedaksha-mcp) · PyPI vedaksha · npm vedaksha-wasm · Docker ghcr.io/arthiqlabs/vedaksha-mcp.
Business Source License 1.1.
See LICENSE for full terms.
Copyright © 2026 ArthIQ Labs LLC · Licensed under BSL 1.1.
Выполни в терминале:
claude mcp add vedaksha -- npx CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.