astrochalit-mcp 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +122 -37
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,30 +1,41 @@
|
|
|
1
1
|
# AstroChalit MCP Server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/astrochalit-mcp)
|
|
4
|
+
[](https://www.npmjs.com/package/astrochalit-mcp)
|
|
5
|
+
[](https://opensource.org/licenses/ISC)
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
Official Model Context Protocol (MCP) server for the **AstroChalit / Vedic Astrology API** suite.
|
|
8
|
+
|
|
9
|
+
This server allows AI assistants (like **Claude Desktop**, **Cursor**, **Windsurf**, and any MCP-compliant client) to natively query real-time Vedic astrology calculations, horoscopes, Kundli (natal birth charts), Panchang, matchmaking, Dashas, and Numerology directly via natural language.
|
|
10
|
+
|
|
11
|
+
- **NPM Package**: [https://www.npmjs.com/package/astrochalit-mcp](https://www.npmjs.com/package/astrochalit-mcp)
|
|
12
|
+
- **API Documentation & Keys**: [https://www.vedicastrologyapi.com](https://www.vedicastrologyapi.com)
|
|
13
|
+
|
|
14
|
+
---
|
|
6
15
|
|
|
7
16
|
## Prerequisites
|
|
8
17
|
|
|
9
|
-
- Node.js
|
|
10
|
-
-
|
|
18
|
+
- **Node.js**: v18.0.0 or higher
|
|
19
|
+
- **AstroChalit / VedicAstrologyAPI Key**: Get an API key from [vedicastrologyapi.com](https://www.vedicastrologyapi.com)
|
|
20
|
+
|
|
21
|
+
---
|
|
11
22
|
|
|
12
23
|
## Installation & Configuration
|
|
13
24
|
|
|
14
|
-
###
|
|
25
|
+
### 1. Claude Desktop
|
|
15
26
|
|
|
16
27
|
1. Open your Claude Desktop configuration file:
|
|
17
|
-
- macOS
|
|
18
|
-
- Windows
|
|
28
|
+
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
29
|
+
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
19
30
|
|
|
20
|
-
2. Add
|
|
31
|
+
2. Add `astrochalit` to your `mcpServers` configuration:
|
|
21
32
|
|
|
22
33
|
```json
|
|
23
34
|
{
|
|
24
35
|
"mcpServers": {
|
|
25
36
|
"astrochalit": {
|
|
26
37
|
"command": "npx",
|
|
27
|
-
"args": ["-y", "astrochalit-mcp
|
|
38
|
+
"args": ["-y", "astrochalit-mcp"],
|
|
28
39
|
"env": {
|
|
29
40
|
"ASTROCHALIT_API_KEY": "YOUR_API_KEY_HERE"
|
|
30
41
|
}
|
|
@@ -35,40 +46,114 @@ By installing this MCP server, your AI assistant can automatically pull real-tim
|
|
|
35
46
|
|
|
36
47
|
3. Restart Claude Desktop.
|
|
37
48
|
|
|
38
|
-
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
### 2. Cursor (AI Code Editor)
|
|
52
|
+
|
|
53
|
+
1. Navigate to **Cursor Settings** → **Features** → **MCP Servers**.
|
|
54
|
+
2. Click **+ Add New MCP Server**.
|
|
55
|
+
3. Fill in the details:
|
|
56
|
+
- **Name**: `astrochalit`
|
|
57
|
+
- **Type**: `command`
|
|
58
|
+
- **Command**: `npx -y astrochalit-mcp`
|
|
59
|
+
4. Set the environment variable `ASTROCHALIT_API_KEY=YOUR_API_KEY_HERE`.
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Example Usage Prompts
|
|
64
|
+
|
|
65
|
+
Once configured, simply talk to your assistant in natural language:
|
|
66
|
+
|
|
67
|
+
- *"What is today's horoscope for Aries?"*
|
|
68
|
+
- *"Calculate the Lagna and Navamsha chart for someone born on 15 August 1995 at 14:30 in New Delhi, India."*
|
|
69
|
+
- *"Check marriage compatibility between a male born 12-05-1992 in Mumbai and a female born 24-08-1994 in Pune."*
|
|
70
|
+
- *"What are the current Chaughadiya and Rahu Kaal timings for Delhi today?"*
|
|
71
|
+
- *"Calculate the current Vimshottari Dasha period for my birth details."*
|
|
72
|
+
- *"Generate a complete numerology reading for John Doe born on 1990-11-20."*
|
|
73
|
+
|
|
74
|
+
Your assistant will automatically select and call the appropriate tool, fetch the accurate astronomical and astrological calculation, and provide an insightful response.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Available Tools (Over 80+ Astrology Endpoints)
|
|
39
79
|
|
|
40
|
-
|
|
41
|
-
- *"What is the daily horoscope for Aries?"*
|
|
42
|
-
- *"Can you get the horoscope for Leo and summarize the career advice?"*
|
|
80
|
+
This MCP server provides comprehensive access across the full Vedic astrology system:
|
|
43
81
|
|
|
44
|
-
|
|
82
|
+
### 1. Horoscopes & Daily Predictions
|
|
83
|
+
- `get_horoscope` - Daily, weekly, monthly, and yearly horoscopes for all 12 signs.
|
|
45
84
|
|
|
46
|
-
|
|
85
|
+
### 2. Panchang & Muhurtas
|
|
86
|
+
- `get_panchang` - Tithi, Vaar, Nakshatra, Yoga, Karana, Sunrise, Sunset.
|
|
87
|
+
- `get_chaugadiya_muhurta` - Auspicious and inauspicious daytime and nighttime periods.
|
|
88
|
+
- `get_hora_muhurta` - Hourly planetary planetary rulerships.
|
|
89
|
+
- `get_hindu_festivals` - Upcoming Hindu calendar festivals and tithis.
|
|
47
90
|
|
|
48
|
-
|
|
91
|
+
### 3. Birth Charts & Divisional Charts (Vargas)
|
|
92
|
+
- `get_divisional_chart_d1` (Lagna Chart / Rashi)
|
|
93
|
+
- `get_divisional_chart_d2` (Hora - Wealth)
|
|
94
|
+
- `get_divisional_chart_d3` (Drekkana - Siblings)
|
|
95
|
+
- `get_divisional_chart_d7` (Saptamsha - Children)
|
|
96
|
+
- `get_divisional_chart_d9` (Navamsha - Marriage & Dharma)
|
|
97
|
+
- `get_divisional_chart_d10` (Dashamsha - Career & Profession)
|
|
98
|
+
- `get_divisional_chart_d12` through `get_divisional_chart_d60` (Shashtiamsha)
|
|
49
99
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
```
|
|
100
|
+
### 4. Matchmaking & Compatibility (Kundli Milan)
|
|
101
|
+
- `get_ashtakoot` - 36-point Guna Milan matching analysis.
|
|
102
|
+
- `get_dashakoot` - South Indian 10-koota compatibility analysis.
|
|
103
|
+
- `get_manglik_report` - Manglik Dosha detection and cancellation rules.
|
|
104
|
+
- `get_compatibility_check` - Zodiac sign harmony and relationship advice.
|
|
105
|
+
- `get_match_birthchart` - Comparative birth chart analysis.
|
|
57
106
|
|
|
58
|
-
|
|
107
|
+
### 5. Dashas (Planetary Periods)
|
|
108
|
+
- `get_current_vdasha` & `get_current_vdasha_all` - Current Vimshottari Mahadasha, Antardasha, and Pratyantardasha.
|
|
109
|
+
- `get_major_vdasha` - Complete lifetime planetary periods.
|
|
110
|
+
- `get_chardasha_current` & `get_major_chardasha` - Jaimini Char Dasha periods.
|
|
111
|
+
- `get_yoginidasha_major` - Yogini Dasha timings.
|
|
112
|
+
|
|
113
|
+
### 6. Numerology
|
|
114
|
+
- `get_numerologyreport` - Complete numerology report (Radical, Destiny, Name numbers).
|
|
115
|
+
- `get_numerologynumbers` - Core numerological vibratory numbers.
|
|
116
|
+
- `get_lifepath_prediction` - Life path guidance and career insights.
|
|
117
|
+
- `get_radical_prediction` & `get_numerology_prediction` - Year and destiny predictions.
|
|
118
|
+
|
|
119
|
+
### 7. Planetary Mechanics & Transits (Gochar)
|
|
120
|
+
- `get_planetary_position` - Exact degrees, nakshatras, retrogrades, and speeds of all planets.
|
|
121
|
+
- `get_planet_ingress` - Planetary transits into zodiac signs.
|
|
122
|
+
- `get_planet_aspects` - Planetary aspects and drishti.
|
|
123
|
+
- `get_moon_phases` - Moon phases and lunar illumination.
|
|
124
|
+
- `get_bhinnaashtakvarga` & `get_sarvashtakvarga` - Ashtakvarga bindu calculations.
|
|
125
|
+
|
|
126
|
+
### 8. Dosha Analysis & Astrological Remedies
|
|
127
|
+
- `get_kaalsarp_dosha` - Kaal Sarp yoga presence, type, and remedies.
|
|
128
|
+
- `get_sadesati_dosha` - Saturn's 7.5 year transit phases and status.
|
|
129
|
+
- `get_pitru_dosha` - Ancestral affliction analysis.
|
|
130
|
+
- `get_gemstone_suggestion` & `get_rudraksha_suggestion` - Personalized gemstone and rudraksha recommendations based on planetary strength.
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## Local Development
|
|
135
|
+
|
|
136
|
+
If you want to run or extend the server locally:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# 1. Clone the repository
|
|
140
|
+
git clone https://github.com/subham-poulima/Astroavastha_api.git
|
|
141
|
+
|
|
142
|
+
# 2. Enter MCP directory
|
|
143
|
+
cd Astroavastha_api_mcp
|
|
144
|
+
|
|
145
|
+
# 3. Install dependencies
|
|
146
|
+
npm install
|
|
147
|
+
|
|
148
|
+
# 4. Build TypeScript
|
|
149
|
+
npm run build
|
|
150
|
+
|
|
151
|
+
# 5. Run locally
|
|
152
|
+
ASTROCHALIT_API_KEY=your_key node build/index.js
|
|
153
|
+
```
|
|
59
154
|
|
|
60
|
-
|
|
155
|
+
---
|
|
61
156
|
|
|
62
|
-
|
|
63
|
-
- **Horoscope**: `get_horoscope`
|
|
64
|
-
- **Panchang & Muhurta**: `get_panchang`, `get_chaugadiya_muhurta`, `get_hora_muhurta`
|
|
65
|
-
- **Matchmaking (Ashtakoot & Dashakoot)**: `get_ashtakoot`, `get_dashakoot`, `get_match_birthchart`
|
|
66
|
-
- **Divisional Charts**: `get_divisional_chart_d1` through `get_divisional_chart_d60`
|
|
67
|
-
- **Varshphal (Annual)**: `get_varshphal_details`, `get_varshphal_year_chart`, `get_varshphal_month_chart`, etc.
|
|
68
|
-
- **Doshas**: `get_manglik_report`, `get_sadesati_dosha`, `get_kaalsarp_dosha`, `get_pitru_dosha`
|
|
69
|
-
- **Numerology**: `get_numerologyreport`, `get_numerologynumbers`, `get_lifepath_prediction`
|
|
70
|
-
- **KP Astrology**: `get_kp_planets`, `get_kp_house_cups`, `get_kp_significators`
|
|
71
|
-
- **Planetary Calculations**: `get_planetary_position`, `get_planet_aspects`, `get_moon_phases`
|
|
72
|
-
- **Remedies**: `get_rudraksha_suggestion`, `get_gemstone_suggestion`
|
|
157
|
+
## License
|
|
73
158
|
|
|
74
|
-
|
|
159
|
+
ISC License. Built for the developer and AI community by [AstroChalit](https://www.vedicastrologyapi.com).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astrochalit-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"bin": {
|
|
6
6
|
"astrochalit-mcp": "build/index.js"
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"author": "",
|
|
24
24
|
"license": "ISC",
|
|
25
25
|
"description": "Model Context Protocol (MCP) server for AstroChalit / Vedic Astrology API",
|
|
26
|
+
"homepage": "https://www.npmjs.com/package/astrochalit-mcp",
|
|
26
27
|
"dependencies": {
|
|
27
28
|
"@modelcontextprotocol/sdk": "^1.6.0",
|
|
28
29
|
"axios": "^1.8.1",
|