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
- Get your API key and auth token from https://divineapi.com/api-keys
- Set environment variables:
DIVINE_API_KEYandDIVINE_AUTH_TOKEN - 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_systemaccepts 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_dominantsrequiresmethod(TRADITIONALorMODERN).divine_western_fixed_stars_detailsrequiresstar_list; get valid names fromdivine_western_fixed_stars_list(which needs no input).- Detail endpoints are two-step:
divine_western_planet_return_detailstakes areturn_keyfromdivine_western_planet_returns_list, anddivine_western_prenatal_detailstakes aprenatal_keyfromdivine_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, atransit_planet. divine_western_custom_transitcomputes 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_secandtransit_place/transit_lat/transit_lon/transit_tzone). Unlikedivine_western_transit_basic, it also accepts the transit place, latitude, longitude, and timezone.- API failures raise MCP tool errors (
isError: true); plainError: ...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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file divineapi_western_astrology_mcp-1.5.0.tar.gz.
File metadata
- Download URL: divineapi_western_astrology_mcp-1.5.0.tar.gz
- Upload date:
- Size: 43.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6633480be47daf572687b7fa2106ef1e49edf161454bbd427ff454a2f704f0d
|
|
| MD5 |
44fdd655369017c7f062cfb1bd019f2f
|
|
| BLAKE2b-256 |
966bda4780bc677f31ba5c6f192bca6aeaefa7d639d7f010df7f77616a283b8f
|
File details
Details for the file divineapi_western_astrology_mcp-1.5.0-py3-none-any.whl.
File metadata
- Download URL: divineapi_western_astrology_mcp-1.5.0-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b04174e502303f762199135b856381e9061e52fef92c15a382fc656badbea3b
|
|
| MD5 |
21d03093f1308d4c19a4470b442bba37
|
|
| BLAKE2b-256 |
a29b3bd2a886c9867ed781ed28dc3f5751c407895907dc2a6a4ad7ae648f9201
|