AstroNest: Vedic astrology for apps and AI agents

MCP serverAI & models

Lets your agent create Vedic astrology charts, birth readings, and compatibility reports.

Then ask your AI: use AstroNest: Vedic astrology for apps and AI agents to get chart

Details

Available today. Use it as a step in a pipeline you build, or from your connected AI.

Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.

About this server

Vedic astrology for AI agents: kundli, daśā, guna milan, life, venture and gem readings, ephemeris.

Install AstroNest: Vedic astrology for apps and AI agents

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user astronest-vedic-astrology-for-ap 'https://www.astronest.ai/api/developer/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://www.astronest.ai/api/developer/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=astronest-vedic-astrology-for-ap&config=eyJ1cmwiOiJodHRwczovL3d3dy5hc3Ryb25lc3QuYWkvYXBpL2RldmVsb3Blci9tY3AifQ==

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://www.astronest.ai/api/developer/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add astronest-vedic-astrology-for-ap --url 'https://www.astronest.ai/api/developer/mcp'

    Run it once, then sign in with codex mcp login astronest-vedic-astrology-for-ap if the server asks for an account.

From the project's README

As published by onedotlinks/astronest-quickstart in README.md.

AstroNest is a Vedic astrology (Jyotiṣa) engine you can call as a REST API or connect to an AI agent over MCP. It computes on its own JPL DE440 ephemeris, and the readings are deterministic: the same birth data always gives the same answer, with the reasons and the classical books each reading rests on.

This repository has two things: how to connect AstroNest to an AI agent, and a Next.js quickstart on the REST API.

Connect it to an AI agent (MCP)

Endpoint (Streamable HTTP): https://www.astronest.ai/api/developer/mcp

Claude Code

claude mcp add --transport http astronest https://www.astronest.ai/api/developer/mcp \
  --header "Authorization: Bearer YOUR_ASTRONEST_KEY"

mcp.json (Cursor, VS Code and other clients that read this format)

{
  "mcpServers": {
    "astronest": {
      "url": "https://www.astronest.ai/api/developer/mcp",
      "headers": { "Authorization": "Bearer YOUR_ASTRONEST_KEY" }
    }
  }
}

Also on Smithery and the MCP Registry as io.github.onedotlinks/astronest.

What an agent can ask it

Each tool answers one question. The interpretive ones read the chart the way a practitioner does and return the reasons, not just positions:

ToolThe question it answers
get_life_readingWhat does my life look like as a whole — which areas (marriage, children, career, money, property…) come into focus when, past and future?
get_domain_timelineWhen is marriage, career or another area in focus, or what do the next few years hold for it?
get_relationship_readingHow do two people get on as business partners, siblings, parent and child, or friends?
get_venture_timingWhen should I launch, sign or borrow — and which line of business does my chart support?
assess_gemstoneShould I wear this stone (blue sapphire, pukhraj, emerald…), and why or why not?
get_compatibility, get_guna_milanKundli matching: the 36-point Aṣṭakūṭa score, Manglik from the lagna, Moon and Venus, and the full pair reading
interpret_domain, get_guidanceWhat does my chart say about one area of life, and what do the running periods ask of me now?
find_muhurtaWhich days and windows in a date range suit an event?
get_chart, get_dasha, ephemeris toolsThe chart (with the sixteen divisional charts), Vimśottarī daśā to pratyantar, and raw JPL DE440 positions

The readings describe what the chart shows and why. They are symbolic interpretation, not predictions, and not medical, legal, financial or psychological advice; every response carries that disclaimer.

The Next.js quickstart

A small Next.js app on the AstroNest Developer API. Enter a birth date, time and place and get:

  • the chart: lagna, the nine grahas with sign, house, nakṣatra and dignity, and the running daśā (1 credit)
  • guidance now: plain-language cards for the running mahādaśā / antardaśā / pratyantardaśā (3 credits)
  • a domain reading: career, marriage, finance and twelve more, with supporting factors, cautions, timing windows and how many methods agree (5 credits)
  • optionally, "explain in plain words" with your own LLM (0 AstroNest credits)

None of the three AstroNest calls uses a language model. They are deterministic, so they return in seconds and the same input always gives the same answer.

Run it in five minutes

  1. Get a key. Sign in at https://www.astronest.ai/developer and create a key. Every account gets 100 free live credits once, valid for 60 days from your first live key (they do not renew): enough for about 20 domain readings or 100 charts. Sandbox keys are free with no time limit and return fixed sample responses. When the free credits are used, or after 60 days, live calls return 402 credits_exhausted until you buy a credit pack; sandbox keys keep working.
  2. Install and configure.
    npm install
    cp .env.example .env.local
    # put your key in ASTRONEST_API_KEY
    
  3. Run.
    npm run dev
    
    Open http://localhost:3000.

How it fits together

browser ──► /api/astronest/{chart|guidance|interpret} ──► AstroNest API   (your key, server-side)
        └─► /api/explain ──────────────────────────────► your LLM         (optional)
  • lib/astronest.ts is a typed client. It is the file to copy into your own app.
  • app/api/astronest/[op]/route.ts forwards only those three operations, so the route can't be used to call every endpoint your key allows.
  • app/api/explain/route.ts sends the reading AstroNest computed to any OpenAI-compatible chat-completions endpoint (OpenAI, Vercel AI Gateway, OpenRouter, a local Ollama) and tells the model to use only the facts it was given. Your model writes the words; AstroNest does the astrology.

Before you deploy

  • Your key is a secret. It lives in server environment variables only. Never prefix it with NEXT_PUBLIC_, and never call the API from the browser. The API sends no CORS headers, so browser calls fail anyway.
  • The demo routes spend your credits for anyone who calls them. By default they answer only on localhost. Put your own sign-in (and ideally a rate limit) in front of them before you set ALLOW_PUBLIC_DEMO=true. The localhost check reads the request host, so don't rely on it behind a proxy that rewrites Host.
  • Birth data is personal data. This app stores nothing, and the API stores nothing either. If you add storage, you take on the data-protection duties that come with it.
  • Show the disclaimer that comes with every response: symbolic interpretation, not medical, legal, financial or psychological advice.

Going further

EndpointCreditsNotes
POST /v1/chart1add location for astrocartography and a relocated frame
POST /v1/dasha1full Vimśottarī timeline
POST /v1/guidance3referenceDate for any other moment
POST /v1/interpret515 domains
POST /v1/timing/resolve7narrated by a language model; allow 90 s
POST /v1/forecast8narrated by a language model; allow 90 s
POST /v1/muhurta10auspicious windows in a date range
POST /v1/compatibility12two charts read together
POST /v1/guna-milan2the 36-point Aṣṭakūṭa match + Manglik (lagna, Moon, Venus) for a pair
POST /v1/life-reading10the whole-life reading: chapters and 11 life areas, past and future (areas narrows it)
POST /v1/domain-timeline3one life area across the life: every period that governs it, optionally within a date window
POST /v1/relationship8business partners, siblings, parent & child, friends: bond houses, cross-chart contacts, the bond meter
POST /v1/venture-timing10when to commit, build, guard or hold; the businesses you describe ranked on the chart
POST /v1/gem-assessment5should this chart wear this stone: the verdict, every ground for and against, how long the reason lasts
POST /v1/ephemeris/positions0.1raw positions at a moment (JPL DE440); no birth data needed
POST /v1/ephemeris/angles0.1ascendant, MC and house cusps for a moment and place
POST /v1/ephemeris/ayanamsa0.1Lahiri, Raman, Krishnamurti, Fagan–Bradley
POST /v1/ephemeris/sunrise0.1sunrise, sunset and next sunrise for a local date
POST /v1/ephemeris/series1per started 100 points, up to 1,000

The four single-moment Ephemeris calls cost 0.1 credit each: 1 credit per started block of 10, counted across them per account (the call that opens a block reports units_charged: 1, the next nine report 0). Only successful (2xx) calls are charged. When credits run out, the API returns 402 credits_exhausted; buy a pack in the developer portal. Paid credits do not expire.

Tools it offers (14)

What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • get_chart
  • get_dasha
  • get_guidance
  • interpret_domain
  • get_compatibility
  • get_guna_milan
  • find_muhurta
  • get_forecast
  • resolve_timing
  • get_ephemeris_positions
  • get_ephemeris_angles
  • get_ephemeris_ayanamsa
  • get_ephemeris_sunrise
  • get_ephemeris_series

Signals

Last commit
Oct 2026
Advanced
Delivery
astronest MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-onedotlinks-astronest
Source
github.com/onedotlinks/astronest-quickstart
Hosted endpoint
https://www.astronest.ai/api/developer/mcp