kundali-chart-mcp 0.2.3 → 0.2.4
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 +5 -102
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,16 +27,16 @@ Then restart your IDE. That's it.
|
|
|
27
27
|
## ✨ Features
|
|
28
28
|
|
|
29
29
|
- **48 astrology tools** — Charts, doshas, yogas, dasha, transits, compatibility, muhurta
|
|
30
|
-
- **Zero
|
|
30
|
+
- **Zero setup** — No Python, no files, no configuration
|
|
31
31
|
- **AI-ready** — Works with Claude, Cursor, ChatGPT, Gemini, Copilot, any MCP client
|
|
32
|
-
- **
|
|
33
|
-
- **Self-hostable** — Deploy your own in 5 minutes
|
|
34
|
-
- **BPHS-grade** — Uses Swiss Ephemeris + vedicastro
|
|
32
|
+
- **Professional grade** — Swiss Ephemeris engine, BPHS-standard calculations
|
|
35
33
|
|
|
36
34
|
---
|
|
37
35
|
|
|
38
36
|
## 🔧 Manual Config
|
|
39
37
|
|
|
38
|
+
If auto-setup doesn't work:
|
|
39
|
+
|
|
40
40
|
```json
|
|
41
41
|
{
|
|
42
42
|
"mcpServers": {
|
|
@@ -52,7 +52,7 @@ Then restart your IDE. That's it.
|
|
|
52
52
|
## 🪔 All 48 Tools
|
|
53
53
|
|
|
54
54
|
### Core Chart
|
|
55
|
-
- `generate_kundali` — Full Vedic birth chart
|
|
55
|
+
- `generate_kundali` — Full Vedic birth chart (9 planets, 12 houses, nakshatras)
|
|
56
56
|
- `list_available_chart_types` — D1–D60 vargas
|
|
57
57
|
- `list_ayanamsa_modes` — 30+ sidereal modes
|
|
58
58
|
- `list_house_systems` — Placidus, Koch, Equal, Whole Sign, etc.
|
|
@@ -112,103 +112,6 @@ Then restart your IDE. That's it.
|
|
|
112
112
|
|
|
113
113
|
---
|
|
114
114
|
|
|
115
|
-
## 🏗 Self-Host Your Own
|
|
116
|
-
|
|
117
|
-
Don't want to use the shared backend? Deploy in 5 minutes.
|
|
118
|
-
|
|
119
|
-
### Prerequisites
|
|
120
|
-
|
|
121
|
-
- [Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli) installed
|
|
122
|
-
- An Azure account ([free trial](https://azure.microsoft.com/free) works)
|
|
123
|
-
|
|
124
|
-
### Deploy
|
|
125
|
-
|
|
126
|
-
```bash
|
|
127
|
-
# Login to Azure
|
|
128
|
-
az login
|
|
129
|
-
|
|
130
|
-
# Create resource group
|
|
131
|
-
az group create --name kundali-rg --location eastus
|
|
132
|
-
|
|
133
|
-
# Create storage account (needs globally unique name)
|
|
134
|
-
az storage account create --name kundalistorage$RANDOM \
|
|
135
|
-
--resource-group kundali-rg --location eastus --sku Standard_LRS
|
|
136
|
-
|
|
137
|
-
# Create function app
|
|
138
|
-
az functionapp create --name kundali-mcp-func \
|
|
139
|
-
--resource-group kundali-rg \
|
|
140
|
-
--storage-account kundalistorage \
|
|
141
|
-
--consumption-plan-location eastus \
|
|
142
|
-
--runtime python --runtime-version 3.11 \
|
|
143
|
-
--os-type Linux --functions-version 4
|
|
144
|
-
|
|
145
|
-
# Deploy the code
|
|
146
|
-
./deploy.sh
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
### Use your own URL
|
|
150
|
-
|
|
151
|
-
```bash
|
|
152
|
-
kundali-chart-mcp https://kundali-mcp-func.azurewebsites.net
|
|
153
|
-
kundali-chart-mcp-setup
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
---
|
|
157
|
-
|
|
158
|
-
## 📡 Direct API (without MCP)
|
|
159
|
-
|
|
160
|
-
You can also call the backend directly — no MCP client needed.
|
|
161
|
-
|
|
162
|
-
### Base URL
|
|
163
|
-
```
|
|
164
|
-
https://kundali-mcp-func.azurewebsites.net/api/kundali/{toolName}
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
### Health check
|
|
168
|
-
```bash
|
|
169
|
-
curl -X POST https://kundali-mcp-func.azurewebsites.net/api/kundali/health \
|
|
170
|
-
-H "Content-Type: application/json" -d '{}'
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
### Generate kundali
|
|
174
|
-
```bash
|
|
175
|
-
curl -X POST https://kundali-mcp-func.azurewebsites.net/api/kundali/generate_kundali \
|
|
176
|
-
-H "Content-Type: application/json" -d '{
|
|
177
|
-
"name": "Rahul",
|
|
178
|
-
"city": "Mumbai, India",
|
|
179
|
-
"date_of_birth": "1990-08-15",
|
|
180
|
-
"time_of_birth": "06:30",
|
|
181
|
-
"latitude": 19.076,
|
|
182
|
-
"longitude": 72.8777,
|
|
183
|
-
"timezone": "Asia/Kolkata"
|
|
184
|
-
}'
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
### List available tools
|
|
188
|
-
```bash
|
|
189
|
-
curl -X POST https://kundali-mcp-func.azurewebsites.net/api/kundali/list_available_chart_types \
|
|
190
|
-
-H "Content-Type: application/json" -d '{}'
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
### Response format
|
|
194
|
-
|
|
195
|
-
All endpoints return JSON:
|
|
196
|
-
```json
|
|
197
|
-
{
|
|
198
|
-
"name": "Rahul",
|
|
199
|
-
"birth_details": {
|
|
200
|
-
"datetime": "1990-08-15T06:30:00",
|
|
201
|
-
"latitude": 19.076,
|
|
202
|
-
"longitude": 72.8777,
|
|
203
|
-
"timezone": "Asia/Kolkata"
|
|
204
|
-
},
|
|
205
|
-
"planetary_positions": [...],
|
|
206
|
-
"houses": [...]
|
|
207
|
-
}
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
---
|
|
211
|
-
|
|
212
115
|
## 📝 License
|
|
213
116
|
|
|
214
117
|
MIT
|