astrolog-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@astrolog-mcp What's my natal chart for June 15 1990, 2:30 PM in Paris?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🔭 astrolog-mcp
Exact astrology chart data for any AI assistant. Calculated by Astrolog and the Swiss Ephemeris, served over MCP.
Ask your assistant about a birth chart and get real positions back, not made-up ones.
"What are my Sun, Moon and rising for 15 June 1990, 14:30, born in Paris, France?" →
Sun 24°09′ Gemini, Moon 15°38′ Pisces, Ascendant 2°28′ Libra— example output (plus houses, aspects, midpoints…)
Why
Accurate. Real ephemeris maths, not an LLM's guess. Chiron, Ceres and the dwarf planets included.
Works anywhere. Claude Desktop, Claude Code, Cursor, or any MCP client, over stdio or HTTP.
Fast. A typical warm call takes about 25 to 65 ms at the median on loopback (see the latency table), quick enough for voice assistants.
Offline places. Type a city name. The installer downloads the GeoNames tables once; no live geocoding service or API keys.
Private. No accounts, no logging of birth data, no birth data is kept after a call.
Facts, not fortune-telling. It returns numbers. Your assistant does the interpreting.
Related MCP server: @getbirthchart/mcp
🚀 Quick start
# needs: Node.js 22.2+, make, tar, a C/C++ compiler (Linux/macOS, or Windows via WSL2)
git clone https://github.com/0xctx/astrolog-mcp.git && cd astrolog-mcp
npm ci && npm run install:astrolog && npm run buildThen connect it to your assistant: docs/clients.md has copy-paste configs for Claude Desktop, Claude Code and others. Prefer containers? docker compose up --build.
Tools
Tool | You get |
| A natal chart: bodies, houses, angles, aspects |
| The sky for a date (or now) against a natal chart |
| A composite or Davison chart for two people |
| A harmonic chart's midpoint structures |
| One day's ranked aspect hits, sign and house changes, retrograde changes and the Moon, with exact times |
Seven house systems, harmonics from 1 to 10000 (the daily reading caps its own by the day's length), place names or coordinates. See the tool reference.
📚 Docs
Claude Desktop, Claude Code, Cursor, HTTP | |
Every input, output and error | |
Installer options, requirements, troubleshooting | |
Environment variables | |
Docker, OAuth, limits, proxies, latency | |
Layout, tests, how results are verified | |
What you must do when you run or share it |
🤝 Contributing
Bug reports, ideas and pull requests are welcome. Start with CONTRIBUTING.md.
⭐ Like it?
A star helps other people find it.
📜 Licence
AGPL-3.0-only. It is built on Astrolog (GPL), the Swiss Ephemeris (AGPL or Professional licence) and place data from GeoNames (CC BY 4.0, credited to GeoNames). Details and notices: docs/licensing.md and NOTICE.
Available Tools
5 toolsget_chart_dataNatal chart dataARead-onlyIdempotent
Call this when someone asks to calculate a natal chart (birth chart) for a birth date, time and place: where the Sun, Moon, planets, houses and angles fall, and their aspects. Why: the numbers come from the configured engine with fixed settings, so the same input always gives the same numbers. With ENGINE=stub they are placeholders, and the text starts with a PLACEHOLDER line. Returns: a headline of the Sun, Moon and Ascendant positions; each requested body with sign, degree, minute, retrograde flag and house; the twelve house cusps; the four angles (ASC, MC, DSC, IC); the aspects, which are by default the 8 tightest of the five major aspects between bodies; the total count and a truncated flag; and the house system, the harmonic, the version of the engine that made the numbers, UT moment and place. Aspects: "aspects" chooses the set. "major" (default) reads the five major aspects between bodies, and nothing else; its output is unchanged. "all" reads the 17 vibrational aspects, such as semisquare, quincunx, quintile, septile and novile, between bodies and the angles ASC and MC, with each orb 16 degrees divided by the aspect's harmonic, and the five major ones at the wider of that and their major orb (trine 6, square 6, sextile 4), so the "all" set holds every major aspect (with aspect_limit 0, every one is listed). Only "all" reads the angles as targets and adds a strength to each item and set to the list. "aspect_limit" is how many to list, 8 by default; 0 lists every aspect. Harmonic H, from 1 to 10000 and 1 when left out, multiplies every longitude by H, and the houses and angles shown are the harmonic multiples of the natal ones, not recalculated cusps. Input ayanamsa sets the zodiac: tropical by default, or lahiri, fagan_bradley, raman or krishnamurti for sidereal longitudes; a sidereal result names the ayanamsa in meta. Gives positions and facts only, with no interpretation. Pass either place, or latitude, longitude and timezone.
Inputs: birth_date (required), birth_time (required), place, bodies, +8 more. Returns: meta, angles, bodies, houses, +3 more
get_composite_dataComposite of two chartsARead-onlyIdempotent
Call this when someone asks how two people's charts combine, as one merged composite chart or as a Davison midpoint chart. Why: both charts come from the configured engine with fixed settings, so the same two people always give the same numbers. With ENGINE=stub they are placeholders, and the text starts with a PLACEHOLDER line. Returns: the composite's bodies with sign, degree, minute, retrograde flag and house; the twelve house cusps; the four angles (ASC, MC, DSC, IC); the aspects, which are by default the 8 tightest of the five major aspects between its bodies, with the total count and a truncated flag; and the kind, the two birth moments in UT, the Davison midpoint moment when the kind is davison, the house system and the engine's version. Aspects: "aspects" chooses the set. "major" (default) reads the five major aspects between the bodies, and nothing else; its output is unchanged. "all" reads the 17 vibrational aspects, such as semisquare, quincunx, quintile, septile and novile, between the bodies and the angles ASC and MC, with each orb 16 degrees divided by the aspect's harmonic, and the five major ones at the wider of that and their major orb (trine 6, square 6, sextile 4), so the "all" set holds every major aspect (with aspect_limit 0, every one is listed). Only "all" reads the angles as targets and adds a strength to each item and set to the list. "aspect_limit" is how many to list, 8 by default; 0 lists every aspect. A composite has no moment of its own: it uses the two birth moments and places. Input ayanamsa sets the zodiac of the composite: tropical by default, or lahiri, fagan_bradley, raman or krishnamurti for sidereal longitudes; a sidereal result names the ayanamsa in meta. Gives positions and facts only, with no interpretation. Give each person as place, or as latitude, longitude and timezone.
Inputs: kind (required), person_a (required), person_b (required), aspects, +3 more. Returns: meta, angles, bodies, houses, +3 more
get_daily_transitsDaily transits for a birth chartARead-onlyIdempotent
Call this when someone asks what one whole local day holds for a birth chart, such as today's transits for a person: the transits and midpoint contacts ranked highest by score on one local day, when each goes exact, which transiting objects change sign or natal house, which change retrograde direction, and what the Moon does that day. Why: the natal chart comes from the configured engine, and the sky is read at local midnight, at the middle of the day and at the next midnight, as three engine reads in parallel with the same zodiac. Aspects, midpoints, exact times and the ranking are arithmetic on those positions, so the same input always gives the same numbers. With ENGINE=stub they are placeholders. Returns: a headline, the day's bounds and length, and the aspect hits across the pairings T to N, T to Nm, Tm to N and Tm to Nm, ranked by score, each with its orb, score, applying or separating, and its exact time, to the minute, or null; the sign and natal house changes with their times; the retrograde changes with their times; and the Moon's sign changes and its aspects that day, including a transiting midpoint that holds the Moon. Each list is up to limit (default 10, at most 50) with its total and a truncated flag. It also gives the codes the engine did not compute, the house system, the natal moment, the place and the provenance. Inputs: birth_date, birth_time and place, or latitude, longitude and timezone; date, the local day; day_timezone, the day's IANA zone, which defaults to the natal timezone; house_system; ayanamsa (tropical by default, or lahiri, fagan_bradley, raman or krishnamurti for sidereal longitudes), applied to the natal chart and every sky sample; aspects, "major" (default) or "all"; harmonic, from 1 up to 432 divided by the day's hours, rounded down; limit; and min_strength, which keeps only hits whose score, to two places, is at least that. The score is orb tightness times weight, divided by 1.5 (weight 1 plus 0.25 for an outer transiting body plus 0.25 for a key natal point). Tightness is 1 at exact and 0 at the edge of the orb. Gives positions and facts only, with no interpretation.
Inputs: date (required), birth_date (required), birth_time (required), limit, +10 more. Returns: day, hits, meta, moon, +4 more
get_harmonic_midpointsHarmonic midpoint structuresARead-onlyIdempotent
Call this when someone asks which midpoint structures a birth chart has in one harmonic, such as harmonic 5 or 7, for a birth date, time and place. Why: the chart is cast once by the configured engine, each longitude is multiplied by the harmonic, and the classic midpoint method tests every pair of points, so the same input always gives the same structures. With ENGINE=stub they are placeholders, and the text starts with a PLACEHOLDER line. Returns: a headline with the structure count and the tightest structure; the harmonic positions of the bodies, Ascendant and Midheaven; up to limit structures (default 12, at most 50) ranked by orb, each with its focus point, the two points whose midpoint it is, the aspect, orb, strength and the midpoint's sign and degree; the total count; and the harmonic, house system, UT moment, place and provenance. Input ayanamsa sets the zodiac the longitudes are multiplied in: tropical by default, or lahiri, fagan_bradley, raman or krishnamurti for sidereal longitudes; a sidereal result names the ayanamsa in meta. Gives positions and facts only, with no interpretation. Pass either place, or latitude, longitude and timezone. One harmonic per call.
Inputs: harmonic (required), birth_date (required), birth_time (required), limit, +6 more. Returns: meta, missing, headline, structures, +1 more
get_transit_dataTransits to a natal chartARead-onlyIdempotent
Call this when someone asks what the sky holds at one moment, now or at a given date and time, against a natal chart: which planets are transiting and which natal points they aspect at that moment. Why: the natal chart and the sky come from the configured engine with fixed settings, so the same input always gives the same numbers. With ENGINE=stub they are placeholders, and the text starts with a PLACEHOLDER line. Inputs: birth_date and birth_time give the birth moment in the local time of the birth place, with place, or with latitude, longitude and timezone. house_system names the natal house system. ayanamsa sets the zodiac of both the natal chart and the sky. harmonic sets the harmonic of both. bodies limits the transiting bodies, and so the midpoints made of them; the natal chart is always whole. transit_date and transit_time give the moment of the sky, with transit_timezone for its zone; leave out both for the sky now. Returns: the transiting bodies with sign, degree, minute and retrograde flag; the aspects, ranked by orb for the default reading and by strength for the others, the 15 tightest unless aspect_limit says otherwise, with the total and a truncated flag; and the sky moment, the birth moment, the house system and the harmonic. Reading: aspects is "major" (default) or "all" (17 vibrational aspects). A point pairing (T to N) takes each aspect's own transit orb; any pairing with a midpoint takes the classic midpoint orb. include lists the pairings, in any order: "points" (default: transiting bodies to natal points, T to N), "to_natal_midpoints" (to natal midpoints, T to Nm), "transit_midpoints" (midpoints of transiting bodies to natal points, Tm to N) and "midpoint_to_midpoint" (transit midpoints to natal midpoints, Tm to Nm). Every row names its pairing, the points or midpoint pairs involved, orb, strength and phase (applying, separating or unknown). The default reading keeps its keys, order, orb and strength, and only a row whose phase is unknown changes its applying (false) and text ("phase unknown"); any other reading ranks by strength. Every row has the same keys. min_strength keeps the aspects at or above a strength from 0 to 1, and aspect_limit sets how many to list, with 0 for all. Leave out transit_date and transit_time for the sky now. With harmonic above 1, the natal chart and the sky are both multiplied by the harmonic (longitude times harmonic, mod 360), and every longitude returned is that harmonic chart's. Input ayanamsa sets the zodiac for both the natal chart and the sky: tropical by default, or lahiri, fagan_bradley, raman or krishnamurti for sidereal longitudes; a sidereal result names the ayanamsa in meta. Gives positions and facts only, with no interpretation.
Inputs: birth_date (required), birth_time (required), place, bodies, +13 more. Returns: sky, meta, aspects, missing, +1 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The tools are largely distinct: natal chart, composite chart, harmonic midpoints, moment transits, and daily transits. The only notable overlap is get_transit_data versus get_daily_transits, both transit calculations, though the descriptions clearly separate a single moment from a whole local day.
All five tools use a consistent get_<noun phrase> pattern in snake_case. The minor variation between _data suffixes and direct nouns does not break the predictable convention.
Five tools is well-scoped for a focused astrology calculation server. Each tool covers a distinct chart or transit operation, with no filler or redundant entries.
The surface covers core natal, transit, daily transit, composite, and harmonic midpoint workflows. Notable gaps remain, such as synastry between two natal charts, progressions, and return charts, but core chart-data retrieval is well covered.
Maintenance
Related MCP Connectors
Western natal charts, horoscopes, transits and synastry for AI agents, verified vs NASA JPL.
Swiss Ephemeris for AI agents: exact natal charts, transits, synastry and birth-place resolution
Аccess to personalized Enigmata astrological forecasts (day/week/month/thematic) for AI assistants
Real astrology for AI agents: cosmic weather, synastry, timing, astrocartography, and divination.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceHigh-precision astrology tools for LLM agents, including natal charts, transits, progressions, synastry, and more, backed by Swiss Ephemeris.1MIT
- AlicenseAqualityCmaintenanceEnables MCP-compatible AI clients to access structured GetBirthChart astrology calculations such as natal charts, planet positions, the big three, moon sign, rising sign, aspects, and synastry through the public API.737 npmMIT
- AlicenseAqualityBmaintenanceEnables AI agents to compute deterministic astrological data with Swiss Ephemeris, including natal charts, transits, synastry, and birth-place resolution, so they never invent planetary positions.455 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to compute ephemeris-grade natal charts, current transits, and zodiac sign profiles through deterministic astrology tools.MIT