Developers · AI assistants
Astrology API and MCP server
The engines of this site, for your assistant or your code: plain answers for anyone, full chart data for astrologers. Free, no key, nothing stored.
Connect
| MCP server | https://astramiga.com/api/mcp (streamable HTTP) |
|---|---|
| REST API | POST https://astramiga.com/api/v1/<tool> (JSON body) |
| OpenAPI | https://astramiga.com/api/openapi.json |
| Server card | https://astramiga.com/.well-known/mcp/server-card.json |
| Limit | 60 requests a minute per IP |
For anyone
big_three · Sun, Moon and rising sign
For anyone: the Sun sign, Moon sign and rising sign (ascendant) of a birth, with degrees, in one sentence. Use it when someone asks 'what is my rising sign' or 'what are my big three'. Without a birth time the rising sign cannot be known and the Moon may have two possible signs: say so.
| Parameter | Meaning |
|---|---|
date * | Birth date, YYYY-MM-DD (1900 to 2100). |
time | Birth time on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place * | Birth place: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
compatibility · Compatibility score of two births
For anyone: the astrological compatibility of two people out of 100, with love, friendship and work, and the strongest links between the two charts in plain words. The same score as astramiga.com and its app. 72/100 means the pair scores better than 72 % of a million simulated couples: a ranking under a published rule, not a prediction, and no scientific evidence supports astrology. Times are optional.
| Parameter | Meaning |
|---|---|
date_a * | Birth date of person A, YYYY-MM-DD (1900 to 2100). |
time_a | Birth time of person A on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place_a * | Birth place of person A: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
date_b * | Birth date of person B, YYYY-MM-DD (1900 to 2100). |
time_b | Birth time of person B on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place_b * | Birth place of person B: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
name_a | First name of person A, shown in the answer and its card. Optional. |
name_b | First name of person B. Optional. |
sky · Sky of the coming days
For anyone: the Moon tonight (phase, light, sign) and what happens in the sky over a window: new and full moons, planets changing sign, retrograde and direct stations (Mercury retrograde…), eclipses. Exact UTC instants.
| Parameter | Meaning |
|---|---|
date | First day, YYYY-MM-DD (UTC). Default: today. |
days | Length of the window in days, 1 to 366. Default 30. |
For astrologers
natal_chart · Full natal chart (astrologer data)
For astrologers: the full natal chart as data. Ten bodies and the mean North Node with longitude, sign, degree, daily speed, retrograde flag and house; Chiron, the true node, Black Moon Lilith and the Part of Fortune; ascendant, midheaven and the twelve cusps in seven house systems; every aspect with its orb, minor ones on request. Tropical zodiac, apparent geocentric positions within 1′ of the Swiss Ephemeris (Chiron within 2″ of JPL Horizons). Without a birth time: noon positions, no angles and no houses.
| Parameter | Meaning |
|---|---|
date * | Birth date, YYYY-MM-DD (1900 to 2100). |
time | Birth time on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place * | Birth place: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
house_system | House system: placidus (default), koch, whole (whole sign), equal (from the ascendant), porphyry, regiomontanus or campanus. Placidus and Koch have no cusps beyond the polar circles: whole sign is used there, and the answer says so. |
minor_aspects | Also list the minor aspects: semisextile, semisquare, quintile, sesquiquadrate, biquintile (2° orb) and quincunx (3°). Default false. |
synastry · Synastry grid and house overlays (astrologer data)
For astrologers: every aspect between two charts (ten bodies, Chiron, the node, and the angles when the time is known; minor aspects on request) with orbs, and the house overlays both ways (each planet of A in B's houses, needs B's birth time), plus the compatibility score of astramiga.com with its rule's contacts.
| Parameter | Meaning |
|---|---|
date_a * | Birth date of person A, YYYY-MM-DD (1900 to 2100). |
time_a | Birth time of person A on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place_a * | Birth place of person A: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
date_b * | Birth date of person B, YYYY-MM-DD (1900 to 2100). |
time_b | Birth time of person B on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place_b * | Birth place of person B: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
house_system | House system: placidus (default), koch, whole (whole sign), equal (from the ascendant), porphyry, regiomontanus or campanus. Placidus and Koch have no cusps beyond the polar circles: whole sign is used there, and the answer says so. |
minor_aspects | Also list the minor aspects: semisextile, semisquare, quintile, sesquiquadrate, biquintile (2° orb) and quincunx (3°). Default false. |
transits · Transits to a natal chart (astrologer data)
For astrologers: the sky at an instant (default now) against a natal chart: each transiting body (ten bodies, Chiron and the node) with its position, retrograde flag and natal house, and every aspect it makes to the natal bodies, Chiron and angles, with orbs (natal orbs: 8° conjunction and opposition, 6° square and trine, 4° sextile; minor aspects on request). Seven house systems.
| Parameter | Meaning |
|---|---|
date * | Birth date, YYYY-MM-DD (1900 to 2100). |
time | Birth time on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place * | Birth place: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
at | Instant of the transits, ISO 8601 (2027-03-01T12:00:00Z). Default: now. |
house_system | House system: placidus (default), koch, whole (whole sign), equal (from the ascendant), porphyry, regiomontanus or campanus. Placidus and Koch have no cusps beyond the polar circles: whole sign is used there, and the answer says so. |
minor_aspects | Also list the minor aspects: semisextile, semisquare, quintile, sesquiquadrate, biquintile (2° orb) and quincunx (3°). Default false. |
ephemeris · Ephemeris at an instant (astrologer data)
For astrologers: apparent geocentric tropical longitude, sign, degree, daily speed and retrograde flag of the ten bodies and the mean North Node at one instant (default now), within 1′ of the Swiss Ephemeris. Add a place to get the ascendant and midheaven of that instant.
| Parameter | Meaning |
|---|---|
at | Instant, ISO 8601 (2027-03-01T12:00:00Z). Default: now. |
latitude | Latitude in degrees, north positive, for the angles (optional). |
longitude | Longitude in degrees, east positive, for the angles (optional). |
relocation · Astrocartography lines near a place (astrologer data)
For astrologers: the astrocartography (planetary lines) of a birth seen from another place: the lines that pass nearest that place, with their distance in km, and the relocated ascendant and midheaven. Needs the birth time.
| Parameter | Meaning |
|---|---|
date * | Birth date, YYYY-MM-DD (1900 to 2100). |
time | Birth time on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place * | Birth place: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
target * | The place to read: a town ("Lisbon, Portugal") or "latitude, longitude, IANA zone". |
progressions · Secondary progressions and solar arc (astrologer data)
For astrologers: the secondary progressed chart for a date (default today, 'a day for a year'), the solar arc, the progressed midheaven and ascendant (solar arc in longitude, ascendant from the progressed midheaven at the birth latitude), the solar arc directed planets, and every progressed or directed point within 1° of a natal one. Progressed Sun and Moon within 1′ of the Swiss Ephemeris. Without a birth time: no angles, and the progressed Moon is uncertain by about half a degree.
| Parameter | Meaning |
|---|---|
date * | Birth date, YYYY-MM-DD (1900 to 2100). |
time | Birth time on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place * | Birth place: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
at | Date the chart is progressed to, ISO 8601 (2027-03-01). Default: now. |
house_system | House system: placidus (default), koch, whole (whole sign), equal (from the ascendant), porphyry, regiomontanus or campanus. Placidus and Koch have no cusps beyond the polar circles: whole sign is used there, and the answer says so. |
returns · Solar and lunar return charts (astrologer data)
For astrologers: the solar return of a year (the instant the Sun comes back to its natal degree, within about a minute of the Swiss Ephemeris) or the next lunar return after a date, with the chart of that instant: bodies, angles, cusps, aspects, and the natal house of the return ascendant. Cast at the birth place, or at another place for a relocated return. Needs the birth time: the Sun moves a degree a day, the Moon thirteen.
| Parameter | Meaning |
|---|---|
date * | Birth date, YYYY-MM-DD (1900 to 2100). |
time | Birth time on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place * | Birth place: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
kind | solar (default) or lunar. |
year | Year of the solar return. Default: this year. |
from | The lunar return is the first one at or after this date, ISO 8601. Default: now. |
return_place | Where the person is at the return, for a relocated return: a town ("Lisbon, Portugal") or "latitude, longitude, IANA zone". Default: the birth place. |
house_system | House system: placidus (default), koch, whole (whole sign), equal (from the ascendant), porphyry, regiomontanus or campanus. Placidus and Koch have no cusps beyond the polar circles: whole sign is used there, and the answer says so. |
composite · Composite and Davison charts of a couple (astrologer data)
For astrologers: the relationship chart of two people. method midpoint (default): the composite chart, every planet and angle at the midpoint of the two natal positions, composite houses from the midpoints of the cusps. method davison: a real chart cast for the instant and the place halfway between the two births. Bodies, angles and houses (both birth times needed for them), and the aspects within the chart.
| Parameter | Meaning |
|---|---|
date_a * | Birth date of person A, YYYY-MM-DD (1900 to 2100). |
time_a | Birth time of person A on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place_a * | Birth place of person A: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
date_b * | Birth date of person B, YYYY-MM-DD (1900 to 2100). |
time_b | Birth time of person B on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place_b * | Birth place of person B: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
method | midpoint (composite, default) or davison. |
house_system | House system: placidus (default), koch, whole (whole sign), equal (from the ascendant), porphyry, regiomontanus or campanus. Placidus and Koch have no cusps beyond the polar circles: whole sign is used there, and the answer says so. |
minor_aspects | Also list the minor aspects: semisextile, semisquare, quintile, sesquiquadrate, biquintile (2° orb) and quincunx (3°). Default false. |
transit_calendar · Dates of the exact transits to a natal chart (astrologer data)
For astrologers: every date in a window when a transiting body makes an exact major aspect (conjunction, sextile, square, trine, opposition) to a natal body or angle, to the minute, with each pass of a retrograde planet listed. Default: the slow planets (Jupiter to Pluto and Chiron) over the next 365 days. The Moon only in windows of 31 days or less.
| Parameter | Meaning |
|---|---|
date * | Birth date, YYYY-MM-DD (1900 to 2100). |
time | Birth time on the local clock, HH:MM, 24-hour. Leave out when unknown: the rising sign, the houses and a Moon that changed sign that day then stay out. |
place * | Birth place: a town ("Paris, France", "Springfield, Illinois") or "latitude, longitude, IANA zone" ("48.85, 2.35, Europe/Paris"). Historical time zones and daylight saving are applied. |
from | Start of the window, ISO 8601. Default: now. |
days | Length of the window in days, 1 to 366. Default 365. |
bodies | Transiting bodies: slow (default: Jupiter, Saturn, Uranus, Neptune, Pluto, Chiron), all (Sun to Pluto and Chiron, the Moon too when days ≤ 31) or a comma list (saturn,pluto). |
Example
curl -X POST https://astramiga.com/api/v1/big-three \
-H 'Content-Type: application/json' \
-d '{"date":"1993-07-15","time":"14:30","place":"Paris, France"}'Frequently asked questions
How do I use Astramiga in Claude or ChatGPT?
In Claude, open Settings, Connectors, Add custom connector, and paste https://astramiga.com/api/mcp. In ChatGPT, turn on developer mode in Settings, Apps, then create an app with the same URL. No account or key is needed.
Is my birth data stored?
No. A birth sent to the API is computed and forgotten: it is never written to a database, a log or a cache, and it is only accepted in the body of a POST request, never in a URL.
How accurate are the positions?
The planets come from astronomy-engine (VSOP87, ELP/MPP02), within 1 arc minute of the Swiss Ephemeris over 1900 to 2100, with historical time zones and daylight saving from the IANA database. Solar and lunar returns land within about a minute of the Swiss Ephemeris, progressed positions within 1 arc minute, exact transit dates of the slow planets within about an hour. The compatibility score is the one on this site, ranked among a million simulated couples.
Is there a limit?
60 requests per minute per IP address, free. For more, write to contact@astramiga.com.