Documentation content is currently available in English.
Back to Docs

MCP Server

Available

Connect AI assistants (Cursor, Claude Desktop, Windsurf, and other MCP clients) to VedAstro calculations using your API key.

What is it?

The VedAstro MCP server exposes Vedic astrology tools that AI models can call directly — birth charts, Dasa periods, panchang, yogas, and more. Each tool call uses one API request and counts against your monthly quota. MCP is hosted on the API at https://astroapi.vedicmatters.com/mcp— no separate server to deploy.

Prerequisites

  1. A VedAstro account — sign up free
  2. An API key from Dashboard → API Keys
  3. An MCP-capable client (Cursor, Claude Desktop, etc.)

Cursor (recommended)

Add to .cursor/mcp.json or Cursor Settings → MCP:

{
  "mcpServers": {
    "vedastro": {
      "url": "https://astroapi.vedicmatters.com/mcp",
      "headers": {
        "X-API-Key": "veda_your_api_key_here"
      }
    }
  }
}

Local stdio (optional)

Only if your client requires a local command instead of a URL. Build the mcp/ package from the repo:

cd mcp && npm install && npm run build
{
  "mcpServers": {
    "vedastro": {
      "command": "node",
      "args": ["/absolute/path/to/vedastro-ts/mcp/dist/index.js"],
      "env": {
        "VEDASTRO_API_KEY": "veda_your_api_key_here",
        "VEDASTRO_API_URL": "https://astroapi.vedicmatters.com"
      }
    }
  }
}

API deployment

MCP is part of the API process — restart after deploy:

cd api && npm install && npm run build && pm2 restart vedastro-api

Available tools

ToolDescription
get_birth_chartFull Rasi birth chart
get_divisional_chartVarga charts (D9, D10, …)
get_chart_compatibilitySynastry between two charts
get_planet_positionsSidereal planet positions
get_nakshatraMoon nakshatra
get_yogasYoga detection
get_shadbalaShadbala strength
get_ishta_kashtaIshta/Kashta Phala strength score
get_ashtakavargaAshtakavarga
get_vimshottari_dasaFull Vimshottari Dasa timeline
get_current_dasaCurrent running Dasa period
get_monthly_panchangMonthly panchang calendar
get_daily_panchangDaily Panchang with refined transitions
get_batch_panchangDetailed Panchang for up to 62 arbitrary dates
get_moonrise_moonsetCivil-day moonrise and moonset
get_lunar_monthAmanta and purnimanta masa profiles
get_rituSix-season profiles
get_festival_markersExperimental Purnima festival markers
get_vrat_markersExperimental Ekadashi candidates
get_choghadiyaNorth Indian day and night Choghadiya
get_planetary_horaPlanetary day and night temporal hours
get_daily_horoscopeGeneric sign horoscope compatibility output
get_daily_predictionEvidence-backed daily prediction report
get_weekly_predictionEvidence-backed weekly prediction report
get_monthly_predictionEvidence-backed monthly prediction report
get_yearly_predictionEvidence-backed yearly prediction report
get_domain_predictionEvidence-backed domain prediction report
get_prediction_reportEvidence-backed multi-domain prediction report
get_all_remediesSafety-screened remedy candidates
get_general_remediesGeneral low-risk remedy candidates
get_gemstone_remediesGemstone candidates with safety gates
get_mantra_remediesMantra or japa remedy candidates
get_puja_remediesOptional puja remedy candidates
get_donation_remediesDonation or seva remedy candidates
get_fasting_remediesSafety-gated fasting candidates
get_spiritual_practice_remediesLow-risk spiritual practice candidates
get_kp_chartKP chart with Krishnamurti ayanamsa and Placidus cusps
get_kp_cuspsKP Placidus cusp positions
get_kp_cuspal_sub_lordsKP cuspal star, sub, and sub-sub lords
get_kp_planet_significatorsKP planet significator tiers
get_kp_house_significatorsKP house significators
get_kp_ruling_planetsKP ruling planets
get_kp_horaryKP 1–249 horary evidence
get_kp_event_judgementEvidence-backed KP event judgement
get_kp_reportEvidence-backed KP report
get_jaimini_chartSidereal whole-sign Jaimini chart
get_jaimini_karakasJaimini Chara Karaka assignments
get_jaimini_karakaSelected Jaimini Chara Karaka
get_jaimini_karakamshaJaimini Karakamsha evidence
get_jaimini_aspectsJaimini rashi aspects
get_jaimini_pada_lagnaJaimini Pada Lagna
get_jaimini_upapada_lagnaJaimini Upapada Lagna
get_jaimini_chara_dashaJaimini Chara Dasha evidence
get_jaimini_rajyogaFormation-only Jaimini Rajyoga evidence
get_jaimini_reportEvidence-backed Jaimini report
get_tajaka_solar_returnTajaka solar-return timestamp
get_tajaka_chartTajaka annual Varsha chart
get_tajaka_annual_ascendantTajaka annual Ascendant evidence
get_tajaka_annual_positionsTajaka annual planet positions
get_tajaka_munthaMuntha progression evidence
get_tajaka_year_lordVarshesha year-lord evidence
get_tajaka_panchavargiya_balaPanchavargiya Bala evidence
get_tajaka_aspectsTajaka aspect evidence
get_tajaka_yogasTajaka yoga formation evidence
get_tajaka_sahamsTajaka Saham formula evidence
get_tajaka_mudda_dashaMudda Dasha annual timing
get_tajaka_monthlyEvidence-backed Tajaka monthly themes
get_tajaka_varshaphalFull Tajaka Varshaphal aggregation
get_tajaka_reportEvidence-backed Tajaka report
get_lal_kitab_chartLal Kitab chart evidence
get_lal_kitab_planetLal Kitab planet evidence and selected effect rows
get_lal_kitab_houseLal Kitab house evidence and selected effect rows
get_lal_kitab_remediesSafety-screened Lal Kitab remedy candidates
get_lal_kitab_varshphalLal Kitab annual rotation evidence
get_lal_kitab_debtLal Kitab Rina condition evidence
get_lal_kitab_doshaLal Kitab sleeping-condition evidence
get_lal_kitab_reportEvidence-backed Lal Kitab source-pack report with original-edition/example fixture packs
get_vastu_analysisAggregate Vastu property analysis with source-pack variants
get_vastu_homeHome Vastu analysis
get_vastu_officeOffice Vastu analysis
get_vastu_plotPlot Vastu evidence
get_vastu_floor_planFloor-plan Vastu analysis with media/CAD guards
get_vastu_entranceEntrance direction evidence
get_vastu_room_placementRoom placement scoring
get_vastu_kitchenKitchen placement analysis
get_vastu_bedroomBedroom placement analysis
get_vastu_pooja_roomPooja-room placement analysis
get_vastu_toiletToilet/bathroom placement analysis
get_vastu_staircaseStaircase placement analysis
get_vastu_directionEight-direction Vastu profile
get_vastu_doshaVastu placement, geopathic, and road-hit concern evidence
get_vastu_remediesLow-risk Vastu remedy candidates
get_vastu_colorsDirection color themes
get_vastu_mandalaNine-zone Vastu mandala
get_vastu_reportEvidence-backed Vastu report with source-pack variants
get_vastu_ar_vr_auditGuarded Vastu AR/VR audit status
get_numerology_pythagoreanPythagorean numerology
get_numerology_chaldeanChaldean numerology
get_numerology_life_pathLife path number
get_numerology_expressionExpression number
get_numerology_destinyDestiny number
get_numerology_soul_urgeSoul urge number
get_numerology_personalityPersonality number
get_numerology_karmic_debtKarmic debt number evidence
get_numerology_master_numbersMaster number evidence
get_numerology_personal_yearPersonal year cycle
get_numerology_personal_monthPersonal month cycle
get_numerology_personal_dayPersonal day cycle
get_numerology_name_compatibilityName compatibility evidence
get_numerology_reportEvidence-backed numerology report
get_prashna_chartQuery-time Prashna chart evidence
get_prashna_ruling_planetsPrashna ruling-planet evidence
get_prashna_judgementEvidence-backed Prashna question judgement
get_prashna_reportEvidence-backed Prashna report
analyze_prashnaEvidence-backed Prashna v1 aggregate
list_pricing_plansAPI pricing (no key required)

Environment variables

VariableRequiredDefault
X-API-Key headerYes (remote MCP)Your dashboard API key
VEDASTRO_API_KEYYes (stdio only)
VEDASTRO_API_URLNo (stdio)https://astroapi.vedicmatters.com

Usage notes

  • Birth dateTime should be local birth time in ISO 8601 format (e.g. 1990-01-15T08:30:00)
  • location requires latitude and longitude in decimal degrees
  • Default ayanamsa is LAHIRI
  • Each tool call uses one API request from your monthly quota

Get your API key at https://astrology.vedicmatters.com/dashboard/keys. Prefer REST directly? See the Quickstart or Playground.