w8s-astro-mcp
v0.15.2Natal 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.
| Parameter | Type | Description |
|---|---|---|
connection_id * | integer | Connection ID (from list_connections) |
profile_id * | integer | Profile 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.
| Parameter | Type | Description |
|---|---|---|
label * | string | Location label (e.g., 'Office', 'Vacation Home') |
latitude * | number | Latitude in decimal degrees |
longitude * | number | Longitude in decimal degrees |
profile_id * | integer | Profile ID this location belongs to (required) |
timezone * | string | Timezone (e.g., 'America/Los_Angeles') |
set_as_home | boolean | Optional: 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.
| Parameter | Type | Description |
|---|---|---|
date * | string | Date in YYYY-MM-DD format |
latitude * | number | Latitude in decimal degrees |
location_name * | string | Human-readable location name (e.g., 'Chicago, IL') |
longitude * | number | Longitude in decimal degrees |
time * | string | Time in HH:MM format, local time at the given location (converted to UT using the timezone) |
timezone * | string | IANA timezone name (e.g., 'America/Chicago'); used to convert the local time to UT |
description | string | Optional notes about this event |
label | string | Optional 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_id | integer | Optional 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.
| Parameter | Type | Description |
|---|---|---|
chart1_date * | string | Date for first chart (YYYY-MM-DD), use 'natal' for a natal chart, or 'event:<label>' for a saved event chart |
chart2_date * | string | Date 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_id | integer | Profile ID for chart1 when chart1_date is 'natal' (from list_profiles). Defaults to owner profile. |
chart1_time | string | Time for first chart in HH:MM format, interpreted as UT (optional, defaults to 12:00) |
chart2_profile_id | integer | Profile ID for chart2 when chart2_date is 'natal' (from list_profiles). Defaults to owner profile. |
chart2_time | string | Time for second chart in HH:MM format, interpreted as UT (optional, defaults to 12:00) |
format | string | Output format. 'text' (default) is human-readable. 'json' returns structured data with numeric orb, applying, days_to_exact and exact_utc fields. |
include_angles | string | Which 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_multiplier | number | Multiplier for aspect orbs (optional, default 1.0) |
planets_only | boolean | Legacy 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.
| Parameter | Type | Description |
|---|---|---|
label * | string | Name for this connection (e.g., 'Alice & Bob', 'Family Trio') |
profile_ids * | array | List of profile IDs to include (minimum 2) |
start_date | string | Optional date the relationship began (YYYY-MM-DD) |
type | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
birth_date * | string | Birth date in YYYY-MM-DD format |
birth_latitude * | number | Latitude in decimal degrees |
birth_location_name * | string | Location name (e.g., 'New York, NY') |
birth_longitude * | number | Longitude in decimal degrees |
birth_time * | string | Birth time in HH:MM format (24-hour), local time at the birth location (converted to UT using birth_timezone) |
birth_timezone * | string | IANA timezone of the birth location (e.g., 'America/New_York'); used to convert the local birth time to UT |
name * | string | Person'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.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true to confirm deletion |
connection_id * | integer | Connection ID to delete |
delete_event_chart
Delete a saved event chart by label. WARNING: Permanent and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true to confirm deletion |
label * | string | Label 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.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true to confirm deletion |
profile_id * | integer | Profile 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.
| Parameter | Type | Description |
|---|---|---|
undo | boolean | If 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.
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | Must 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…
| Parameter | Type | Description |
|---|---|---|
criteria * | array | Criteria to evaluate at each interval |
end_date * | string | End of scan window (YYYY-MM-DD, max 90 days from start) |
latitude * | number | Latitude for the charts |
location_name * | string | Human-readable location name |
longitude * | number | Longitude for the charts |
start_date * | string | Start of scan window (YYYY-MM-DD) |
timezone * | string | IANA timezone: start_date and end_date are local dates in this timezone, and results are shown in local time |
interval_minutes | integer | Minutes between scan steps (15–360, default 60) |
max_results | integer | Maximum 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.
| Parameter | Type | Description |
|---|---|---|
date * | string | Date for the planets to place (YYYY-MM-DD), 'natal' for birth chart planets, or 'today' for current sky |
chart_type | string | Which connection chart to use as the house reference frame. Required when connection_id is supplied. |
connection_id | integer | Connection ID whose composite/Davison houses to use as the reference frame (from list_connections). Requires chart_type. Mutually exclusive with profile_id. |
profile_id | integer | Profile ID whose natal houses to use as the reference frame (from list_profiles). Defaults to owner profile. Mutually exclusive with connection_id. |
time | string | Time 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.
| Parameter | Type | Description |
|---|---|---|
planet * | string | Planet name, e.g. 'Mercury', 'Mars' |
house | integer | Natal house number to match, 1-12 (optional) |
profile_id | integer | Profile ID to query (from list_profiles). Defaults to owner profile. |
retrograde | boolean | If true, find last retrograde; if false, find last direct (optional) |
sign | string | Zodiac 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.
| Parameter | Type | Description |
|---|---|---|
chart_type * | string | Type of chart to calculate |
connection_id * | integer | Connection ID (from list_connections) |
invalidate | boolean | Force 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).
| Parameter | Type | Description |
|---|---|---|
days | integer | Number of days to scan. Normal mode: default 30, max 365. Extended mode: default 30, max 3650. |
extended | boolean | If 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… |
future | boolean | True = scan forward from today+offset (default), False = backward |
offset | integer | Days 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.
| Parameter | Type | Description |
|---|---|---|
profile_id | integer | Profile 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?'
| Parameter | Type | Description |
|---|---|---|
after | string | Return lookups on or after this date (YYYY-MM-DD, optional) |
before | string | Return lookups on or before this date (YYYY-MM-DD, optional) |
limit | integer | Max number of results to return (default 20, max 100) |
planet | string | Filter by planet name, e.g. 'Mercury' (optional) |
profile_id | integer | Profile ID to query (from list_profiles). Defaults to owner profile. |
sign | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
date | string | Date in YYYY-MM-DD format (optional, defaults to today) |
location | string | Saved label ('home', 'work', 'birth') or any city name ('Bangkok, Thailand', 'Seattle, WA'). Defaults to 'current'. |
profile_id | integer | Profile ID to query (from list_profiles). Defaults to owner profile. |
time | string | Time 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>'.
| Parameter | Type | Description |
|---|---|---|
profile_id | integer | Optional: 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.
| Parameter | Type | Description |
|---|---|---|
connection_id * | integer | Connection ID (from list_connections) |
profile_id * | integer | Profile ID to remove |
remove_location
Remove a saved location. WARNING: Cannot remove locations that are set as birth locations for profiles.
| Parameter | Type | Description |
|---|---|---|
location_id * | integer | Location 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.
| Parameter | Type | Description |
|---|---|---|
birth_date * | string | Birth date in YYYY-MM-DD format |
birth_latitude * | number | Latitude in decimal degrees |
birth_location_name * | string | Location name (e.g., 'Richardson, TX') |
birth_longitude * | number | Longitude in decimal degrees |
birth_time * | string | Birth time in HH:MM format (24-hour), local time at the birth location (converted to UT using the timezone) |
birth_timezone * | string | IANA 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.
| Parameter | Type | Description |
|---|---|---|
profile_id * | integer | Profile 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
| Parameter | Type | Description |
|---|---|---|
field * | string | Field to update (name, birth_date, birth_time) |
profile_id * | integer | Profile ID to update (get from list_profiles) |
value * | string | New 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.
| Parameter | Type | Description |
|---|---|---|
output_path | string | Path where to save the chart image (e.g., '~/Downloads/natal_chart.png'). Defaults to 'natal_chart.png' in current directory. |
profile_id | integer | Profile ID to visualize (from list_profiles). Defaults to owner profile. |
title | string | Custom 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.
| Parameter | Type | Description |
|---|---|---|
open_in_browser | boolean | Open the page in the default browser after saving. Defaults to false; ask the user before turning it on. |
output_path | string | Where 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_id | integer | Profile ID to use (from list_profiles). Defaults to owner profile. |
title | string | Heading above the placement quick picks (optional, defaults to 'Natal placements') |