deepnatal
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., "@deepnatal Verify ascendant Scorpio 23.0 for 1988-07-15 14:30 Asia/Shanghai"
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.
deepnatal
A natal chart engine that cross-verifies every result three independent ways — and refuses to answer when it can't.
Ships as both a TypeScript library and an MCP server for Claude, Cursor, Codex, Cline and other agents.
npx -y deepnatal-mcp
Why this exists
Ask any astrology site for a birth chart and you get an answer. You almost never get a way to check it.
That matters more than it sounds, because the ascendant — the rising sign — moves about one degree every four minutes. Get the UTC instant wrong by an hour and it shifts by roughly half a sign. The result still looks completely plausible. Nothing about it announces that it's wrong.
And an hour is easy to lose. Taiwan observed daylight saving in 1945–1961 and again in 1974–1979. Mainland China did from 1986 to 1991. Japan did from 1948 to 1951. Plenty of tools quietly apply today's UTC offset to a 1988 birth date and hand back a chart that's off by exactly one hour.
This package is built around the opposite assumption: a result you can't check is not a result.
Related MCP server: stellara-mcp
How it verifies
Three independent paths compute every chart. Disagreement is an error, not something to average away.
Layer | Primary | Independent check |
Timezone | Explicit IANA zone, Node ICU historical | Coordinate-derived zone lookup |
Planets |
|
|
Ascendant | Astrology-library house calculation | Pure spherical geometry — ecliptic × eastern horizon, no astrology library involved |
Typical agreement in practice is under one arcminute. Past tolerance, the call throws rather than returning a chart.
It also degrades honestly where the math genuinely breaks down:
Above 66° latitude, Placidus houses are undefined. The engine falls back to whole-sign and tells you it did, instead of emitting silent nonsense.
Without a birth time, the ascendant, midheaven and houses are simply omitted with reasons. No substituting noon. If the Moon changed sign that day — which happens on nearly half of all dates — that's reported too.
Inside a DST transition gap, where a local time either doesn't exist or happens twice, it throws and asks you to disambiguate.
Verify it yourself
A README asserting "cross-verified" is worth nothing on its own. The suite ships inside the published package, so you can run it against the exact bytes you installed:
npm i deepnatal
node node_modules/deepnatal/dist/selftest.js✅ PASS — 21/21 boundary cases + 11/11 external cross-checks
All three paths agree, and they agree with an outside source.The 21 boundary cases are chosen to be the ones that break things, not the ones that are easy: China's 1986–1991 DST window and a same-year winter control, Taiwan 1979, Japan's 1948–1951 GHQ period, a time that never existed because a DST jump skipped it, and latitudes inside the Arctic Circle where Placidus is undefined.
The 11 external checks compare against values captured from astro-seek. Those exist because the three internal paths share assumptions — tropical zodiac, apparent geocentric positions, true ecliptic of date — and if an assumption itself were wrong, all three would agree on the same wrong answer. Only an outside source catches that.
CI runs the suite on Node 20/22/24 under a deliberately non-UTC system clock, so any accidental dependence on the host timezone fails loudly.
Quick start
npm install deepnatalimport { calculateNatalChart, verifyAscendant } from 'deepnatal';
const birth = {
date: '1988-07-15',
time: '14:30',
timezone: 'Asia/Shanghai', // the BIRTHPLACE's zone, never the user's current one
latitude: 31.23,
longitude: 121.47,
};
const chart = calculateNatalChart(birth);
chart.ascendant; // { sign: 'scorpio', degreeInSign: 10.37, ... }
chart.crossCheckMaxArcmin; // 0.467 — how far the two engines disagreedChecking somebody else's answer
The reason this package exists. Pass a result from any other tool as claim:
verifyAscendant(birth, 'Scorpio 23.0');{
"computed": { "sign": "scorpio", "degreeInSign": 10.37 },
"geometric": { "sign": "scorpio", "degreeInSign": 10.37 }, // independent path
"internalAgreementArcmin": 0,
"oneHourOffsetTest": {
"minusOneHour": { "sign": "libra", "degreeInSign": 27.66 },
"plusOneHour": { "sign": "scorpio", "degreeInSign": 22.98 },
"degreesPerHour": 12.66
},
"claim": {
"verdict": "off-by-one-hour",
"likelyCause": "Measured, not guessed: the supplied value matches this engine's
ascendant for a birth instant one hour LATER than the one given..."
}
}Note degreesPerHour: 12.66. The usual rule of thumb says an hour is 15° — that's the Earth's rotation rate, not the ascendant's rate of travel along the ecliptic, and the two only agree near the equator. This library measures it per chart instead of assuming it.
MCP server
npx -y deepnatal-mcp{
"mcpServers": {
"deepnatal": { "command": "npx", "args": ["-y", "deepnatal-mcp"] }
}
}{
"mcpServers": {
"deepnatal": { "command": "npx", "args": ["-y", "deepnatal-mcp"] }
}
}claude mcp add deepnatal -- npx -y deepnatal-mcpTools
Tool | What it does |
| Ten planets with sign, degree, house, retrograde; ascendant, midheaven, twelve cusps. Fails rather than returning a chart the two engines disagree on. |
| Only what's knowable without a time. Lists what's missing and why. Flags an ambiguous moon sign. |
| Recomputes via pure geometry and adjudicates a value from another tool. Accepts |
| What the historical tzdata actually did on that date, and whether DST was in effect. |
Everything runs locally in the agent's own process. Birth data is about as sensitive as personal data gets, and none of it leaves the machine — there is no network call anywhere in this package.
Why let an agent call this instead of reasoning it out? Because a language model asked to work out a rising sign will produce a confident, plausible, wrong answer, and nothing downstream can detect that. This server returns computed facts and its own uncertainty. It never interprets.
中文說明
deepnatal 是一套會自我驗算的本命盤計算引擎——算不出來時它會拒絕回答,而不是給你一個看起來合理的答案。
上升星座每四分鐘移動約一度。時區算錯一小時,上升就偏掉大半個星座,而結果看起來完全正常,不會有任何地方提示你它是錯的。
而一小時很容易丟。台灣在 1945–1961、1974–1979 實施過夏令時間,中國大陸是 1986–1991,日本是 1948–1951。不少工具會把今天的時區偏移直接套到 1988 年的出生日期上。
三條獨立路徑同時計算,彼此不一致就報錯:
時區層 明確 IANA 時區 + Node ICU 歷史 tzdata,與座標反查時區交叉核對
行星層
circular-natal-horoscope-js×astronomy-engine兩套獨立演算法上升層 純球面幾何第三條路(黃道與東方地平線交點),完全不依賴任何占星函式庫
實測吻合度在 1 角分以內。超過容許值就丟出錯誤,不回傳星盤。
verifyAscendant() 可以用來檢查任何其他工具算出的上升是否正確。它不猜原因——而是實際重算前後各一小時的上升點,如果對方的答案正好落在那裡,就能證明差異來自時區處理而非天文計算。
完整工具與說明見 deepnatal.com。
What this does not prove
Being straight about the boundaries is part of the point.
Cross-verification catches implementation bugs and drift. It cannot prove the shared conventions are the right ones — all three paths assume the tropical zodiac, apparent geocentric positions and the true ecliptic of date.
A reproducible chart says nothing about whether astrology predicts anything. This package computes positions. It makes no claim about meaning.
Two tools can legitimately differ over house system, zodiac (tropical vs sidereal), ephemeris, node convention or rounding.
verify_ascendantdistinguishes a one-hour offset from these, but it doesn't declare a winner in matters of convention.Wrong birth data still produces a technically correct chart of the wrong moment. Nothing downstream can rescue that.
Licensing
MIT. The dependency chain is deliberately kept clear for redistribution:
Package | License |
| Unlicense (public domain) |
| MIT |
Notably not Swiss Ephemeris (sweph / swisseph). Its dual AGPL-3.0-or-later OR LGPL-3.0-or-later listing is misleading: the LGPL option requires purchasing an Astrodienst commercial license first. Without one you're on AGPL, which reaches network services and would require open-sourcing everything that touches it. That constraint is why most hosted astrology products can't ship their calculation layer as an open package — this one can.
Credits
This is the calculation layer of deepnatal.com, extracted verbatim — the site runs the same code that ships here, so any chart it produces can be reproduced locally against this package.
Issues and PRs: github.com/breezefeng/deepnatal
Available Tools
4 toolscalculate_chart_without_birth_timeCalculate a chart without a birth timeA
For users who do not know their birth time. Returns only what is genuinely knowable without it, and explicitly lists what is not: ascendant, midheaven and all house positions are omitted with reasons rather than estimated. Also reports whether the Moon changed sign during that day — it does on nearly half of all dates, which means the moon sign itself is undetermined without a time. Never substitute noon and present the result as fact; that is exactly what this tool exists to prevent.
Inputs: date (required), latitude (required), timezone (required), longitude (required).
calculate_natal_chartCalculate a natal chartA
Compute a full natal/birth chart: ten planets with sign, degree, house and retrograde status, plus ascendant, midheaven and twelve house cusps. Every result is cross-checked by two independent astronomy implementations and the call FAILS rather than returning a chart when they disagree. Use this whenever a user asks for a birth chart, rising sign, or planetary placements — do not attempt the arithmetic yourself. Requires an exact birth time; if the time is unknown use calculate_chart_without_birth_time instead.
Inputs: date (required), time (required), latitude (required), timezone (required), +1 more.
inspect_historical_timezoneInspect historical timezone and DSTA
Resolve a local birth date and time to UTC using historical timezone rules, and report whether daylight saving time was actually in effect on that date. This is the single most common source of wrong charts: many tools apply the PRESENT-DAY offset to a past date. Taiwan observed DST 1945-1961 and 1974-1979, mainland China 1986-1991, Japan 1948-1951 — a birth inside those windows is an hour off in tools that ignore them, which moves the ascendant about 15 degrees. Use this to explain WHY two charts differ.
Inputs: date (required), time (required), timezone (required).
verify_ascendantIndependently verify an ascendantA
Recompute the ascendant along a third path that imports no astrology library at all — pure spherical geometry, the intersection of the ecliptic with the eastern horizon — and report how far it lands from the primary engine. Optionally pass a value produced ELSEWHERE (another website, an app, a printed chart) as claim and this will tell you whether it holds up and, when it does not, name the likely cause. Use this when a user says two sites disagree about their rising sign, doubts a result, or asks which one is correct. Accepts claims like "Virgo", "處女座", "12 Leo", "Leo 12°34'" or a bare ecliptic longitude.
Inputs: date (required), time (required), latitude (required), timezone (required), +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a distinct, clearly scoped job: full chart calculation, best-effort chart without a birth time, independent ascendant verification, and historical timezone resolution. The only potentially close pair is the two calculate_chart tools, but their exact-time vs unknown-time condition removes ambiguity.
All tool names follow a predictable verb_object snake_case pattern: calculate_natal_chart, calculate_chart_without_birth_time, verify_ascendant, and inspect_historical_timezone. The names clearly communicate the action and target, with no mixed casing or vague verbs.
Four tools is a tight, well-scoped set for a birth chart calculation service. Each tool earns its place by addressing a distinct user need or diagnosis path, and none feels redundant or missing.
The surface covers the full chart path, the no-birth-time fallback, external ascendant claim verification, and the most common hidden error source in chart calculation: historical timezone changes. There are no obvious dead ends for the stated purpose of computing and troubleshooting natal charts.
Maintenance
Related MCP Connectors
Swiss Ephemeris for AI agents: exact natal charts, transits, synastry and birth-place resolution
Western, Vedic, and Chinese astrology calculations, charts, forecasts, and geocoding.
Western natal charts, horoscopes, transits and synastry for AI agents, verified vs NASA JPL.
City geocoding and timezone resolution for birth data, for AI agents, one API key.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceHigh-precision astrology tools for LLM agents, including natal charts, transits, progressions, synastry, and more, backed by Swiss Ephemeris.1MIT
- 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
- AlicenseAqualityCmaintenanceEnables AI assistants to retrieve precise astrology calculations, including natal charts, transits, composites, harmonic midpoints, and ranked daily aspects, using real ephemeris data rather than guesses.51AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to compute ephemeris-grade natal charts, current transits, and zodiac sign profiles through deterministic astrology tools.MIT