Vedic astrology, inside your AI assistant
The DivyAstroAPI MCP server adds 42 Vedic astrology tools to Claude Desktop, Cursor, and any MCP-aware client. Ask the AI in plain language — it calls the right tool and returns accurate, ephemeris-backed results.
Runs on your laptop. No AI keys to buy on our side, no extra credit charge — every call is the same as a normal API call with your dv_live_… key.
What it looks like
Once installed, your AI assistant just answers astrology questions naturally. No curl, no code, no API documentation to read.
chart_ascendant]How it works
The MCP server is a small Go binary you install on your laptop. The AI client (Claude Desktop, Cursor, etc.) launches it as a subprocess, and it forwards tool calls to api.divyastroapi.com using your existing API key.
Install the binary
go install. Pure Go — no Node.js, no Python, no Docker required.Add your API key
dv_live_… key into your AI client's MCP config (one JSON file, 5 lines).Ask anything
42 tools shipping in v0.2
Curated from our 245-endpoint catalog — the tools customers ask AI assistants for most often. Grouped by domain so you can spot-check coverage at a glance.
Panchang (6)
panchang_today/v1/panchang/summaryDaily Hindu panchang — tithi, vara, nakshatra, yoga, karana, sunrise/sunset, Rahu Kaal
panchang_tithi/v1/panchang/tithiLunar day (Krishna/Shukla paksha + tithi name + end timestamp)
panchang_choghadiya/v1/panchang/choghadiya8 day + 8 night Choghadiya muhurta windows (Amrit / Shubh / Labh / Rog / Kaal / Udveg)
panchang_hora/v1/panchang/horaPlanetary hours (hora) schedule for the day
panchang_rahu_kaal/v1/panchang/rahu-kaalToday's inauspicious Rahu Kaal window with start/end timestamps
panchang_brahma_muhurat/v1/panchang/brahma-muhuratPre-sunrise Brahma Muhurat window — most auspicious for sadhana
Birth Chart (10)
chart_ascendant/v1/chart/ascendantBirth lagna (rising sign) with degree, nakshatra, pada
chart_planets/v1/chart/planetsAll 9 grahas — sign, degree, house, nakshatra, retrograde flag
chart_houses/v1/chart/houses12 house cusps with sign, lord, and degrees
chart_aspects/v1/chart/aspectsAll Vedic graha drishti — full + special aspects
chart_dignity/v1/chart/dignityDignity status: exalted / debilitated / mool / own / friend / etc.
chart_navamsa/v1/chart/divisional/D9D9 Navamsa — marriage / dharma divisional
chart_divisional/v1/chart/divisional/{varga}Any of the 16 divisional charts (D1 to D60) by name or number
chart_nakshatra/v1/chart/nakshatraBirth (Janma) nakshatra and pada with ruling planet
chart_avakhada/v1/chart/avakhadaAvakhada Chakra — varna, vashya, yoni, gana, nadi, paya, tatva
chart_shadbala/v1/chart/shadbalaSix-fold strength of all 9 planets (sthana / dig / kala / chesta / naisargika / drik bala)
chart_ashtakavarga/v1/chart/ashtakvargaSarvashtakavarga benefic-point grid for transit timing
Dasha (3)
dasha_current/v1/dasha/vimshottari/current5-level Vimshottari dasha stack (MD/AD/PD/SD/Prana) at any moment
dasha_vimshottari_full/v1/dasha/vimshottariFull 120-year Vimshottari Mahadasha sequence anchored at birth
dasha_yogini_current/v1/dasha/yogini/currentCurrently-running Yogini Mahadasha (8-period secondary system)
Match Making & Compatibility (5)
match_making_score/v1/milan/ashtakoota/total36-point Ashtakoota / Guna Milan total compatibility
ashtakoota_breakdown/v1/milan/ashtakootaAll 8 kootas individually with scores, max, reasoning, dosha flags
mangal_dosha/v1/milan/mangal-doshaManglik check — sub-rule, cancellation, severity, marriage implications
nadi_dosha/v1/milan/nadi-doshaNadi koota check + cancellation rules + remedy notes
vivah_phal/v1/milan/vivah-phalMarriage outcome reading — longevity, bhakoot/gana balance, qualitative outlook
Muhurta (3)
muhurta_vivah/v1/muhurta/vivahWedding muhurta finder — ranks days by tithi/nakshatra/vara/Guru-Shukra strength
muhurta_naamkaran/v1/muhurta/naamkaranBaby naming ceremony muhurta windows
muhurta_best_time/v1/muhurta/best-timeGeneral-purpose best-time search across a date range
Annual / Numerology (2)
varshaphal_chart/v1/varshaphal/chartAnnual solar-return chart for a given year — Varsha Lagna + muntha + year ruler
numerology_full/v1/numerology/full5-number Vedic numerology — Driver, Conductor, Soul, Personality, Destiny (master numbers preserved)
Transits (2)
transits_now/v1/transit/positionsLive planetary positions — sign, degree, nakshatra, retrograde
sade_sati/v1/transit/sade-satiSaturn 7.5-year transit status + past / current / future windows
Sky Events (3)
eclipses_solar/v1/eclipses/solarSolar eclipses in a date range — peak time, magnitude, type, visibility
eclipses_lunar/v1/eclipses/lunarLunar eclipses in a date range — peak time, magnitude, type, visibility
festivals_month/v1/festivals/monthHindu festivals + observances in a given calendar month (region filter optional)
Planet Moments (2)
planet_retrograde_window/v1/planet-moments/retrograde-windowPlanet retrograde windows — start station, end station, sign of each
planet_ingress/v1/planet-moments/ingressPlanet sign-change (sankranti) moments in a date range
Horary & Western (2)
prashna_answer/v1/prashna/answerCast a Prashna (horary) chart and compute the classical yes/no answer
western_natal_chart/v1/western/natal/chartTropical Western natal chart — planets, ascendant, MC, houses, aspect grid
Horoscope (3)
horoscope_daily/v1/horoscope/dailyToday's rashifal by Moon sign with daily lucky factors
horoscope_weekly/v1/horoscope/weekly7-day rashifal outlook by Moon sign
horoscope_monthly/v1/horoscope/monthlyFull-month rashifal — sankranti shifts, weekly themes, monthly focus
Install in 2 minutes
Pick whichever fits your workflow. All four options install the same binary; choose by convenience.
macOS / Linux — Homebrew
Recommended for most users
brew tap divyguru/divyastroapi \
https://github.com/divyguru/divyastroapi
brew install divyastro-mcpAny platform — GitHub binary
macOS, Linux, Windows (amd64 / arm64)
Download from GitHub Releases, chmod +x, move to your PATH.
chmod +x divyastro-mcp-darwin-arm64
sudo mv divyastro-mcp-darwin-arm64 \
/usr/local/bin/divyastro-mcpGo developers
If you already have Go installed
go install github.com/divyguru/\
divyastroapi/cmd/divyastro-mcp@latestBuild from source
For custom builds and audits
git clone https://github.com/divyguru/\
divyastroapi.git
cd divyastroapi
make build-mcpConfigure your AI client
Paste this snippet into your AI client's MCP config file, replace the API key, and restart the app. The 12 tools appear in the tool list immediately.
Claude Desktop
macOS: ~/Library/Application Support/Claude/claude_desktop_config.jsonWindows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"divyastro": {
"command": "/usr/local/bin/divyastro-mcp",
"env": {
"DIVYASTRO_API_KEY": "dv_live_..."
}
}
}
}Cursor
File: ~/.cursor/mcp.json
{
"mcpServers": {
"divyastro": {
"command": "/usr/local/bin/divyastro-mcp",
"env": {
"DIVYASTRO_API_KEY": "dv_live_..."
}
}
}
}Continue.dev, Windsurf, and any other MCP-aware client use the same shape — just point their config at the binary and add your key. See the full MCP docs on GitHub for client-specific notes.
Common questions
Do I need an OpenAI / Anthropic API key?
No. The MCP server is a thin proxy from your AI client to our HTTP API — your AI client (Claude Desktop, Cursor, etc.) already handles the LLM side. We don't run any AI inference.
Does this cost extra credits?
No. Every tool call is one HTTPS request to api.divyastroapi.com using your existing dv_live_… key — same credit cost as a curl call. There is no MCP surcharge.
Where does it run?
On your laptop. The AI client launches the binary as a subprocess (stdio transport) and talks to it locally. The binary then makes outbound HTTPS calls to our API. We never see your laptop, your AI prompts, or anything but the standard API request.
Can I use my free-trial key?
Yes. The free plan's 1,000 calls / month + 100 calls / day apply across all sources — direct API, MCP, anything. Plenty to evaluate every tool.
What if my AI assistant calls the wrong tool?
The MCP SDK validates each call against the tool's input schema, so type mismatches fail before reaching our API. If the AI picks a tool whose data shape doesn't match the user's intent, it sees the upstream response and corrects on the next turn.
Is the source code open?
Yes. The MCP server lives at cmd/divyastro-mcp/ in our public repo. Apache-2.0 license. The 12 tool registrations are a single Go file you can audit before installing.
Get an API key first
Sign up free for 1,000 credits / month — plenty to try every MCP tool. Drop the key into your AI client config and you're done.