Model Context Protocol (MCP)

Supercharge your AI agents with real-time astrological data. Astro-Fusion implements theModel Context Protocolto allow LLMs (Claude, GPT-4, etc.) to directly query our engine.

Available Tools

  • get_birth_chartCalculate full Vedic birth chart with planetary positions.
  • get_current_dashaCalculate Vimshottari dasha periods.
  • calculate_planetary_positionsGet precise ephemeris data.
  • get_divisional_chartGenerate Varga charts (D9, D10, etc).
  • match_profilesCheck astrological compatibility.

Connect Your Agent

Remote MCP uses OAuth 2.1 (PKCE). Discover metadata at /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server. Streamable HTTP: POST /v1/mcp/http. Local stdio still works via npx.

{
  "mcpServers": {
    "astro-fusion": {
      "url": "https://api.astro-fusion.com/v1/mcp/http",
      "auth": "oauth2.1"
    },
    "astro-fusion-stdio": {
      "command": "npx",
      "args": ["-y", "@astrofusion/mcp-server"],
      "env": { "API_KEY": "YOUR_KEY" }
    }
  }
}

Example Usage

U
Calculate the birth chart for someone born on 1990-05-12 at 14:30 in Kathmandu.
AI
🔨 Calling tool:get_birth_chart
I've calculated the chart. The Ascendant is Leo (14.2°). The Sun is in Taurus (58.4°) in Mrigashira Nakshatra. Would you like to know their current Dasha period?