bbn-mcp-server
Click on "Install 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., "@bbn-mcp-serverCompute primordial abundances for Omega_b h2=0.022, dNeff=0, tau_n=879s"
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.
bbn-mcp-server
An MCP server that exposes science tools — Big Bang Nucleosynthesis, the
particle physics of the universe's first three minutes — to any LLM agent.
Built on the same pattern as
spectra-mcp-server and
gaia-mcp-server; the
multi-agent client in
multiagent-client-demo
drives any of these servers unchanged.
The science
Between one second and a few minutes after the Big Bang, the expanding universe ran a nuclear reactor. Its output — the primordial abundances of helium-4, deuterium, helium-3 and lithium-7 — is still measurable today, and it depends on exactly three things an agent can turn:
the baryon density Ω_b h² (how much ordinary matter exists),
extra relativistic species ΔN_eff (any light particle beyond the three Standard Model neutrinos — dark radiation, sterile states, axions — speeds up the expansion and changes the yields),
the neutron lifetime τ_n (which sets the neutron/proton ratio at weak freeze-out — and whose laboratory measurements currently disagree by ~10 s, the "bottle vs beam" puzzle).

The classic stories are all here: the abundances and the CMB agree on the baryon density of the universe (concordance), helium counts the light degrees of freedom at t ~ 1 s, and the lithium-7 panel shows a famous unsolved problem — the prediction is ~3× the observed Spite plateau.
All computations run on
PRyMordial (Burns, Tait &
Valli, EPJC 84 (2024) 86), the
community Python code for precision BBN within and beyond the Standard
Model. PRyMordial is GPL-3.0 and not on PyPI, so it is not vendored
here — a setup script fetches a pinned copy into extern/ (gitignored).
Related MCP server: sre-toolkit-mcp
Tools
tool | what it does |
| parameters, measured abundances, references, the classic questions — call it first |
| one full 63-reaction run: N_eff, Yp, D/H, ³He/H, ⁷Li/H, each with its pull (σ) against observation |
| abundances vs Ω_b h² → CSV (the Schramm-plot calculation) |
| Yp, D/H, ⁷Li/H vs Ω_b h² with observed bands + the CMB baryon density |
| abundances vs ΔN_eff (each point re-solves the thermal history) → CSV |
| how dark radiation shifts Yp and D/H — BBN as a particle counter |
| Yp and D/H vs τ_n → CSV |
| Yp(τ_n) against the observed helium band and the discrepant bottle/beam measurements |
| χ² fit: the BBN-preferred Ω_b h² ± 1σ, compared with Planck — the concordance test in one number |
Predictions carry the nuclear-rate systematic (PRIMAT compilation, PRyMordial's default) in quadrature with the measurement errors — the d(p,γ)³He rate alone moves D/H by a few percent, which is a genuine, live discussion in the field, not a bug.
Two conventions worth copying into any science MCP server:
Every tool returns
{status, files, message, metadata}(ArtifactResult).Arrays move between tools as file paths, never through the agent's context window.
Install
conda create -n bbn-tutorial python=3.12 -y
conda activate bbn-tutorial
pip install -e ".[dev]"
python scripts/setup_prymordial.py # fetches PRyMordial + precomputes tables (~1 min)
pytestThe setup script clones a pinned PRyMordial commit into extern/PRyMordial
(override with the PRYM_DIR env var) and runs one Standard Model
computation with the save flags on, so the thermal background and weak rates
are cached — that makes parameter scans ~6× faster and lets the server run
without write access to the checkout.
Already have the spectra-tutorial env from the other servers? You can
reuse it: pip install numba numdifftools, run the setup script, then
always launch this server (and pytest) from this repo's root directory —
all tutorial servers export packages named tools and mcp_server, so
don't pip install -e several of them into one env; running from the repo
root makes the local packages win.
Run the server
python -m mcp_server --transport streamable-http --port 8003Clients connect to http://127.0.0.1:8003/mcp. Port 8003 by convention,
so this server can run alongside spectra (8000), gaia (8001) and lattice
(8002). Stop with Ctrl+C.
To use this server from Claude Code, the Claude desktop app, Codex, Cursor,
or any other MCP client, see docs/mcp-clients.md —
a checked-in .mcp.json already wires it into Claude Code.
Questions to ask an agent
"Does the baryon density measured by Planck in the CMB correctly predict the deuterium abundance we observe in quasar spectra? Scan the baryon density, fit it from the abundances, and give me the verdict in sigma."
"If there were one extra neutrino species in the early universe, what would have happened to primordial helium, and is that allowed by the data?"
The first one becomes a genuine two-server question when this server is hosted next to a CMB-capable one (compute the damping tail there, the deuterium here).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables astronomy research by orchestrating specialized agents to access astronomical data tools (DESI, LSST, etc.) and perform analysis, simulations, and literature review.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables LLM agents to perform SRE reliability calculations like error budgets and burn rates using deterministic tools, integrating with Prometheus and Loki for real data.MIT
- AlicenseNot gradedqualityCmaintenanceExposes SwarmLabs physics-informed scientific experiment predictions as MCP tools, enabling agents to run predictions, list engines, and perform parameter sweeps with honesty-first uncertainty reporting.MIT
- FlicenseNot gradedqualityBmaintenanceMCP server that exposes cosmology tools to LLM agents, including CLASS matter power spectrum computation, eBOSS DR14 Lyman-α forest data retrieval, and plotting capabilities.1
Related MCP Connectors
Precision math engine for AI agents. 203 exact methods. Zero hallucination.
60+ units, live FX, timezones, and date arithmetic for AI agents.
Deterministic reasoning stack for AI agents: simulate, decide & compute, plus cross-domain tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nesar/bbn-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server