Skip to main content

Pitra Dosha

asterwise_get_pitra_dosha

Detects Pitru Dosha (Pitru Shapa, the father's curse) from the eleven classical combinations of BPHS 83.20–83.30.

Parameters​

ParameterTypeRequiredDescription
birthobjectyesBirth data for tools that need the exact birth time (no sunrise fallback). Required fields: date, time, lat, lon. Optional fields: person_name, timezone, ayanamsa.
response_formatenum: markdown, jsonnoOutput format: 'markdown' (default) for a readable report, or 'json' for the raw structured payload.

What it covers​

Standalone Pitru Dosha endpoint; the pitru_dosha bucket of asterwise_get_doshas uses the same rule. present is true only when one of the eleven verse combinations forms. The text gives no grading and no cancellation, so severity is always null and cancellations[] is always empty; combinations_count says how many formed. General Sun and 9th-lord conditions are listed in indicators[] and never make the dosha present. Malefics are the chart's natural malefics (Sun, Mars, Saturn, Rahu, Ketu, a waning Moon, a Mercury joined by a malefic); a Mercury made malefic only by a planet does not count as afflicting that planet. Conjunction is the same sign; aspects are full graha drishti (Mars 4/7/8, Jupiter 5/7/9, Saturn 3/7/10, nodes 7). House lords are whole sign from the lagna. Remedies (only when present) are those of verses 83.31–83.32.

Workflow​

BEFORE: None — birth data computes everything needed.
AFTER: asterwise_get_puja_suggestions — remedial pujas.

Input​

birth — BirthData (date, time, lat, lon, timezone).

Output contract​

data.present (bool — a verse combination formed)
data.severity (null — the text gives no grading)
data.severity_note (string or null)
data.combinations_triggered[] (string array — e.g. 'Pitru Shapa combination 83.24')
data.combinations_detail[] — per formed combination: combination (string), verse (string, e.g. '83.24'), description (string), factors[] (string array), weight (int, always 1)
data.combinations_count (int)
data.sun_analysis{}: house (int), sign_index (int), debilitated (bool), afflictions[] (string array)
data.ninth_lord_analysis{}: planet (string), house (int), sign_index (int), debilitated (bool), afflictions[] (string array)
data.all_factors[] (string array — factors of the formed combinations only)
data.indicators[] (string array — general Sun / 9th-lord conditions; context only)
data.cancellations[] (string array — always empty)
data.interpretation (string)
data.classical_symptoms[] (string array — empty unless present)
data.remedies[] (string array — empty unless present)

Compute class​

MEDIUM_COMPUTE — natal chart computation.

Errors​

INVALID_PARAMS (local): BirthData Pydantic violations → MCP INVALID_PARAMS
INTERNAL_ERROR: Any upstream API failure → MCP INTERNAL_ERROR
Edge cases:
— Most charts form no combination; indicators[] may still list Sun conditions.

Do not confuse with​

asterwise_get_doshas — returns pitru_dosha as one of thirteen buckets with the same verdict and less detail.

Connect​

Remote MCP endpoint: https://mcp.asterwise.com/mcp. Authenticate with Authorization: Bearer <API key> or OAuth. See the MCP setup guide.