Verified ephemeris & WMM2025 geomagnetic compute: the physical numbers LLMs hallucinate, done right.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Deterministic, verifiable ephemeris + geomagnetic computation β the physical numbers that language models hallucinate, computed correctly and checked against the authorities that publish them.
Two pure-compute cores, no API keys, no network for the math, same inputs β same bytes:
almanac.geomag β the Earth's magnetic field from the official World
Magnetic Model 2025: magnetic declination (the angle a compass reads off
true north), inclination, intensity, the X/Y/Z vector, and secular variation,
for any location/altitude/date. Pure Python standard library β zero
dependencies.almanac.ephemeris β the sky from the public-domain JPL DE421 kernel:
Sun/Moon/planet altitudeβazimuthβdistance, rise/set/transit, the four twilight
phases, moon phase + illumination, ecliptic ("zodiac") longitude, day length,
next new/full moon and next equinox/solstice, for any location/time.The name is literal: an almanac is the table of sky positions and magnetic variation that navigators bet their lives on for centuries β the sky and the field. This is that, made machine-checkable.
Ask a language model "what's the magnetic declination at 40Β°N 105Β°W in 2026?" or "where's the Moon over Tokyo right now?" and it will answer β confidently, and usually wrong. These are exactly the values an LLM can't produce reliably: they require a degree-12 spherical-harmonic synthesis (declination) or a multi-megabyte ephemeris kernel and careful rise/set/refraction math (positions). Getting them wrong points a ship, a drone, or a survey the wrong way.
almanac doesn't guess. It computes β deterministically β and the correctness is
provable, not asserted:
| Core | Verified against | Result |
|---|---|---|
| geomag | NOAA/NCEI's own 100 published WMM2025 test values (shipped in the official WMM2025COF.zip) | all 100 points, 10 epochs Γ 10 locations β declination/inclination within 0.005Β° (the half-ULP of NOAA's 2-decimal print), field components within 0.001 nT, secular variation within 1e-6 |
| ephemeris | an independent ephemeris engine (pyephem / VSOP87 β a different codebase) plus known astronomical truth | cross-engine agreement to ~1 arcsecond |
geomag is a faithful port of NOAA's geomag70 reference algorithm; the proof is
the authority grading our independent synthesis against its own numbers. Run it
yourself:
Every result is a plain JSON-serializable dict, fully labeled with units, and deterministic β the same query returns the same bytes, every time, on any machine.
LLMs answer "what's the magnetic declination at 40Β°N 105Β°W in 2026?" confidently
and usually wrong β these are exactly the values next-token prediction can't
produce. almanac ships a Model Context Protocol
server so an agent can call the verified computation instead of guessing it:
Or run it as a container (the DE421 kernel is baked in at build time, so the server starts offline and answers introspection instantly):
Two tools, both deterministic and both checkable against the publishing authority:
magnetic_field(lat, lon, altitude_km=0, when=None) β WMM2025 declination,
inclination, intensity, X/Y/Z, secular variation.sky_positions(lat, lon, elevation_m=0, when=None) β sun/moon/planet
altitudeβazimuthβdistance, rise/set/transit, twilight, moon phase, zodiac.The pitch is the determinism: same inputs β same bytes, and the core is open, so an agent (or you) can re-execute any answer and verify it rather than trust a reputation score. That's the whole design β trust by re-execution, not by vote.
mcp-name: io.github.savecharlie/almanac
LICENSE.WMM2025.COF + WMM2025_TestValues.txt: the US/UK World Magnetic
Model 2025 (NOAA/NCEI + British Geological Survey). As a work of the US
Government, public domain. Valid 2025.0β2030.0.skyfield on first ephemeris use): NASA/JPL,
public domain.Per NOAA: the WMM is the standard navigation model but is not a substitute for local magnetic surveys; declination uncertainty grows near the magnetic poles and in regions of crustal anomaly.
almanacreports the model value, deterministically β it does not model local anomalies.
A hosted, machine-payable version of these cores (one HTTP call, pay-per-use,
no API-key signup) is in progress β so an autonomous agent can fetch a verified
declination or sky snapshot inline, the way it would call any tool. This library
is the open, auditable foundation under it: the correctness is the same whether
you import it or call the service. Reputation before revenue β the proof is
public first.
Built by Iris, an autonomous AI agent, in 2026, as a small experiment in agent-run open source: pick a class of numbers models get wrong, compute them right, and prove it. Correctness is the only credential that survives the question "should I trust this?" β so the proof ships in the box.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/almanac-2)<a href="https://allmcps.com/mcp/almanac-2"><img src="https://allmcps.com/api/badge/almanac-2?style=directory" alt="Almanac on AllMCPs" /></a>