# AstroNode MCP server: astrology tools for AI assistants

> A language model asked for an ascendant is estimating. With the AstroNode MCP server it calls a calculator instead: 128 tools, one for each API endpoint, that compute charts, dashas, panchang and matches from an ephemeris and return the same answer every time.

Source: https://astronode.dev/mcp · Updated: 2026-12-03

## Connect

*Two ways to run the server*

|  | How | Key |
| --- | --- | --- |
| Hosted | `https://mcp.astronode.dev/mcp` (Streamable HTTP) | `Authorization: Bearer <key>` header |
| Local | `npx -y @astronode/mcp` (stdio) | `ASTRONODE_API_KEY` environment variable |

*Setup by client*

| Client | Setup |
| --- | --- |
| Claude Code | [One command](https://astronode.dev/integrations/mcp-claude), hosted or local |
| Claude Desktop | [Config file](https://astronode.dev/integrations/mcp-claude) (local), or a custom connector (hosted) |
| claude.ai | [Custom connector](https://astronode.dev/integrations/mcp-claude) with a request header |
| Cursor | [`mcp.json`](https://astronode.dev/integrations/mcp-cursor), key from the environment |
| VS Code | [`.vscode/mcp.json`](https://astronode.dev/integrations/mcp-vscode), key prompted and stored |
| ChatGPT | Not yet. ChatGPT's MCP connectors sign in with OAuth or no authentication; this server takes an API key. |

*From your own agent code*

| Framework | Setup |
| --- | --- |
| LangChain.js | [`MCPAdapter` from `@langchain/mcp-adapters`](https://astronode.dev/integrations/mcp-langchain); tool names are prefixed by default |
| LlamaIndex.TS | [`mcp()` from `@llamaindex/tools`](https://astronode.dev/integrations/mcp-llamaindex), with a small wrapper so errors read as errors |
| Vercel AI SDK | [`createMCPClient` from `@ai-sdk/mcp`](https://astronode.dev/integrations/mcp-vercel-ai-sdk) in a route handler, closed when the stream ends |
| OpenAI Agents SDK | [`MCPServerStreamableHttp`](https://astronode.dev/integrations/mcp-openai-agents), or the hosted MCP tool that OpenAI calls for you |
| Gemini API | [`mcpToTool` from `@google/genai`](https://astronode.dev/integrations/mcp-gemini) (experimental), with automatic function calling |

Any other client that speaks MCP over Streamable HTTP or stdio works the same way. A free key is enough to start: see [pricing](https://astronode.dev/pricing).

## What it costs

A tool call is one API call on your plan. The server passes your key to the API, which applies your plan's endpoint access, rate limit and monthly quota exactly as for a direct request. Listing the tools makes no API call, and failed calls do not count toward quota.

## The tools

128 tools in 27 groups. Each carries the endpoint's request schema, so arguments are checked before any call is made. To give a client fewer tools, add `?groups=` with the group ids below to the hosted URL, or set `ASTRONODE_MCP_GROUPS` for the local server.

*Tool groups*

| Group | Id | Tools |
| --- | --- | --- |
| Account | `auth` | `whoami` |
| AI astrologer chat | `chat` | `chat_respond` |
| AI tarot reading | `tarot` | `tarot_interpret` |
| Async reports | `reports` | `get_report`, `reports_compatibility`, `reports_varshphal_multi_year` |
| Ayanamsa and usage | `meta` | `ayanamsa`, `usage` |
| Birth and divisional charts | `charts` | `charts_birth`, `charts_varga` |
| Birth-time refinement (chat) | `birth-time-refinement` | `birth_time_interview` |
| Chat history | `conversations` | `delete_conversation`, `get_conversation`, `list_conversations` |
| Chat memory | `memory` | `clear_memory`, `forget_memory_note`, `get_memory` |
| Dashas | `dasha` | `dasha_char`, `dasha_lookup`, `dasha_vimshottari`, `dasha_yogini` |
| Doshas | `doshas` | `dosha_kaal_sarp`, `dosha_mangal`, `dosha_papa_samyam`, `dosha_pitra`, `dosha_sade_sati` |
| Horoscopes | `horoscope` | `horoscope_daily`, `horoscope_love`, `horoscope_nakshatra` |
| KP | `kp` | `kp_chart`, `kp_horary`, `kp_house_cusps`, `kp_house_significator`, `kp_planet_position`, `kp_planet_significator`, `kp_transit` |
| Kundli matching | `compatibility` | `compatibility`, `compatibility_batch`, `compatibility_dashakoot`, `compatibility_porutham_nakshatra`, `compatibility_porutham_thirumana` |
| Lal Kitab | `lalkitab` | `lal_kitab_debts`, `lal_kitab_horoscope`, `lal_kitab_houses`, `lal_kitab_planets`, `lal_kitab_remedies` |
| Muhurta | `muhurta` | `gowri_nalla_neram`, `muhurta_auspicious`, `muhurta_choghadiya`, `muhurta_hora`, `muhurta_inauspicious` |
| Nadi | `nadi` | `nadi_amsha`, `nadi_dhruva`, `nadi_lens`, `nadi_timing` |
| Numerology | `numerology` | `numerology_chaldean`, `numerology_chaldean_report`, `numerology_compatibility`, `numerology_pythagorean`, `numerology_pythagorean_cycle`, `numerology_pythagorean_report`, `numerology_report` |
| Panchang | `panchang` | `panchang` |
| Positions, houses and chart details | `engine` | `ashtakavarga`, `birth_details`, `chandrashtama_periods`, `houses`, `ishta_devata`, `karakamsa`, `planet_nature`, `planets`, `relationships_planets`, `sarvashtakavarga`, `sudarshana_chakra`, `transits_events`, `upagraha_positions`, `yogas` |
| Remedies | `remedies` | `remedies_gemstone`, `remedies_puja`, `remedies_rudraksha` |
| Strength (bala) | `strength` | `strength_bala`, `strength_bhav_bala`, `strength_chandra_bala`, `strength_tara_bala` |
| Tarot and biorhythm | `divination` | `biorhythm`, `biorhythm_moon`, `tarot_draw`, `tarot_yes_no` |
| Varshphal | `varshphal` | `varshphal_harsha_bala`, `varshphal_month_chart`, `varshphal_mudda_dasha`, `varshphal_muntha`, `varshphal_panchavargeeya_bala`, `varshphal_saham`, `varshphal_year_chart`, `varshphal_yoga` |
| Vastu | `vastu` | `vastu_analyze` |
| Vedic aspects | `aspects` | `aspects` |
| Western astrology | `western` | `western_chinese_forecast`, `western_chinese_zodiac`, `western_composite_aspects`, `western_composite_chart`, `western_lunar_metrics`, `western_natal_aspects`, `western_natal_chart`, `western_natal_houses`, `western_natal_planets`, `western_progression_aspects`, `western_progression_chart`, `western_progression_planets`, `western_reports_friendship`, `western_reports_karma_destiny`, `western_reports_moon_phase`, `western_reports_personality`, `western_reports_romantic`, `western_solar_return_aspects`, `western_solar_return_chart`, `western_solar_return_houses`, `western_solar_return_planets`, `western_sun_sign_daily`, `western_sun_sign_monthly`, `western_sun_sign_weekly`, `western_synastry_aspects`, `western_synastry_chart`, `western_transit_aspects`, `western_transit_chart`, `western_transit_planets`, `western_zodiac_compatibility` |

Calculation tools are marked read-only. The three tools that delete chat history are marked destructive, so clients that ask before running such tools will ask.

## Every tool

*Tool, what it computes, the endpoint behind it, and the minimum plan*

| Tool | Computes | Endpoint | Plan |
| --- | --- | --- | --- |
| `aspects` | Vedic Aspects (Drishti) | `POST /v1/aspects` | Free |
| `whoami` | Identify the caller's AstroNode API key | `GET /v1/auth/whoami` | Free |
| `birth_time_interview` | Conversational interview that extracts dated life events | `POST /v1/birth-time/interview` | - |
| `charts_birth` | Birth Chart (Kundli) | `POST /v1/charts/birth` | Free |
| `charts_varga` | Divisional Charts (Navamsa, D1-D60) | `POST /v1/charts/varga` | Hobby |
| `chat_respond` | AI Astrologer Chat | `POST /v1/chat/respond` | Free |
| `compatibility` | Kundli Matching (Ashtakoot Gun Milan) | `POST /v1/compatibility` | Hobby |
| `compatibility_batch` | Bulk Kundli Matching | `POST /v1/compatibility/batch` | Starter |
| `compatibility_dashakoot` | Dashakoot Matching | `POST /v1/compatibility/dashakoot` | Hobby |
| `compatibility_porutham_nakshatra` | Nakshatra Porutham | `POST /v1/compatibility/porutham/nakshatra` | Hobby |
| `compatibility_porutham_thirumana` | Thirumana Porutham (10 Porutham) | `POST /v1/compatibility/porutham/thirumana` | Hobby |
| `delete_conversation` | Delete one of the caller's conversations | `DELETE /v1/conversations/:id` | Free |
| `get_conversation` | Chat Conversation Messages | `GET /v1/conversations/:id` | Free |
| `list_conversations` | Chat Conversation History | `GET /v1/conversations` | Free |
| `dasha_char` | Chara Dasha (Jaimini) | `POST /v1/dasha/char` | Hobby |
| `dasha_lookup` | Current Dasha Lookup | `POST /v1/dasha/lookup` | Hobby |
| `dasha_vimshottari` | Vimshottari Dasha | `POST /v1/dasha/vimshottari` | Free |
| `dasha_yogini` | Yogini Dasha | `POST /v1/dasha/yogini` | Hobby |
| `biorhythm` | Biorhythm | `POST /v1/biorhythm` | Free |
| `biorhythm_moon` | Lunar Biorhythm | `POST /v1/biorhythm/moon` | Free |
| `tarot_draw` | Tarot Card Draw | `POST /v1/tarot/draw` | Free |
| `tarot_yes_no` | Yes/No Tarot | `POST /v1/tarot/yes-no` | Free |
| `dosha_kaal_sarp` | Kaal Sarp Dosha | `POST /v1/dosha/kaal-sarp` | Hobby |
| `dosha_mangal` | Mangal Dosha (Manglik) | `POST /v1/dosha/mangal` | Free |
| `dosha_papa_samyam` | Papa Samyam | `POST /v1/dosha/papa-samyam` | Hobby |
| `dosha_pitra` | Pitra Dosha | `POST /v1/dosha/pitra` | Hobby |
| `dosha_sade_sati` | Sade Sati | `POST /v1/dosha/sade-sati` | Hobby |
| `ashtakavarga` | Ashtakavarga | `POST /v1/ashtakavarga` | Hobby |
| `birth_details` | Birth Details (Rashi, Nakshatra, Lagna) | `POST /v1/birth-details` | Free |
| `chandrashtama_periods` | Chandrashtama Periods | `POST /v1/chandrashtama-periods` | Hobby |
| `houses` | House Cusps (Bhava) | `POST /v1/houses` | Free |
| `ishta_devata` | Ishta Devata | `POST /v1/ishta-devata` | Hobby |
| `karakamsa` | Karakamsa (Jaimini) | `POST /v1/karakamsa` | Hobby |
| `planet_nature` | Functional Benefics and Malefics | `POST /v1/planet-nature` | Free |
| `planets` | Planet Positions (Sidereal) | `POST /v1/planets` | Free |
| `relationships_planets` | Planetary Friendship (Panchadha Maitri) | `POST /v1/relationships/planets` | Free |
| `sarvashtakavarga` | Sarvashtakavarga | `POST /v1/sarvashtakavarga` | Hobby |
| `sudarshana_chakra` | Sudarshana Chakra | `POST /v1/sudarshana-chakra` | Hobby |
| `transits_events` | Transit Events (Gochar) | `POST /v1/transits/events` | Hobby |
| `upagraha_positions` | Upagraha Positions (Gulika, Mandi) | `POST /v1/upagraha-positions` | Hobby |
| `yogas` | Yoga Detection | `POST /v1/yogas` | Hobby |
| `horoscope_daily` | Daily Sun Sign Horoscope | `GET /v1/horoscope/daily/:sign` | Free |
| `horoscope_love` | Daily Sun Sign Love Horoscope | `GET /v1/horoscope/love/:sign` | Hobby |
| `horoscope_nakshatra` | Nakshatra Daily Horoscope | `POST /v1/horoscope/nakshatra` | Hobby |
| `kp_chart` | KP Chart (Krishnamurti Paddhati) | `POST /v1/kp/chart` | Hobby |
| `kp_horary` | KP Horary (Prashna 1-249) | `POST /v1/kp/horary` | Pro |
| `kp_house_cusps` | KP House Cusps and Sub-lords | `POST /v1/kp/house-cusps` | Hobby |
| `kp_house_significator` | KP House Significators | `POST /v1/kp/house-significator` | Hobby |
| `kp_planet_position` | KP Planet Positions | `POST /v1/kp/planet-position` | Hobby |
| `kp_planet_significator` | KP Planet Significators | `POST /v1/kp/planet-significator` | Hobby |
| `kp_transit` | KP Transits | `POST /v1/kp/transit` | Hobby |
| `lal_kitab_debts` | Lal Kitab Rins (Ancestral Debts) | `POST /v1/lal-kitab/debts` | Pro |
| `lal_kitab_horoscope` | Lal Kitab Kundli | `POST /v1/lal-kitab/horoscope` | Hobby |
| `lal_kitab_houses` | Lal Kitab Houses | `POST /v1/lal-kitab/houses` | Hobby |
| `lal_kitab_planets` | Lal Kitab Planet States | `POST /v1/lal-kitab/planets` | Hobby |
| `lal_kitab_remedies` | Lal Kitab Remedies | `POST /v1/lal-kitab/remedies` | Pro |
| `clear_memory` | Clear everything the chat remembers about the caller | `DELETE /v1/memory` | - |
| `forget_memory_note` | Forget one remembered note, keyed by its `at` timestamp | `DELETE /v1/memory/note` | - |
| `get_memory` | View what the chat remembers about the caller across conversations | `GET /v1/memory` | - |
| `ayanamsa` | Ayanamsa Systems | `GET /v1/ayanamsa` | Free |
| `usage` | Current API key's usage stats (today + month-to-date) | `GET /v1/usage` | Free |
| `gowri_nalla_neram` | Gowri Nalla Neram | `POST /v1/gowri-nalla-neram` | Hobby |
| `muhurta_auspicious` | Auspicious Muhurta (Abhijit, Amrit Kaal) | `POST /v1/muhurta/auspicious` | Hobby |
| `muhurta_choghadiya` | Choghadiya | `POST /v1/muhurta/choghadiya` | Hobby |
| `muhurta_hora` | Hora (Planetary Hours) | `POST /v1/muhurta/hora` | Hobby |
| `muhurta_inauspicious` | Rahu Kaal, Yamaganda and Gulika | `POST /v1/muhurta/inauspicious` | Hobby |
| `nadi_amsha` | Nadiamsa (D150) | `POST /v1/nadi/amsha` | Starter |
| `nadi_dhruva` | Dhruva Nadi | `POST /v1/nadi/dhruva` | Starter |
| `nadi_lens` | Bhrigu Nadi Lens | `POST /v1/nadi/lens` | Starter |
| `nadi_timing` | Chandra Kala Nadi Timing | `POST /v1/nadi/timing` | Starter |
| `numerology_chaldean` | Chaldean Numerology | `POST /v1/numerology/chaldean` | Hobby |
| `numerology_chaldean_report` | Chaldean Numerology Report | `POST /v1/numerology/chaldean/report` | Starter |
| `numerology_compatibility` | Numerology Compatibility (Ank Milan) | `POST /v1/numerology/compatibility` | Pro |
| `numerology_pythagorean` | Pythagorean Numerology | `POST /v1/numerology/pythagorean` | Free |
| `numerology_pythagorean_cycle` | Personal Year and Month Cycles | `POST /v1/numerology/pythagorean/cycle` | Hobby |
| `numerology_pythagorean_report` | Pythagorean Numerology Report | `POST /v1/numerology/pythagorean/report` | Starter |
| `numerology_report` | Full Numerology Report | `POST /v1/numerology/report` | Starter |
| `panchang` | Panchang | `POST /v1/panchang` | Free |
| `remedies_gemstone` | Gemstone Recommendation | `POST /v1/remedies/gemstone` | Free |
| `remedies_puja` | Puja Recommendation | `POST /v1/remedies/puja` | Free |
| `remedies_rudraksha` | Rudraksha Recommendation | `POST /v1/remedies/rudraksha` | Free |
| `get_report` | Report Status and Download | `GET /v1/reports/:id` | Starter |
| `reports_compatibility` | Compatibility Report (Async) | `POST /v1/reports/compatibility` | Starter |
| `reports_varshphal_multi_year` | Multi-year Varshphal Report (Async) | `POST /v1/reports/varshphal-multi-year` | Starter |
| `strength_bala` | Shadbala (Planetary Strength) | `POST /v1/strength/bala` | Hobby |
| `strength_bhav_bala` | Bhava Bala (House Strength) | `POST /v1/strength/bhav-bala` | Hobby |
| `strength_chandra_bala` | Chandra Bala | `POST /v1/strength/chandra-bala` | Hobby |
| `strength_tara_bala` | Tara Bala | `POST /v1/strength/tara-bala` | Hobby |
| `tarot_interpret` | AI Tarot Interpretation | `POST /v1/tarot/interpret` | - |
| `varshphal_harsha_bala` | Harsha Bala | `POST /v1/varshphal/harsha-bala` | Starter |
| `varshphal_month_chart` | Varshphal Monthly Chart | `POST /v1/varshphal/month-chart` | Starter |
| `varshphal_mudda_dasha` | Mudda Dasha | `POST /v1/varshphal/mudda-dasha` | Hobby |
| `varshphal_muntha` | Muntha | `POST /v1/varshphal/muntha` | Hobby |
| `varshphal_panchavargeeya_bala` | Panchavargeeya Bala | `POST /v1/varshphal/panchavargeeya-bala` | Starter |
| `varshphal_saham` | Tajika Sahams | `POST /v1/varshphal/saham` | Starter |
| `varshphal_year_chart` | Varshphal Annual Chart (Tajika) | `POST /v1/varshphal/year-chart` | Hobby |
| `varshphal_yoga` | Tajika Yogas | `POST /v1/varshphal/yoga` | Hobby |
| `vastu_analyze` | Vastu Analysis | `POST /v1/vastu/analyze` | Free |
| `western_chinese_forecast` | Chinese Zodiac Yearly Forecast | `GET /v1/western/chinese/forecast/:sign/:year` | Pro |
| `western_chinese_zodiac` | Chinese Zodiac | `GET /v1/western/chinese/zodiac/:year` | Free |
| `western_composite_aspects` | Composite Chart Aspects | `POST /v1/western/composite/aspects` | Pro |
| `western_composite_chart` | Composite Chart | `POST /v1/western/composite/chart` | Pro |
| `western_lunar_metrics` | Moon Phase and Void-of-Course | `POST /v1/western/lunar-metrics` | Hobby |
| `western_natal_aspects` | Western Natal Aspects | `POST /v1/western/natal/aspects` | Hobby |
| `western_natal_chart` | Western Natal Chart | `POST /v1/western/natal/chart` | Hobby |
| `western_natal_houses` | Western Natal Houses | `POST /v1/western/natal/houses` | Hobby |
| `western_natal_planets` | Western Natal Planets | `POST /v1/western/natal/planets` | Hobby |
| `western_progression_aspects` | Progressed-to-Natal Aspects | `POST /v1/western/progression/aspects` | Starter |
| `western_progression_chart` | Secondary Progressions Chart | `POST /v1/western/progression/chart` | Starter |
| `western_progression_planets` | Progressed Planets | `POST /v1/western/progression/planets` | Starter |
| `western_reports_friendship` | Friendship Compatibility Report | `POST /v1/western/reports/friendship` | Hobby |
| `western_reports_karma_destiny` | Karma and Destiny Report | `POST /v1/western/reports/karma-destiny` | Hobby |
| `western_reports_moon_phase` | Natal Moon Phase Report | `POST /v1/western/reports/moon-phase` | Hobby |
| `western_reports_personality` | Western Personality Report | `POST /v1/western/reports/personality` | Hobby |
| `western_reports_romantic` | Romantic Compatibility Report | `POST /v1/western/reports/romantic` | Hobby |
| `western_solar_return_aspects` | Solar Return Aspects | `POST /v1/western/solar-return/aspects` | Pro |
| `western_solar_return_chart` | Solar Return Chart | `POST /v1/western/solar-return/chart` | Pro |
| `western_solar_return_houses` | Solar Return Houses | `POST /v1/western/solar-return/houses` | Pro |
| `western_solar_return_planets` | Solar Return Planets | `POST /v1/western/solar-return/planets` | Pro |
| `western_sun_sign_daily` | Sun Sign Daily Forecast | `GET /v1/western/sun-sign/:sign/daily` | Free |
| `western_sun_sign_monthly` | Sun Sign Monthly Forecast | `GET /v1/western/sun-sign/:sign/monthly` | Hobby |
| `western_sun_sign_weekly` | Sun Sign Weekly Forecast | `GET /v1/western/sun-sign/:sign/weekly` | Hobby |
| `western_synastry_aspects` | Synastry Aspects | `POST /v1/western/synastry/aspects` | Pro |
| `western_synastry_chart` | Synastry Chart | `POST /v1/western/synastry/chart` | Pro |
| `western_transit_aspects` | Transit-to-Natal Aspects | `POST /v1/western/transit/aspects` | Hobby |
| `western_transit_chart` | Western Transit Chart | `POST /v1/western/transit/chart` | Hobby |
| `western_transit_planets` | Western Transit Planets | `POST /v1/western/transit/planets` | Hobby |
| `western_zodiac_compatibility` | Zodiac Sign Compatibility | `POST /v1/western/zodiac-compatibility` | Free |

## Not exposed

- `GET /v1/health` - infrastructure probe.
- `GET /v1/openapi.json` - the spec itself.
- `POST /v1/chat/respond/stream` - SSE stream; a tool returns one result, so POST /v1/chat/respond covers it.
- `GET /v1/guest/quota` - consumer guest flow; does not apply to API keys.
- `POST /v1/conversations/{id}/claim` - consumer guest flow; does not apply to API keys.
- `POST /v1/reports/deluxe` - spends a purchased report credit on top of the API call, which conflicts with 'a tool call bills as one API call'.

## Security

- Keep the key in the client's configuration or environment, never in a prompt.
- The hosted server reads the key from the `Authorization` header only - never from the URL - and keeps nothing between requests.
- Calculation tools send birth data to the API, which does not store it. The chat tools store conversations and use a third-party language model. See [security](https://astronode.dev/security).

## Questions

**Is there an MCP server for astrology calculations?**

Yes. The AstroNode MCP server exposes 128 tools - birth charts, divisional charts, dashas, doshas, yogas, panchang, muhurta, KP, Lal Kitab, Western charts, numerology, tarot and kundli matching - to Claude, Cursor, VS Code and other MCP clients.

**How much does the AstroNode MCP server cost?**

Each tool call is one API call on your AstroNode plan, including the free plan. Listing tools is free and failed calls do not count.

**Does it work with ChatGPT?**

Not yet. ChatGPT's MCP connectors authenticate with OAuth or not at all, and this server takes an API key. It works with Claude, Cursor, VS Code and other clients that can send a header or set an environment variable.

**Why not let the model work out the chart itself?**

A chart depends on planetary positions at a precise moment, which come from an ephemeris, and the ascendant moves about one degree every four minutes. A model without a tool estimates both. The tools compute them and return the same result for the same input.

## Related pages

- [Connect Claude](https://astronode.dev/integrations/mcp-claude)
- [Connect Cursor](https://astronode.dev/integrations/mcp-cursor)
- [Connect VS Code](https://astronode.dev/integrations/mcp-vscode)
- [LangChain.js agent](https://astronode.dev/integrations/mcp-langchain)
- [Vercel AI SDK](https://astronode.dev/integrations/mcp-vercel-ai-sdk)
- [OpenAI Agents SDK](https://astronode.dev/integrations/mcp-openai-agents)
- [Claude tool use from your own application](https://astronode.dev/integrations/claude-tool-use)
- [Argument formats, and the mistakes models make](https://astronode.dev/reference/agent-field-formats)
- [Grounding an AI astrologer in chart data](https://astronode.dev/guides/grounding-an-ai-astrologer)
- [Why a model cannot calculate a chart](https://astronode.dev/guides/why-llms-cannot-calculate-birth-charts)
