w8s-astro-mcp

v0.15.2
io.github.w8s/w8s-astro-mcp Checked 3 days ago Published 1 month ago

Natal charts, transits, history, ingress forecasting, aspects, composite & Davison charts — SQLite.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

add_connection_member

Add a profile to an existing connection. Note: adding a member invalidates any cached charts for this connection.

ParameterTypeDescription
connection_id *integerConnection ID (from list_connections)
profile_id *integerProfile ID to add (from list_profiles)

add_location

Add a saved location (home, office, travel destination, etc.) for a profile. Every location must belong to a specific profile.

ParameterTypeDescription
label *stringLocation label (e.g., 'Office', 'Vacation Home')
latitude *numberLatitude in decimal degrees
longitude *numberLongitude in decimal degrees
profile_id *integerProfile ID this location belongs to (required)
timezone *stringTimezone (e.g., 'America/Los_Angeles')
set_as_homebooleanOptional: Set as current home location for this profile

cast_event_chart

Cast an astrological chart for any date, time, and location. No profile required — useful for historical events, mundane astrology, and electional work. If 'label' is provided, the chart is saved to the database and can be referenced later via compare_charts using 'event:<label>'. If 'label' is omitted, the chart is calculated and returned but not saved.

ParameterTypeDescription
date *stringDate in YYYY-MM-DD format
latitude *numberLatitude in decimal degrees
location_name *stringHuman-readable location name (e.g., 'Chicago, IL')
longitude *numberLongitude in decimal degrees
time *stringTime in HH:MM format, local time at the given location (converted to UT using the timezone)
timezone *stringIANA timezone name (e.g., 'America/Chicago'); used to convert the local time to UT
descriptionstringOptional notes about this event
labelstringOptional unique name to save this chart for later reference. If omitted, chart is calculated but not saved. Must be unique among all saved event charts.
profile_idintegerOptional profile ID to associate this event with a person

check_ephemeris

Check the current ephemeris mode and precision level. Reports whether the built-in Moshier ephemeris (~1 arcminute) or Swiss Ephemeris data files (~0.001 arcsecond) are active, and shows the pysweph version.

compare_charts

Calculate aspects between two charts. Use for synastry (comparing two natal charts), transits (comparing natal chart with current positions), or event chart analysis. Finds conjunctions, oppositions, trines, squares, sextiles, and minor aspects. Each aspect names the chart each body belongs to (natal, transit, event) and, when a chart carries planet speeds (transit charts), whether the aspect is applying or separating with an estimated time of exactness. Times are UT. Transit-chart angles use the owner's current home location.

ParameterTypeDescription
chart1_date *stringDate for first chart (YYYY-MM-DD), use 'natal' for a natal chart, or 'event:<label>' for a saved event chart
chart2_date *stringDate for second chart (YYYY-MM-DD), use 'natal' for a natal chart, 'today' for current, or 'event:<label>' for a saved event chart
chart1_profile_idintegerProfile ID for chart1 when chart1_date is 'natal' (from list_profiles). Defaults to owner profile.
chart1_timestringTime for first chart in HH:MM format, interpreted as UT (optional, defaults to 12:00)
chart2_profile_idintegerProfile ID for chart2 when chart2_date is 'natal' (from list_profiles). Defaults to owner profile.
chart2_timestringTime for second chart in HH:MM format, interpreted as UT (optional, defaults to 12:00)
formatstringOutput format. 'text' (default) is human-readable. 'json' returns structured data with numeric orb, applying, days_to_exact and exact_utc fields.
include_anglesstringWhich charts contribute their angles (Ascendant, MC, etc.). 'natal' uses only the natal chart's angles - the usual choice for transits, since the transit sky's own angles change every few minutes and…
orb_multipliernumberMultiplier for aspect orbs (optional, default 1.0)
planets_onlybooleanLegacy switch, kept for compatibility: true (default) compares planets only; false also compares the angles of both charts. Prefer include_angles, which overrides this.

create_connection

Create a new connection between two or more profiles for synastry or composite/Davison chart analysis. Requires at least 2 profile IDs. Use list_profiles to find profile IDs first.

ParameterTypeDescription
label *stringName for this connection (e.g., 'Alice & Bob', 'Family Trio')
profile_ids *arrayList of profile IDs to include (minimum 2)
start_datestringOptional date the relationship began (YYYY-MM-DD)
typestringOptional connection type (e.g., 'romantic', 'family', 'business')

create_profile

Create a new astrological profile (for friends, family, synastry analysis, etc.). After creating, ask user if this should be their current profile. IMPORTANT: Ask for information conversationally: 1. Ask: 'What's their name?' 2. Ask: 'What's their birthday?' (get YYYY-MM-DD) 3. Ask: 'Do you know what time they were born? (If not, we can use 12:00)' 4. Ask: 'Where were they born?' (get city, state/country) Then look up coordinates and confirm before saving.

ParameterTypeDescription
birth_date *stringBirth date in YYYY-MM-DD format
birth_latitude *numberLatitude in decimal degrees
birth_location_name *stringLocation name (e.g., 'New York, NY')
birth_longitude *numberLongitude in decimal degrees
birth_time *stringBirth time in HH:MM format (24-hour), local time at the birth location (converted to UT using birth_timezone)
birth_timezone *stringIANA timezone of the birth location (e.g., 'America/New_York'); used to convert the local birth time to UT
name *stringPerson's name (e.g., 'Sarah Johnson')

delete_connection

Delete a connection and all its cached charts. WARNING: Permanent and cannot be undone. Does not affect the member profiles themselves.

ParameterTypeDescription
confirm *booleanMust be true to confirm deletion
connection_id *integerConnection ID to delete

delete_event_chart

Delete a saved event chart by label. WARNING: Permanent and cannot be undone.

ParameterTypeDescription
confirm *booleanMust be true to confirm deletion
label *stringLabel of the event chart to delete

delete_profile

Delete a profile from the database. WARNING: This is permanent and cannot be undone. Deletes the profile and all associated natal chart data. If this is the owner profile, owner_profile_id will be set to NULL.

ParameterTypeDescription
confirm *booleanMust be true to confirm deletion
profile_id *integerProfile ID to delete (get from list_profiles)

dismiss_data_notice

Stop the 'Data notice' about stored natal charts that need recalculating, until a different chart becomes affected. Call this ONLY when the user asks not to be reminded; it does not fix anything. Use undo=true to bring the notice back.

ParameterTypeDescription
undobooleanIf true, bring the notice back instead of dismissing it (default false)

download_ephemeris_files

Download Swiss Ephemeris data files for higher-precision calculations. Upgrades from built-in Moshier ephemeris (~1 arcminute) to full Swiss Ephemeris files (~0.001 arcsecond). Downloads ~2 MB from the official Swiss Ephemeris GitHub repository to ~/.w8s-astro-mcp/ephe/. Use check_ephemeris first to see current precision mode.

ParameterTypeDescription
confirmbooleanMust be true to proceed. Omit or set false to preview file details (names, sizes, source, destination) first.

find_electional_windows

Scan a time window and return candidate moments that satisfy electional astrology criteria. Useful for finding auspicious times to start a project, sign a contract, hold an event, etc. Scans at a configurable interval (default 60 minutes) and scores each moment against the requested criteria. Returns candidates ranked by score (most criteria met first), then by tightness. Maximum window: 90 days. Maximum interval: 360 minutes (6 hours). Minimum interval: 15 minutes. Available criteria: - moon_not_void: Moon is not void of course - no_retrograde_inner: Mercury and Venus are direct - no_retro…

ParameterTypeDescription
criteria *arrayCriteria to evaluate at each interval
end_date *stringEnd of scan window (YYYY-MM-DD, max 90 days from start)
latitude *numberLatitude for the charts
location_name *stringHuman-readable location name
longitude *numberLongitude for the charts
start_date *stringStart of scan window (YYYY-MM-DD)
timezone *stringIANA timezone: start_date and end_date are local dates in this timezone, and results are shown in local time
interval_minutesintegerMinutes between scan steps (15–360, default 60)
max_resultsintegerMaximum number of candidates to return (default 10)

find_house_placements

Determine which house each planet occupies in a chart. Can use a natal chart (via profile_id or owner default) or a connection chart (composite/Davison via connection_id + chart_type) as the house reference frame. Shows both which planets are in each house and which house each planet is in.

ParameterTypeDescription
date *stringDate for the planets to place (YYYY-MM-DD), 'natal' for birth chart planets, or 'today' for current sky
chart_typestringWhich connection chart to use as the house reference frame. Required when connection_id is supplied.
connection_idintegerConnection ID whose composite/Davison houses to use as the reference frame (from list_connections). Requires chart_type. Mutually exclusive with profile_id.
profile_idintegerProfile ID whose natal houses to use as the reference frame (from list_profiles). Defaults to owner profile. Mutually exclusive with connection_id.
timestringTime in HH:MM format, interpreted as UT (optional, defaults to 12:00)

find_last_transit

Find the most recent logged transit where a planet met specific conditions. Examples: 'when was Mercury last retrograde?', 'when was the Moon last in Scorpio?', 'when was Mars last in my 7th house?'. Requires at least one of: sign, retrograde, or house.

ParameterTypeDescription
planet *stringPlanet name, e.g. 'Mercury', 'Mars'
houseintegerNatal house number to match, 1-12 (optional)
profile_idintegerProfile ID to query (from list_profiles). Defaults to owner profile.
retrogradebooleanIf true, find last retrograde; if false, find last direct (optional)
signstringZodiac sign to match, e.g. 'Capricorn' (optional)

get_connection_chart

Calculate (or retrieve cached) a composite or Davison chart for a connection. COMPOSITE: Each planet position is the circular mean of all members' natal positions. No swetest call needed — pure math on cached natal data. DAVISON: A real chart cast for the midpoint datetime and location of all members' births. Requires a swetest call. Birth times are converted to UTC before averaging, so timezone data in each profile's birth location is used. Results are cached in the database. Use invalidate=true to force recalculation.

ParameterTypeDescription
chart_type *stringType of chart to calculate
connection_id *integerConnection ID (from list_connections)
invalidatebooleanForce recalculation even if cached (default: false)

get_ingresses

Scan the ephemeris for upcoming or recent planetary sign ingresses and stations (retrograde/direct). Examples: 'what transits are coming up this month?', 'when does Mercury go retrograde?', 'show me major transits next April', 'what were the outer planet movements during the Renaissance?'. Use offset to shift the window from today. Use extended=true for historical or far-future windows (outer planets only).

ParameterTypeDescription
daysintegerNumber of days to scan. Normal mode: default 30, max 365. Extended mode: default 30, max 3650.
extendedbooleanIf true, removes offset cap and raises scan cap to 3650 days, but only returns outer planets (Jupiter through Pluto). Inner planets are excluded in extended mode — they produce thousands of events o…
futurebooleanTrue = scan forward from today+offset (default), False = backward
offsetintegerDays from today to start the scan window (default 0). Normal mode: max 36500 (~100 years). Extended mode: uncapped.

get_natal_chart

Get the natal chart (birth chart) planetary positions for a profile. Defaults to the owner profile if no profile_id is supplied.

ParameterTypeDescription
profile_idintegerProfile ID to query (from list_profiles). Defaults to owner profile.

get_transit_history

Query historical transit lookups stored in the database for a profile. Defaults to the owner profile. Supports filtering by date range, planet, and sign. Examples: 'show me last month\'s transits', 'when was Mercury in Capricorn?', 'what sign was Jupiter in last year?'

ParameterTypeDescription
afterstringReturn lookups on or after this date (YYYY-MM-DD, optional)
beforestringReturn lookups on or before this date (YYYY-MM-DD, optional)
limitintegerMax number of results to return (default 20, max 100)
planetstringFilter by planet name, e.g. 'Mercury' (optional)
profile_idintegerProfile ID to query (from list_profiles). Defaults to owner profile.
signstringFilter by zodiac sign, e.g. 'Capricorn' — requires planet (optional)

get_transits

Get planetary transits for a specific date and location. Location can be a saved label ('home', 'work', 'birth'), or any city/place name ('Seattle', 'Bangkok, Thailand', 'Paris') — unknown names are geocoded automatically. Defaults to current home location if omitted.

ParameterTypeDescription
datestringDate in YYYY-MM-DD format (optional, defaults to today)
locationstringSaved label ('home', 'work', 'birth') or any city name ('Bangkok, Thailand', 'Seattle, WA'). Defaults to 'current'.
profile_idintegerProfile ID to query (from list_profiles). Defaults to owner profile.
timestringTime in HH:MM format, interpreted as UT (optional, defaults to 12:00)

list_connections

List all connections with their member names and IDs. Use this to find connection IDs before requesting charts.

list_event_charts

List all saved event charts. Shows label, date/time, location, and optional description. Saved charts can be used in compare_charts via 'event:<label>'.

ParameterTypeDescription
profile_idintegerOptional: filter to events associated with a specific profile

list_profiles

List all astrological profiles in the database. Shows profile names, birth dates, and which is currently active. Use this to see all available profiles before creating, updating, or switching.

remove_connection_member

Remove a profile from a connection. Connection must retain at least 2 members. Note: removing a member invalidates any cached charts.

ParameterTypeDescription
connection_id *integerConnection ID (from list_connections)
profile_id *integerProfile ID to remove

remove_location

Remove a saved location. WARNING: Cannot remove locations that are set as birth locations for profiles.

ParameterTypeDescription
location_id *integerLocation ID to remove (get from view_config)

setup_astro_config

Configure birth data and location for transit calculations. IMPORTANT: Ask the user for information conversationally in steps: 1. Ask: 'What's your birthday?' (get YYYY-MM-DD) 2. Ask: 'Do you know what time you were born? (If not, we can use 12:00)' (get HH:MM) 3. Ask: 'Where were you born?' (get city, state/country) Then look up coordinates and confirm with user before saving.

ParameterTypeDescription
birth_date *stringBirth date in YYYY-MM-DD format
birth_latitude *numberLatitude in decimal degrees
birth_location_name *stringLocation name (e.g., 'Richardson, TX')
birth_longitude *numberLongitude in decimal degrees
birth_time *stringBirth time in HH:MM format (24-hour), local time at the birth location (converted to UT using the timezone)
birth_timezone *stringIANA timezone of the birth location (e.g., 'America/Chicago'); used to convert the local birth time to UT

setup_owner

Set who you are — the human operating this server. This is a one-time setup step, not a session operation. The owner profile is the stable identity used as the default for get_natal_chart, get_transits, and all other tools when no profile_id is supplied. Use list_profiles to find your profile_id.

ParameterTypeDescription
profile_id *integerProfile ID to set as owner (get from list_profiles)

update_profile

Update a profile field (name, birth date, birth time, etc.). Use with caution - changing birth data invalidates cached natal chart. Valid fields: name, birth_date, birth_time

ParameterTypeDescription
field *stringField to update (name, birth_date, birth_time)
profile_id *integerProfile ID to update (get from list_profiles)
value *stringNew value for the field

view_config

View current astrological configuration (birth data and saved locations)

visualize_natal_chart

Generate a circular natal chart visualization and save to file. Creates a traditional astrological chart wheel with zodiac signs, houses, planets, and angles.

ParameterTypeDescription
output_pathstringPath where to save the chart image (e.g., '~/Downloads/natal_chart.png'). Defaults to 'natal_chart.png' in current directory.
profile_idintegerProfile ID to visualize (from list_profiles). Defaults to owner profile.
titlestringCustom title for the chart (optional, defaults to 'Natal Chart')

visualize_placement_dials

Create an interactive page for learning what a planet, a sign and a house mean, alone and together. Three dials (planet, sign, house) can be turned or switched off, and the reading shows each layer by itself and how the layers combine. The chart's own placements and house cusps are loaded as quick picks. Saves one HTML file to open in a browser.

ParameterTypeDescription
open_in_browserbooleanOpen the page in the default browser after saving. Defaults to false; ask the user before turning it on.
output_pathstringWhere to save the page: a file path, or a file path ending in .html or .htm, or a folder (the file is then named placement_dials_<profile name>.html). Defaults to ~/Downloads/placement_dials_<profile…
profile_idintegerProfile ID to use (from list_profiles). Defaults to owner profile.
titlestringHeading above the placement quick picks (optional, defaults to 'Natal placements')