Skip to main content

Official MCP server for Divine API's Western Astrology services — Natal, Synastry, Transit, Composite, Progressions

Project description

Divine API - Western Astrology MCP Server

Official MCP server by Divine API for Western Astrology services. Exposes 57 tools covering natal charts, synastry, transits, composite charts, progressions, planetary returns, prenatal analysis, and advanced natal techniques, backed by the live Divine API (astroapi-4 and astroapi-8 hosts).

Setup

  1. Get your API key and auth token from https://divineapi.com/api-keys
  2. Set environment variables: DIVINE_API_KEY and DIVINE_AUTH_TOKEN
  3. Add to your MCP client configuration (Claude Desktop, Cursor, etc.)

Tool groups (57 tools)

Group Tools Host
Natal 10 astroapi-4 (wheel chart on astroapi-8)
Synastry 13 astroapi-4 (wheel/aspect-table on astroapi-8)
Transit 12 astroapi-4 and astroapi-8
Composite 4 astroapi-8
Advanced natal 11 astroapi-8
Progressions and returns 5 astroapi-8
Prenatal 2 astroapi-8

Notable input details

  • house_system accepts friendly names (placidus, koch, porphyry, regiomontanus, campanus, equal, whole-sign, morinus, alcabitius) or the Swiss Ephemeris single-letter codes (B, C, E, K, M, O, P, R, W). Names are mapped to letter codes before the API call; invalid values fail client-side with the list of accepted names.
  • divine_western_dominants requires method (TRADITIONAL or MODERN).
  • divine_western_fixed_stars_details requires star_list; get valid names from divine_western_fixed_stars_list (which needs no input).
  • Detail endpoints are two-step: divine_western_planet_return_details takes a return_key from divine_western_planet_returns_list, and divine_western_prenatal_details takes a prenatal_key from divine_western_prenatal_list.
  • Transit tools require the transit moment: transit_day/transit_month/transit_year (plus time and location fields where the endpoint needs them) and, for weekly/monthly/full reports, a transit_planet.
  • divine_western_custom_transit computes transits at a fully specified transit moment and place: it takes the natal birth block plus all ten transit-moment fields as required inputs (transit_day/transit_month/transit_year/transit_hour/transit_min/transit_sec and transit_place/transit_lat/transit_lon/transit_tzone). Unlike divine_western_transit_basic, it also accepts the transit place, latitude, longitude, and timezone.
  • API failures raise MCP tool errors (isError: true); plain Error: ... strings are returned only for client-side validation of enum-style inputs.

See CHANGELOG.md for the full history, including the fixes that made 38 previously failing tools work.

Documentation: https://developers.divineapi.com/western-api

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

divineapi_western_astrology_mcp-1.5.0.tar.gz (43.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

divineapi_western_astrology_mcp-1.5.0-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file divineapi_western_astrology_mcp-1.5.0.tar.gz.

File metadata

File hashes

Hashes for divineapi_western_astrology_mcp-1.5.0.tar.gz
Algorithm Hash digest
SHA256 a6633480be47daf572687b7fa2106ef1e49edf161454bbd427ff454a2f704f0d
MD5 44fdd655369017c7f062cfb1bd019f2f
BLAKE2b-256 966bda4780bc677f31ba5c6f192bca6aeaefa7d639d7f010df7f77616a283b8f

See more details on using hashes here.

File details

Details for the file divineapi_western_astrology_mcp-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for divineapi_western_astrology_mcp-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b04174e502303f762199135b856381e9061e52fef92c15a382fc656badbea3b
MD5 21d03093f1308d4c19a4470b442bba37
BLAKE2b-256 a29b3bd2a886c9867ed781ed28dc3f5751c407895907dc2a6a4ad7ae648f9201

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page