RishiAI MCP Server
A Model Context Protocol server that exposes Vedic astrology tools powered by the DashaFlow calculation engine.
Works with any MCP-compatible client — VS Code Copilot, Cursor, Claude Desktop, Claude Code, Gemini CLI, Codex, Antigravity, OpenCode, OpenClaw, Pi agent, or any custom app that speaks MCP.
https://github.com/user-attachments/assets/9c183b94-bb54-4af6-867c-fa3daeef2d03
Install
pip install rishi-ai-mcp
Quick Start
rishi-ai-mcp # console entry point (after pip install)
python rishi_ai_mcp.py # or run directly from source
Communicates over stdio. Any MCP client that can spawn a subprocess and speak MCP can use it — no IDE required.
Setup
Clone this repo into your workspace to get the MCP config + RishiAI agent rules for your IDE:
git clone https://github.com/adarshj322/rishi-ai-mcp.git
The repo includes ready-to-use configs for three IDEs:
VS Code / GitHub Copilot
.vscode/mcp.json— auto-configures the MCP server.github/copilot-instructions.md— RishiAI persona (always-on).agents/skills/*/SKILL.md— 14 workflow skills (auto-triggered by topic, or invoke via/skill-name)
VS Code Copilot reads .github/copilot-instructions.md for always-on instructions and .agents/skills/ for skills. Just open the cloned folder and the tools + persona + skills are active.
Cursor
.cursor/mcp.json— auto-configures the MCP server.cursor/rules/rishi-ai.mdc— RishiAI persona (always-on core rule).agents/skills/*/SKILL.md— 14 workflow skills (shared, Cursor reads.agents/skills/natively)
Open the cloned folder in Cursor and the tools + persona + skills are active.
Antigravity
.agents/rules/rishi-ai.md— RishiAI persona (always-on).agents/skills/*/SKILL.md— 14 workflow skills.agents/workflows/*.md— 14 slash-command workflows
Antigravity reads .agents/ natively. Configure the MCP server in your Antigravity settings:
command: uvx
args: rishi-ai-mcp
Other MCP Clients (Claude Desktop, Claude Code, Gemini CLI, etc.)
Any MCP-compatible client can connect using the same server. Add to your client's MCP config:
{
"mcpServers": {
"vedic-astrology": {
"command": "uvx",
"args": ["rishi-ai-mcp"]
}
}
}
For the RishiAI persona, use system_prompt.md as a reference and adapt it to your client's instruction format.
Standalone / Custom Client
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
params = StdioServerParameters(command="uvx", args=["rishi-ai-mcp"])
async with stdio_client(params) as (read, write):
async with ClientSession(read, write) as session:
await session.initialize()
result = await session.call_tool("cast_vedic_chart", {
"dob": "1990-04-15", "time": "14:30",
"lat": 28.6139, "lon": 77.2090, "timezone": "Asia/Kolkata"
})
print(result)
MCP Tools
cast_vedic_chart
Generates a Vedic natal chart. Compact by default (<4KB), full on request.
| Parameter | Type | Description |
|---|---|---|
dob |
string | Date of birth — "YYYY-MM-DD" |
time |
string | Time of birth — "HH:MM[:SS]" (24-hour; seconds optional) |
lat |
float | Birth latitude (e.g. 28.6139 for Delhi) |
lon |
float | Birth longitude (e.g. 77.2090 for Delhi) |
timezone |
string | IANA timezone (e.g. "Asia/Kolkata") |
query_date |
string | Optional — date for Dasha lookup, defaults to today |
detail |
string | "compact" (default) or "full" |
gender |
string | Optional — "male" / "female", interpretation framing only |
Returns (compact): lagna, condensed planets (sign/house/nakshatra/dignity + vargottama/yogakaraka flags), active dasha lords (Vimshottari/Yogini/Chara), yoga names, strength totals, SAV, dosha flags, time_sensitivity verdict (robust/borderline/fragile) — each section naming its drill-down tool.
Returns (full): JSON with metadata, panchang, lagna (with D2–D60 signs), planets (with dignity, combustion, Shadbala, all 14 Varga signs, aspects), dashas (5 levels: Maha/Antar/Pratyantar/Sukshma/Prana + timeline), yogini_dasha, chara_dasha, yogas (24 detections), ashtakavarga (SAV + BAV + Prashtara), sodhita_ashtakavarga (reduced + Sodhya Pinda), jaimini_karakas, shadbala (with Ishta/Kashta Phala), vimshopaka, bhava_chalit, avasthas, kaal_sarpa, graha_yuddha, gandanta, arudha_padas (A1–A12), upapada, karakamsha.
Errors raise MCP ToolError (no {"error"} data payloads).
get_dasha_periods_tool, get_strength_table_tool, get_yoga_list_tool, get_time_sensitivity_tool
Drill-downs for the compact chart: full dasha chains with dates (all 3 systems), per-planet strength components, full yoga entries, birth-time sensitivity (robust/borderline/fragile verdict with notes). Same birth parameters as cast_vedic_chart; time accepts "HH:MM[:SS]".
cast_transit_chart
Calculates planetary transits overlaid on a natal chart.
| Parameter | Type | Description |
|---|---|---|
transit_date |
string | Date to compute transits — "YYYY-MM-DD" |
dob |
string | Date of birth — "YYYY-MM-DD" |
time |
string | Time of birth — "HH:MM" (24-hour) |
lat |
float | Birth latitude |
lon |
float | Birth longitude |
timezone |
string | Optional — defaults to "Asia/Kolkata" |
Returns: JSON with transit planets (sign, degree, nakshatra, sav_points, house from Lagna/Moon), sade_sati status and phase, and rahu_ketu_axis.
get_transit_ingresses_tool, get_sade_sati_timeline_tool, get_gochara_tool
Timing tools for "when" questions. Same birth parameters as cast_vedic_chart; time accepts "HH:MM[:SS]".
| Tool | Parameters | Returns |
|---|---|---|
get_transit_ingresses_tool |
start_date, end_date (inclusive, 15-year cap), optional bodies (default Jupiter/Saturn/Rahu) |
Chronological ingresses with local date, instant_utc, from_sign/to_sign, direction, houses from Lagna/Moon. Retrograde re-entries appear separately. Moon is rejected. |
get_sade_sati_timeline_tool |
start_date, end_date, optional merge_gap_days (default 180) |
spans (rising/peak/setting with days, gap_days, in_phase_days, interruptions, clipped-range flags), active_at_start/active_at_end, and every Saturn crossings entry. |
get_gochara_tool |
transit_date |
Per-planet house_from_moon, sav_points, house_quality, weighted_verdict (favorable/mixed/unfavorable), and explanatory notes. Rahu/Ketu notes carry the "Raman convention (nodes)" provenance. |
calculate_compatibility_tool
Calculates 16-factor compatibility + Kuja Dosha. Person 1 = Male, Person 2 = Female.
| Parameter | Type | Description |
|---|---|---|
dob1, time1, lat1, lon1, tz1 |
various | Birth details for Person 1 (Male) |
dob2, time2, lat2, lon2, tz2 |
various | Birth details for Person 2 (Female) |
Returns: 8 Ashtakoot kutas (36 pts), additional kutas (Mahendra, Stree Deergha, Vedha, Rajju, BadConstellations, LagnaHouse7, SexEnergy), exception logic, and Kuja Dosha analysis.
check_muhurtha_tool
Evaluates whether a date/time is auspicious for a specific activity (electional astrology).
| Parameter | Type | Description |
|---|---|---|
activity |
string | One of: marriage, travel, business, education, house_entry, medical |
date |
string | Date to evaluate — "YYYY-MM-DD" |
time |
string | Time to evaluate — "HH:MM" (24-hour) |
lat |
float | Location latitude |
lon |
float | Location longitude |
timezone |
string | IANA timezone string |
Returns: JSON with verdict, score, positive_factors, negative_factors, panchang_suddhi, and marriage_doshas (for marriage activity).
analyze_career_chart
Analyzes career potential using the 10th house, D10 Dashamsha, and planetary significations.
| Parameter | Type | Description |
|---|---|---|
dob |
string | Date of birth — "YYYY-MM-DD" |
time |
string | Time of birth — "HH:MM" (24-hour) |
lat |
float | Birth latitude |
lon |
float | Birth longitude |
timezone |
string | IANA timezone string |
Returns: JSON with tenth_house info, d10_indicators, career_themes, and strength_factors.
RishiAI Agent Persona
The repo includes the RishiAI persona — a Vedic astrologer AI that interprets chart data using BPHS methodology.
| IDE | Always-on Rule | Skills |
|---|---|---|
| VS Code Copilot | .github/copilot-instructions.md |
.agents/skills/*/SKILL.md (12 skills) |
| Cursor | .cursor/rules/rishi-ai.mdc |
.agents/skills/*/SKILL.md (12 skills) |
| Antigravity | .agents/rules/rishi-ai.md |
.agents/skills/*/SKILL.md + .agents/workflows/*.md |
| Other clients | Adapt from system_prompt.md |
Adapt workflow steps from .agents/workflows/ |
All IDEs share skills from .agents/skills/ using the Agent Skills open standard.
Workflows
| Command | Description |
|---|---|
/full-reading |
Complete natal chart reading |
/career-analysis |
Career and professional guidance |
/marriage-analysis |
Marriage timing and compatibility |
/relationship-analysis |
Relationship dynamics |
/children-analysis |
Children and progeny |
/finance-analysis |
Wealth and financial prospects |
/health-analysis |
Health tendencies and remedies |
/education-analysis |
Education and learning |
/spiritual-analysis |
Spiritual path and practices |
/muhurtha-analysis |
Electional astrology timing |
/physicalIntimacy-analysis |
Physical compatibility |
/geopolitics-analysis |
Mundane astrology |
/past-life-analysis |
Past life karma and karmic debts |
/spouse-profiling |
Detailed spouse blueprint — looks, personality, archetype |
Architecture
rishi_ai_mcp.py MCP entry point — 5 tools, pip-installable
└── dashaflow (pip) Calculation engine
├── vedic_calculator Swiss Ephemeris core
├── constants Zodiac, nakshatras, dignities
├── nakshatra Nakshatra lookup
├── panchang Tithi, Vara, Yoga, Karana
├── yoga 24 yoga types + Kaal Sarpa, Graha Yuddha, Gandanta
├── dasha Vimshottari 5-level
├── dignity Dignity, combustion, digbala
├── ashtakavarga SAV, BAV, Prashtara
├── jaimini Karakas, Arudha Padas, Upapada, Karakamsha
├── shadbala Six-fold strength + Ishta/Kashta
├── matchmaking 16-factor compatibility + Kuja Dosha
├── muhurtha Electional astrology
└── career D10 career analysis
.vscode/mcp.json VS Code Copilot MCP config
.github/
└── copilot-instructions.md Always-on rule (VS Code Copilot)
.cursor/
├── mcp.json Cursor MCP config
└── rules/rishi-ai.mdc Always-on core rule (Cursor)
.agents/ Shared across all IDEs
├── rules/rishi-ai.md Always-on agent rule (Antigravity)
├── skills/ 14 workflow skills (SKILL.md per folder)
└── workflows/ 14 slash-command workflows (Antigravity)
system_prompt.md Universal reference prompt (for other clients)
Prerequisites
- Python 3.10+
- dashaflow — installed automatically as dependency
- mcp — installed automatically as dependency
License
MIT
Metadata
Release files for rishi-ai-mcp 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rishi_ai_mcp-1.5.0.tar.gz | 72.5 kB | With provenance | Details for rishi_ai_mcp-1.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rishi_ai_mcp-1.5.0-py3-none-any.whl | Python 3 | none | any | Details for rishi_ai_mcp-1.5.0-py3-none-any.whl |
Total release size: 84.9 kB
Release files / rishi_ai_mcp-1.5.0.tar.gz
| Download URL | rishi_ai_mcp-1.5.0.tar.gz |
|---|---|
| Size | 72.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ba97c09f6e8d7c8c2672de96a9bb16e4182bc1d2c64e7342424202b7445b047
|
|
BLAKE2b-256 checksum How to use checksums |
9a70561abded53b5b36eaef48d7d12841d14890baf746ec762ac54a99ad9f094
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / rishi_ai_mcp-1.5.0-py3-none-any.whl
| Download URL | rishi_ai_mcp-1.5.0-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a41e4cabd63e46df027ffa69359cd54270c3adffb3e1c7283126ac97a73c865
|
|
BLAKE2b-256 checksum How to use checksums |
469e48b7676ef6c0084ee7092d9ebb9aacbef5968b6c0bae7ed98b73d740356e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for rishi-ai-mcp 1.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rishi_ai_mcp-1.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.