Vedaksha
Vedaksha MCP Server Astronomical ephemeris and Vedic astrology computation for AI agents via the Model Context Protocol.
README
Vedākṣha — Vision from Vedas
Astronomical ephemeris and Vedic astrology platform. Clean-room Rust implementation with sub-arcsecond planetary precision.
Celestial computation. Agentic precision.
Website · Docs · API Reference · Blog
Quick Start
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-astro vedaksha-ephem-core
pip install vedaksha
Workspace
| Crate | Description |
|---|---|
| vedaksha-math | Chebyshev polynomials, angle arithmetic, interpolation, rotation matrices |
| vedaksha-ephem-core | JPL DE440 SPK reader, AnalyticalProvider (VSOP87A + ELP/MPP02), coordinate pipeline, precession, nutation, Delta T |
| vedaksha-astro | 10 house systems, 44 ayanamsha systems (IAU 2006 P03 5th-order precession), aspects, dignities, transits |
| vedaksha-vedic | 27 nakshatras, 3 dasha systems, 16 vargas, 50 yogas, Shadbala |
| vedaksha-graph | Property graph ontology — 10 node types, 13 edge types |
| vedaksha-emit | Cypher, SurrealQL, JSON-LD, JSON, embedding text emitters |
| vedaksha-mcp | Model Context Protocol server — 7 fully functional JSON-RPC tools for AI agents |
| vedaksha-locale | 7-language localization (English, Hindi, Sanskrit, Tamil, Telugu, Kannada, Bengali) |
| vedaksha-wasm | WebAssembly bindings — 972 KB binary, full chart computation in browser |
Plus Python bindings via PyO3 (pip install vedaksha).
Two Ephemeris Providers
| 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, Cloudflare Workers, edge, no_std |
The AnalyticalProvider uses VSOP87A (Bretagnon & Francou 1988) for planets and ELP/MPP02 (Chapront 2002) for the Moon. All coefficients are compile-time constants — no runtime data files needed.
Computation Pipeline
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
Or for zero-data environments:
VSOP87A/ELP coefficients (compiled) → Poisson series evaluation
→ heliocentric ecliptic → equatorial rotation → barycentric ICRS
→ same downstream pipeline as above
Delta T: IERS measured table (1620-2025) + Espenak-Meeus predictions to 2050.
Vedic Astrology
First-class Jyotish support — not a Western afterthought.
- Nakshatras: 27 lunar mansions with padas, lords, symbols, deities
- Dashas: Vimshottari (120-year), Yogini (36-year), Chara (sign-based), Ashtottari (108-year), Narayana (Jaimini)
- Vargas: All 16 divisional charts (Rashi through Shashtiamsha)
- Yogas: 50 classical combinations (Pancha Mahapurusha, Dhana, Raja, Daridra, etc.)
- Shadbala: Complete 6-component planetary strength
- Ayanamsha: 44 sidereal systems (Lahiri, Raman, KP, Fagan-Bradley, and 40 more)
- Lunar nodes: Mean, True (Meeus 5-term, ~0.09°), and Osculating (<0.03° vs JPL DE441) — KP sub-lord ready
- Panchanga: Complete 5-limb day — Tithi (with paksha, lord), Vara (with Rahu/Gulika Kalam), Nakshatra (with deity, yoni, nadi), Yoga (27 astronomical), Karana (60 half-tithis)
- Drishti: Graded aspect strengths — Full, ThreeQuarter (75%), Half (50%), Quarter (25%) per BPHS Ch. 26
AI-First Architecture
Every chart computation produces a property graph — not flat structs. AI agents query chart data with Cypher, SurrealQL, or JSON-LD. The MCP server exposes 7 fully functional tools:
compute_natal_chart— Full natal chart with houses, planets, aspects, dignitiescompute_dasha— Vimshottari dasha periods to any depthcompute_vargas— Divisional chart positionscompute_transit— Transit positions against natal with aspectssearch_transits— Find exact transit events in a date rangesearch_muhurta— Find auspicious times with quality scoringemit_graph— Emit chart as Cypher, SurrealQL, JSON-LD, or embedding text
Run the MCP server:
cargo install vedaksha-mcp # install
vedaksha-mcp # stdio (Claude Desktop, VS Code, Cursor)
vedaksha-mcp --http # HTTP on port 3100 (Smithery, remote)
vedaksha-mcp --http --port 8080 # custom port
docker run -p 3100:3100 ghcr.io/arthiqlabs/vedaksha-mcp # Docker
Accuracy
Validated against independent reference ephemerides across 24,000+ oracle data points:
| Metric | SpkReader (DE440s) | AnalyticalProvider |
|---|---|---|
| Planetary longitude | Sub-arcsecond (avg 1.7") | <15" (avg 3.8") |
| Moon longitude | Sub-arcsecond | <1" (0.36") |
| House cusps (10 systems) | Sub-0.001° | Sub-0.01° |
| Ayanamsha (44 systems) | avg 0.005° | Same (pure math) |
| Dasha periods | Sum to 120 years ± 0.01 days | Same |
| Nakshatra boundaries | Reference-accurate | Matches SpkReader at all tested boundaries |
Bindings
| Platform | Install | Chart Computation |
|---|---|---|
| Rust | cargo add vedaksha-astro vedaksha-ephem-core |
Full pipeline |
| Python | pip install vedaksha |
vedaksha.compute_natal_chart(...) |
| WASM | wasm-pack build crates/vedaksha-wasm |
972 KB, zero data files |
| MCP | stdio + HTTP transport | 7 tools, JSON-RPC 2.0 |
| Docker | docker run -p 3100:3100 ghcr.io/arthiqlabs/vedaksha-mcp |
HTTP on port 3100 |
Published Packages
- crates.io: 9 crates at v1.5.0
- PyPI:
vedakshav1.5.0 (source + macOS arm64 wheel)
License
Business Source License 1.1 (BSL).
- Non-commercial use: Free. Personal projects, research, education, internal tools.
- Commercial use: $500 one-time per organization. Purchase license.
- Converts to Apache 2.0 five years after each version's release date.
See LICENSE for full terms.
Links
- Website: vedaksha.net
- Documentation: vedaksha.net/docs
- AI Integration: vedaksha.net/ai
- crates.io: crates.io/crates/vedaksha-ephem-core
- PyPI: pypi.org/project/vedaksha
Copyright © 2026 ArthIQ Labs LLC. All rights reserved.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。