{
  "$schema": "https://modelcontextprotocol.io/schema/server-card.json",
  "serverInfo": {
    "name": "vedastro",
    "title": "VedAstro Vedic Astrology Engine",
    "version": "1.0.0",
    "description": "Vedic Astrology & Behavioral Assessment MCP Server providing birth chart (Kundli), compatibility, panchang, and palmistry analysis tools."
  },
  "transport": {
    "type": "streamable-http",
    "endpoint": "https://vedastro.guru/api/v2/mcp"
  },
  "endpoint": "https://vedastro.guru/api/v2/mcp",
  "capabilities": {
    "tools": {
      "listChanged": true
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "calculate_kundli",
      "description": "Generate Vedic birth chart (Kundli) with planetary positions, ascendant (Lagna), nakshatra, and houses.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "year": { "type": "integer", "description": "Year of birth (YYYY)" },
          "month": { "type": "integer", "description": "Month of birth (1-12)" },
          "day": { "type": "integer", "description": "Day of birth (1-31)" },
          "hour": { "type": "integer", "description": "Hour of birth (0-23)" },
          "minute": { "type": "integer", "description": "Minute of birth (0-59)" },
          "latitude": { "type": "number", "description": "Latitude (-90 to 90)" },
          "longitude": { "type": "number", "description": "Longitude (-180 to 180)" },
          "timezone": { "type": "number", "description": "UTC offset in hours (e.g. 5.5 for IST)" }
        },
        "required": ["year", "month", "day", "hour", "minute", "latitude", "longitude"]
      }
    },
    {
      "name": "check_compatibility",
      "description": "Calculate Vedic Ashtakoota Guna Milan relationship compatibility between two charts across 8 kootas (36 points).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "p1_dob": { "type": "string", "description": "Person 1 Date of birth (YYYY-MM-DD)" },
          "p1_tob": { "type": "string", "description": "Person 1 Time of birth (HH:MM)" },
          "p1_lat": { "type": "number", "description": "Person 1 Latitude" },
          "p1_lon": { "type": "number", "description": "Person 1 Longitude" },
          "p1_tz": { "type": "number", "description": "Person 1 Timezone offset" },
          "p2_dob": { "type": "string", "description": "Person 2 Date of birth (YYYY-MM-DD)" },
          "p2_tob": { "type": "string", "description": "Person 2 Time of birth (HH:MM)" },
          "p2_lat": { "type": "number", "description": "Person 2 Latitude" },
          "p2_lon": { "type": "number", "description": "Person 2 Longitude" },
          "p2_tz": { "type": "number", "description": "Person 2 Timezone offset" }
        },
        "required": ["p1_dob", "p1_tob", "p1_lat", "p1_lon", "p2_dob", "p2_tob", "p2_lat", "p2_lon"]
      }
    },
    {
      "name": "analyze_behavioral_compatibility",
      "description": "Assess behavioral alignment, communication styles, emotional reactivity, and conflict resolution dynamics.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "assessment_id": { "type": "string", "description": "Behavioral assessment identifier" },
          "answers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "question_id": { "type": "string" },
                "score": { "type": "integer", "minimum": 1, "maximum": 5 }
              },
              "required": ["question_id", "score"]
            }
          }
        },
        "required": ["assessment_id", "answers"]
      }
    },
    {
      "name": "get_daily_panchang",
      "description": "Fetch daily Vedic Panchang elements including Tithi, Nakshatra, Yoga, Karana, and auspicious timings (Shubh Muhurat).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "date": { "type": "string", "description": "Date in YYYY-MM-DD format" },
          "latitude": { "type": "number", "description": "Latitude coordinate" },
          "longitude": { "type": "number", "description": "Longitude coordinate" },
          "timezone": { "type": "number", "description": "Timezone offset" }
        },
        "required": ["date", "latitude", "longitude"]
      }
    }
  ]
}
