
Almanac
io.github.savecharliePublished by GitHub account savecharliev0.1.2Updated Oct 24, 2026
Verified ephemeris & WMM2025 geomagnetic compute: the physical numbers LLMs hallucinate, done right.
The publisher's own server: Almanac
Overview
Local MCP server that computes verified magnetic declination and sky positions so an assistant can return exact numbers instead of guessing.
- What you can do
- Compute Earth's magnetic field for a location, altitude and date: declination, inclination, intensity, X/Y/Z components and secular variation from WMM2025.
- Compute sky positions for a location and time: Sun, Moon and planet altitude, azimuth and distance, plus rise/set/transit.
- Get twilight phases, moon phase and illumination, zodiac longitude, day length, and the next new/full moon or equinox/solstice.
- Return plain JSON-serializable results with labeled units, deterministic for the same inputs.
- When to use it
- Useful when an assistant needs trustworthy compass declination, navigation, surveying, drone or astronomy figures that language models tend to state confidently but wrongly, and when results should be reproducible and checkable.
- Requirements
- Runs locally over stdio, typically launched with uvx almanac-compute or installed from PyPI; a container build is also described. No API keys, accounts or network access are needed for the math; the ephemeris core depends on skyfield and the public-domain DE421 kernel, which the container bakes in at build time. Desktop only.
Installation
In SourceWeft
- Open Almanac in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
almanac
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.
Why this exists
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:
Correctness (the whole point)
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:
Quickstart
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.
API
Use it from an AI agent (MCP)
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
Data provenance & license
- Code (the synthesis, the wrappers, the tests): MIT — see
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.- JPL DE421 kernel (fetched by
skyfieldon 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.
Roadmap
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.
Source: README.md at commit 6536c91
Tools
0Version history
1- v0.1.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Almanac integrations

Almanac
ar.almanacOfficial publisher
Gives an assistant access to official Argentine economic and financial data from BCRA, INDEC, CNV and MECON.

Chinese Almanac Mcp
Published by GitHub account yonlandwu
A local MCP server that gives an assistant Chinese Tung Shing almanac data: daily almanac, auspicious date picking, solar terms, and zodiac horoscopes.

Agent Almanac MCP
Published by GitHub account survivorforge
A local MCP server that lets an assistant search the Agent Almanac catalog of 9,000+ MCP servers and look up install details for each one.