AstroNest: Vedic astrology for apps and AI agents
MCP serverAI & modelsLets your agent create Vedic astrology charts, birth readings, and compatibility reports.
Needs your own account with this service; the key stays on Ahel's server side.
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/mcpAdd 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/mcpIn 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.
- Docs: https://www.astronest.ai/developers
- OpenAPI 3.1 spec: https://www.astronest.ai/openapi/astronest-v1.json
- Postman: AstroNest Developer API workspace
- Keys: https://www.astronest.ai/developer. Sandbox keys are free and return fixed samples.
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:
| Tool | The question it answers |
|---|---|
get_life_reading | What does my life look like as a whole — which areas (marriage, children, career, money, property…) come into focus when, past and future? |
get_domain_timeline | When is marriage, career or another area in focus, or what do the next few years hold for it? |
get_relationship_reading | How do two people get on as business partners, siblings, parent and child, or friends? |
get_venture_timing | When should I launch, sign or borrow — and which line of business does my chart support? |
assess_gemstone | Should I wear this stone (blue sapphire, pukhraj, emerald…), and why or why not? |
get_compatibility, get_guna_milan | Kundli matching: the 36-point Aṣṭakūṭa score, Manglik from the lagna, Moon and Venus, and the full pair reading |
interpret_domain, get_guidance | What does my chart say about one area of life, and what do the running periods ask of me now? |
find_muhurta | Which days and windows in a date range suit an event? |
get_chart, get_dasha, ephemeris tools | The 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
- 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_exhausteduntil you buy a credit pack; sandbox keys keep working. - Install and configure.
npm install cp .env.example .env.local # put your key in ASTRONEST_API_KEY - Run.
Open http://localhost:3000.npm run dev
How it fits together
browser ──► /api/astronest/{chart|guidance|interpret} ──► AstroNest API (your key, server-side)
└─► /api/explain ──────────────────────────────► your LLM (optional)
lib/astronest.tsis a typed client. It is the file to copy into your own app.app/api/astronest/[op]/route.tsforwards only those three operations, so the route can't be used to call every endpoint your key allows.app/api/explain/route.tssends 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 setALLOW_PUBLIC_DEMO=true. The localhost check reads the request host, so don't rely on it behind a proxy that rewritesHost. - 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
| Endpoint | Credits | Notes |
|---|---|---|
POST /v1/chart | 1 | add location for astrocartography and a relocated frame |
POST /v1/dasha | 1 | full Vimśottarī timeline |
POST /v1/guidance | 3 | referenceDate for any other moment |
POST /v1/interpret | 5 | 15 domains |
POST /v1/timing/resolve | 7 | narrated by a language model; allow 90 s |
POST /v1/forecast | 8 | narrated by a language model; allow 90 s |
POST /v1/muhurta | 10 | auspicious windows in a date range |
POST /v1/compatibility | 12 | two charts read together |
POST /v1/guna-milan | 2 | the 36-point Aṣṭakūṭa match + Manglik (lagna, Moon, Venus) for a pair |
POST /v1/life-reading | 10 | the whole-life reading: chapters and 11 life areas, past and future (areas narrows it) |
POST /v1/domain-timeline | 3 | one life area across the life: every period that governs it, optionally within a date window |
POST /v1/relationship | 8 | business partners, siblings, parent & child, friends: bond houses, cross-chart contacts, the bond meter |
POST /v1/venture-timing | 10 | when to commit, build, guard or hold; the businesses you describe ranked on the chart |
POST /v1/gem-assessment | 5 | should this chart wear this stone: the verdict, every ground for and against, how long the reason lasts |
POST /v1/ephemeris/positions | 0.1 | raw positions at a moment (JPL DE440); no birth data needed |
POST /v1/ephemeris/angles | 0.1 | ascendant, MC and house cusps for a moment and place |
POST /v1/ephemeris/ayanamsa | 0.1 | Lahiri, Raman, Krishnamurti, Fagan–Bradley |
POST /v1/ephemeris/sunrise | 0.1 | sunrise, sunset and next sunrise for a local date |
POST /v1/ephemeris/series | 1 | per 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.
- OpenAPI 3.1 spec: https://www.astronest.ai/openapi/astronest-v1.json (import it into Postman, or generate a client in any language)
- Reference: the developer portal at https://www.astronest.ai/developer
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_chartget_dashaget_guidanceinterpret_domainget_compatibilityget_guna_milanfind_muhurtaget_forecastresolve_timingget_ephemeris_positionsget_ephemeris_anglesget_ephemeris_ayanamsaget_ephemeris_sunriseget_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
github.com/onedotlinks/astronest-quickstart
More in AI & models
MCP server · upstash
More in AI & modelsAdButler
MCP server · adbutler
More in AI & modelsatom-mcp-server
MCP server · a7om-ai
More in AI & modelsottasia
MCP server · aiweather-anurag
More in AI & modelsCurrents
MCP server · currents-dev
More in AI & modelsunphurl
MCP server · 123ergo
More in AI & models