@vedika-io/mcp-server
MCP server for the Vedika Intelligence API — astrology, divination and Vastu capabilities across Vedic, Western, KP, Chinese, Tarot, I Ching, Human Design, Numerology, and Ayurvedic domains, exposed as semantic tools for AI agents.
The server calls the documented Vedika API operations. Calculation and interpretation coverage varies by tool and account plan.
Discovery metadata
The server.json descriptor identifies this package as io.github.vedika-io/vedika-mcp-server and uses standard input/output transport. It declares VEDIKA_API_KEY as a required secret environment variable. Supply your key in your MCP client's private environment settings; the descriptor contains no key value.
Quick Start
npm install -g @vedika-io/mcp-server
Get your API key at vedika.io/pricing (starts at $12/mo). No free tier — every query costs money.
Configuration
Where the key goes matters more than which client you use.
- Put it in the gitignored local settings file for your client, never the
shared one. A key in a committed config is a key you have published.
- Pin the version. The examples below pin
@2.0.9. npx -y @vedika-io/mcp-server
with no version resolves whatever npm currently tags latest on every start, so
a bad or hijacked release runs the moment it is published, with nothing recording
which version you were on.
- Versions before 2.0.4 send your key to whatever
VEDIKA_BASE_URL names and
follow a redirect while carrying it. Do not pin below 2.0.4.
- The key is a payment credential: every query costs money. Treat it like a card
number, not like a setting.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"vedika": {
"command": "npx",
"args": ["-y", "@vedika-io/mcp-server@2.0.9"],
"env": {
"VEDIKA_API_KEY": "vk_live_your_key_here"
}
}
}
}
Claude Code
Add to .claude/settings.local.json:
Not .claude/settings.json. That file is the shared, checked-in one — a key
put there is committed, pushed, and in your history for good. settings.local.json
is gitignored and stays on your machine. This README said settings.json until
2026-09-07, and the published 2.0.3 package still does.
{
"mcpServers": {
"vedika": {
"command": "npx",
"args": ["-y", "@vedika-io/mcp-server@2.0.9"],
"env": {
"VEDIKA_API_KEY": "vk_live_your_key_here"
}
}
}
}
Cursor
Add to Cursor Settings > MCP Servers:
{
"vedika": {
"command": "npx",
"args": ["-y", "@vedika-io/mcp-server@2.0.9"],
"env": {
"VEDIKA_API_KEY": "vk_live_your_key_here"
}
}
}
Windsurf
Add to ~/.windsurf/mcp_config.json:
{
"mcpServers": {
"vedika": {
"command": "npx",
"args": ["-y", "@vedika-io/mcp-server@2.0.9"],
"env": {
"VEDIKA_API_KEY": "vk_live_your_key_here"
}
}
}
}
Environment Variables
| Variable |
Required |
Default |
Description |
VEDIKA_API_KEY |
Yes |
— |
Your API key (format: vk_live_*). Sent as Authorization: Bearer. |
VEDIKA_BASE_URL |
No |
https://api.vedika.io |
Only https://api.vedika.io and the free sandbox https://api.vedika.io/sandbox are accepted. Any other value stops the server at startup, so a key cannot be routed to another host. |
Tools
Core
| Tool |
Description |
Cost |
vedika_ai_chat |
Natural-language questions with Vedic, Western or KP selection and follow-up conversations. Operation and language availability depend on the route and account plan. |
Current billing terms |
vedika_conversation |
List, get, delete, or extend multi-turn conversations. |
Free |
Vedic Computation
| Tool |
Types |
Cost |
vedika_birth_chart |
kundli, birth-chart, planetary-positions, house-cusps, ascendant, birth-details |
$0.016-0.028 |
vedika_dasha |
vimshottari, mahadasha, antardasha, pratyantardasha, yogini |
$0.016-0.028 |
vedika_doshas |
mangal, kaal-sarp, pitru, nadi, all, sade-sati, sade-sati-advanced |
$0.016-0.040 |
vedika_compatibility |
guna-milan, kundali, nakshatra-porutham, thirumana-porutham |
$0.040-0.048 |
vedika_panchang |
full, tithi, nakshatra, yoga, karana |
$0.012 |
vedika_muhurta |
choghadiya, hora, rahu-kaal, gulika-kaal, yamaghanta, abhijit, brahma, durmuhurta, combined, auspicious |
$0.012-0.020 |
vedika_divisional_charts |
D2-D60 (15 charts: Hora, Drekkana, Chaturthamsa, Saptamsa, Navamsa, Dashamsa, Dwadashamsa, Shodasamsa, Vimsamsa, Chaturvimsamsa, Bhamsa, Trimsamsa, Khavedamsa, Akshavedamsa, Shashtiamsa) |
$0.005 |
vedika_predictions |
daily, weekly, monthly, quarterly, yearly |
$0.020-0.088 |
vedika_ashtakavarga |
planet (Bhinnashtakavarga), sarva (Sarvashtakavarga) |
$0.025 |
Western Astrology
| Tool |
Types |
Cost |
vedika_western_transits |
chart, positions, aspects |
$0.064 |
vedika_western_progressions |
chart, positions, aspects |
$0.092 |
vedika_western_solar_return |
chart, positions, aspects |
$0.120 |
vedika_western_relationship |
synastry, synastry-aspects, composite, composite-aspects |
$0.148 |
Cross-System (3 tools)
| Tool |
Types |
Cost |
vedika_horoscope |
Vedic daily/weekly/monthly; Western daily or advanced daily |
Verify current API pricing |
vedika_numerology |
life-path, destiny, personality, soul-urge, personal-year, complete, compatibility |
$0.003-0.010 |
vedika_varshaphal |
Vedic annual solar return (Tajaka system) |
$0.006 |
Supplementary
| Tool |
Types |
Cost |
vedika_strength |
chandra-bala, tara-bala, upagraha, planet-relationship, shadbala |
$0.020 |
vedika_calendar |
ritu, solstice, anandadi-yoga, auspicious-yoga, auspicious-period, inauspicious-period, gowri-nalla-neram, disha-shool, planet-transit, chandrashtama, chandrashtama-periods |
$0.016-0.020 |
Tarot & Divination
| Tool |
Description |
Cost |
vedika_tarot_draw |
Draw tarot cards in single, three-card, celtic-cross, horseshoe, relationship, or career spreads. Rider-Waite, Thoth, or Marseille decks. |
$0.020-0.048 |
vedika_tarot_daily |
Card of the day with meanings, keywords, and daily guidance. Cached per day. |
$0.008 |
vedika_iching_cast |
Cast an I Ching hexagram (yarrow or coin method). Primary hexagram + changing lines + transformed hexagram. |
$0.012 |
Chinese Astrology
| Tool |
Description |
Cost |
vedika_chinese_zodiac |
Chinese zodiac animal, element, yin/yang, lucky numbers/colors, compatible/incompatible animals. Accounts for Chinese New Year dates. |
$0.003 |
vedika_chinese_bazi |
Basic Ba Zi chart from a timezone-free datetime: Year/Month/Day/Hour pillars, Day Master, dominant element, and Five Element balance. Timezone-bearing input is held while accepted civil, zoned, or solar-time semantics remain unresolved. |
Verify current API pricing |
Alternative Systems
| Tool |
Description |
Cost |
vedika_human_design_chart |
Human Design BodyGraph: Type, Strategy, Authority, Profile, defined/undefined Centers, Channels, Gates. |
$0.040 |
vedika_crystals_recommend |
Crystal and gemstone recommendations by zodiac sign, planet, or need. Vedic ratna-shastra + modern crystal healing. |
$0.012 |
Vedic Extended
| Tool |
Description |
Cost |
vedika_matrimony_match |
Kundali matching: 36-point Ashtakoota, Dashakoot summary, dosha cancellations and overall verdict. southIndian: true for Porutham. |
Verify current API pricing |
vedika_dasha_ashtottari |
Ashtottari 108-year dasha cycle (alternative to Vimshottari). 8 planets, Mahadasha/Antardasha/Pratyantardasha depth. |
$0.020 |
vedika_lalkitab_remedies |
Lal Kitab remedies for afflicted planets. Unique totkas (practical remedies) distinct from classical BPHS. Optional debt (rina) analysis. |
$0.020 |
vedika_spiritual_mantra |
Personalized mantra recommendations from classical texts. Sanskrit + IAST transliteration, japa count, muhurta, mala material. |
$0.016 |
Spiritual & Wellness
| Tool |
Description |
Cost |
vedika_spiritual_deity |
Ishta Devata (personal deity) from Atmakaraka in Navamsa. Also Dharma, Palana, and Guru Devata. Per BPHS Ch.33. |
$0.020 |
vedika_health_ayurvedic |
Ayurvedic Prakriti (constitution) analysis from birth chart. Vata/Pitta/Kapha balance, diet, herbs, seasonal recommendations. |
$0.024 |
Bundles
| Tool |
Description |
Cost |
vedika_daily_bundle |
The day's general content in one call: tarot card, angel number, crystal, mantra, moon phase, rune and I Ching. Not a per-sign horoscope. |
Verify current API pricing |
vedika_numerology_complete |
Full numerology report: Life Path, Destiny, Soul Urge, Personality, Maturity, Pinnacles, Challenges, Karmic Debt/Lessons. Pythagorean or Chaldean. |
$0.010 |
Utility
| Tool |
Description |
Cost |
vedika_usage |
Check wallet balance, usage history, summary, model breakdown |
Free |
Vastu
| Tool |
Description |
vastu_reference |
Static Vastu reference tables (mandala grids, directions, defects, remedies, colours, materials, gate obstructions) |
vastu_audit_floor_plan |
Audit a room list against the compass zones it occupies |
vastu_room_placement |
Placement guidance for one room type in one zone |
vastu_mandala_project |
Project a Vastu Purusha Mandala grid onto a plot polygon |
vastu_generate_plan |
Generate a Vastu-compliant plan from a plot and room programme |
vastu_declination |
Coarse magnetic-declination reference estimate |
vastu_operation |
Call any other Vastu operation by path suffix. assessments/batch requires a retained idempotencyKey |
vastu_job_submit, vastu_job_status, vastu_job_results, vastu_job_cancel, vastu_job_artifact |
Bulk Vastu jobs and artifacts (see below) |
Input Patterns
Birth Details (required by most Vedic/Western tools)
{
"datetime": "1990-06-15T14:30:00",
"latitude": 28.6139,
"longitude": 77.2090,
"timezone": "+05:30",
"ayanamsa": "lahiri"
}
| Field |
Type |
Required |
Notes |
datetime |
string |
Yes |
ISO 8601 format. Time is required for accurate house/ascendant. |
latitude |
number |
Yes |
-90 to 90. Polar latitudes >66.5 are rejected (unreliable houses). |
longitude |
number |
Yes |
-180 to 180. |
timezone |
string |
Yes |
UTC offset preferred (+05:30). IANA names also accepted (Asia/Kolkata). |
ayanamsa |
string |
No |
Default: lahiri. Options: lahiri, kp, raman, yukteshwar, fagan-bradley, true-chitra, true-revati, ss-citra. Only for Vedic -- Western tools ignore this. |
Vedic Compatibility (male/female)
{
"type": "guna-milan",
"male": { "datetime": "1992-03-15T10:30:00", "latitude": 28.61, "longitude": 77.20, "timezone": "+05:30" },
"female": { "datetime": "1994-07-22T08:15:00", "latitude": 19.07, "longitude": 72.87, "timezone": "+05:30" }
}
Western Relationship (person1/person2 -- gender-neutral)
{
"type": "synastry",
"person1": { "datetime": "1990-01-15T14:30:00", "latitude": 40.71, "longitude": -74.00, "timezone": "-05:00" },
"person2": { "datetime": "1992-08-22T09:45:00", "latitude": 34.05, "longitude": -118.24, "timezone": "-08:00" }
}
Location-Only (panchang, muhurta)
{
"type": "choghadiya",
"latitude": 28.6139,
"longitude": 77.2090,
"timezone": "+05:30"
}
All location fields are optional -- defaults to Delhi (28.6139, 77.2090, +05:30).
Zodiac Signs (predictions, horoscope)
Accepts both English and Hindi (Roman transliteration):
| English |
Hindi |
| aries |
mesha |
| taurus |
vrishabha |
| gemini |
mithuna |
| cancer |
karka |
| leo |
simha |
| virgo |
kanya |
| libra |
tula |
| scorpio |
vrishchika |
| sagittarius |
dhanu |
| capricorn |
makara |
| aquarius |
kumbha |
| pisces |
meena |
Tarot Spreads
{
"spread": "celtic-cross",
"question": "What should I focus on this month?",
"deck": "rider-waite"
}
Chinese Ba Zi
{
"datetime": "1990-06-15T14:30:00"
}
Matrimony Match (bride/groom)
{
"bride": { "datetime": "1994-07-22T08:15:00", "latitude": 19.07, "longitude": 72.87, "timezone": "+05:30", "gender": "female" },
"groom": { "datetime": "1992-03-15T10:30:00", "latitude": 28.61, "longitude": 77.20, "timezone": "+05:30", "gender": "male" }
}
Output Examples
vedika_birth_chart (type: "kundli")
{
"ascendant": { "sign": "Virgo", "degree": 14.23, "nakshatra": "Hasta", "pada": 2 },
"planets": [
{ "name": "Sun", "sign": "Taurus", "house": 9, "degree": 0.85, "nakshatra": "Krittika", "pada": 4, "retrograde": false, "dignity": "Neutral" },
{ "name": "Moon", "sign": "Cancer", "house": 11, "degree": 22.14, "nakshatra": "Ashlesha", "pada": 3, "retrograde": false, "dignity": "Own" },
{ "name": "Mars", "sign": "Pisces", "house": 7, "degree": 6.52, "nakshatra": "Uttara Bhadrapada", "pada": 2, "retrograde": false, "dignity": "Neutral" }
],
"houses": [
{ "house": 1, "sign": "Virgo", "degree": 14.23, "lord": "Mercury" },
{ "house": 2, "sign": "Libra", "degree": 12.15, "lord": "Venus" }
]
}
vedika_dasha (system: "vimshottari")
{
"currentDasha": {
"mahadasha": { "planet": "Jupiter", "start": "2020-03-15", "end": "2036-03-15" },
"antardasha": { "planet": "Saturn", "start": "2024-09-01", "end": "2027-03-15" },
"pratyantar": { "planet": "Mercury", "start": "2025-11-20", "end": "2026-04-30" }
},
"dashaTimeline": [
{ "planet": "Ketu", "start": "1990-06-15", "end": "1997-06-15", "years": 7 },
{ "planet": "Venus", "start": "1997-06-15", "end": "2017-06-15", "years": 20 },
{ "planet": "Sun", "start": "2017-06-15", "end": "2023-06-15", "years": 6 }
]
}
vedika_tarot_draw (spread: "three-card")
{
"spread": "three-card",
"cards": [
{ "position": "past", "card": "The Tower", "number": 16, "suit": "major", "reversed": false, "meaning": "Sudden upheaval, revelation, awakening" },
{ "position": "present", "card": "Two of Cups", "number": 2, "suit": "cups", "reversed": false, "meaning": "Partnership, harmony, mutual attraction" },
{ "position": "future", "card": "The Star", "number": 17, "suit": "major", "reversed": false, "meaning": "Hope, renewal, inspiration, serenity" }
],
"deck": "rider-waite"
}
vedika_chinese_bazi
{
"system": "chinese",
"chart": {
"yearPillar": { "stem": { "name": "Geng", "chinese": "庚", "element": "Metal", "polarity": "Yang" }, "branch": { "name": "Wu", "chinese": "午", "animal": "Horse", "element": "Fire", "polarity": "Yang" }, "label": "Geng Wu" },
"monthPillar": { "stem": { "name": "Ren", "chinese": "壬", "element": "Water", "polarity": "Yang" }, "branch": { "name": "Wu", "chinese": "午", "animal": "Horse", "element": "Fire", "polarity": "Yang" }, "label": "Ren Wu" },
"dayPillar": { "stem": { "name": "Xin", "chinese": "辛", "element": "Metal", "polarity": "Yin" }, "branch": { "name": "Hai", "chinese": "亥", "animal": "Pig", "element": "Water", "polarity": "Yin" }, "label": "Xin Hai" },
"hourPillar": { "stem": { "name": "Yi", "chinese": "乙", "element": "Wood", "polarity": "Yin" }, "branch": { "name": "Wei", "chinese": "未", "animal": "Goat", "element": "Earth", "polarity": "Yin" }, "label": "Yi Wei" },
"dayMaster": { "name": "Xin", "chinese": "辛", "element": "Metal", "polarity": "Yin" },
"dominantElement": "Water",
"elementBalance": { "Wood": 1, "Fire": 2, "Earth": 1, "Metal": 2, "Water": 2 }
}
}
vedika_compatibility (type: "guna-milan")
{
"totalScore": 26,
"maxScore": 36,
"recommendation": "Good match",
"factors": [
{ "name": "Varna", "score": 1, "maxScore": 1, "description": "Spiritual compatibility" },
{ "name": "Vashya", "score": 2, "maxScore": 2, "description": "Mutual attraction" },
{ "name": "Tara", "score": 3, "maxScore": 3, "description": "Birth star compatibility" },
{ "name": "Yoni", "score": 3, "maxScore": 4, "description": "Physical compatibility" },
{ "name": "Graha Maitri", "score": 5, "maxScore": 5, "description": "Mental compatibility" },
{ "name": "Gana", "score": 5, "maxScore": 6, "description": "Temperament" },
{ "name": "Bhakoot", "score": 7, "maxScore": 7, "description": "Health & wealth" },
{ "name": "Nadi", "score": 0, "maxScore": 8, "description": "Genetic compatibility" }
],
"mangalDosha": { "male": false, "female": true, "compatible": true }
}
vedika_panchang (element: "full")
{
"date": "2026-03-13",
"vara": { "name": "Friday", "deity": "Shukra" },
"tithi": { "name": "Krishna Chaturdashi", "deity": "Shiva", "endTime": "2026-03-13T18:45:00+05:30" },
"nakshatra": { "name": "Purva Bhadrapada", "lord": "Jupiter", "endTime": "2026-03-13T22:10:00+05:30" },
"yoga": { "name": "Siddha", "endTime": "2026-03-13T15:30:00+05:30" },
"karana": { "name": "Vanija", "endTime": "2026-03-13T18:45:00+05:30" },
"sunrise": "06:28:00+05:30",
"sunset": "18:22:00+05:30"
}
vedika_ai_chat
{
"response": "Based on your birth chart, Jupiter is currently transiting your 7th house...",
"conversationId": "conv_abc123",
"tokens": { "input": 1250, "output": 480 },
"cost": 0.012,
"system": "vedic"
}
vedika_predictions (period: "daily")
{
"sign": "aries",
"period": "daily",
"date": "2026-03-13",
"prediction": {
"overall": "A favorable day for career decisions...",
"career": "Professional growth opportunities emerge...",
"love": "Venus influence brings harmony...",
"health": "Focus on physical activity...",
"finance": "Avoid impulsive spending..."
},
"luckyNumber": 7,
"luckyColor": "Red"
}
vedika_western_transits (type: "aspects")
{
"transitAspects": [
{
"transitPlanet": "Saturn",
"transitSign": "Pisces",
"transitDegree": 22.5,
"natalPlanet": "Moon",
"natalSign": "Gemini",
"natalDegree": 24.1,
"aspect": "Square",
"orb": 1.6,
"applying": true,
"influence": "challenging"
}
]
}
vedika_usage (action: "wallet")
{
"walletBalance": 5456,
"currency": "USD",
"displayBalance": "$54.56",
"plan": "professional",
"subscriptionEndDate": "2026-04-01T00:00:00Z"
}
Note: walletBalance is in USD cents. Divide by 100 to display as dollars.
Error Handling
All errors are returned as MCP tool errors with descriptive messages:
| Status |
Meaning |
Message Example |
| 400 |
Invalid input |
Bad Request: datetime is required |
| 401 |
Bad API key |
Invalid API key. Get one at https://vedika.io/pricing -- format: vk_live_* |
| 402 |
No balance |
Insufficient wallet balance (required $0.016, available $0.005, deficit $0.011). Add funds at https://vedika.io/dashboard. Do not retry until the wallet is topped up. Never retried. |
| 403 |
Inactive sub |
Subscription inactive or endpoint not included in your plan. |
| 429 |
Rate limited |
Classified by the response body code. RATE_LIMIT_EXCEEDED: Rate limited. Retry after 5s. DAILY_LIMIT_EXCEEDED: Daily call limit reached. Do not retry until the limit resets... Never retried automatically. |
| 422 |
Idempotency |
|