AI Agents & MCP Server
/mcp · /mcp/sse MCP Server
Streamable HTTP and SSE endpoints exposing 29 typed tools (28 solvers + convert_unit).
/calculators/[slug].md Markdown (.md) Specs
Clean text/markdown specs with governing equations, base units, and solve_for modes.
document.modelContext · /api/* WebMCP & REST API
Browser modelContext hooks for live UI control and JSON REST endpoints for headless scripts.
1. MCP Server Setup
Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"rad-calc": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://radcalc.app/mcp/sse"
]
}
}
}
Cursor & VS Code
.cursor/mcp.json · .vscode/mcp.json
{
"mcpServers": {
"rad-calc": {
"url": "https://radcalc.app/mcp"
}
}
}
Claude Code CLI
Terminal Registration
claude mcp add --transport http rad-calc https://radcalc.app/mcp
Zed Editor
~/.config/zed/settings.json
{
"context_servers": {
"rad-calc": {
"command": {
"path": "npx",
"args": [
"-y",
"mcp-remote",
"https://radcalc.app/mcp/sse"
]
}
}
}
} Direct cURL Examples (JSON-RPC & REST)
Stateless MCP JSON-RPC (
POST /mcp) tools/call · No session handshake curl -X POST https://radcalc.app/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "point_source_calc",
"arguments": {
"exposure_1": 500,
"distance_1": 1,
"distance_2": 5,
"solve_for": "exposure_2"
}
}
}' REST API (
POST /api/calculate/[tool]) Standard HTTP JSON curl -X POST https://radcalc.app/api/calculate/shielding_calc \
-H "Content-Type: application/json" \
-d '{
"initial_exposure": 1000,
"num_hvl": 3,
"solve_for": "final_exposure"
}'
2. Markdown (.md) Specifications
/llms.txt & /agents.md Suite Discovery Index
Self-contained Markdown index listing all 28 calculators, 13 unit dimensions, MCP snippets, and .md URLs.
/calculators/[slug].md HTTP Calculator Specs
Append .md to any calculator URL for YAML frontmatter, LaTeX formula, parameters, and JSON-RPC payloads.
calcs/*.md & AGENTS.md Repository Specs
Local calcs/*.md reference files for IDE agents (Claude Code, Cursor, Zed), also served at /calcs/<name>.md.
Export .md Report QA Lab Reports
Every calculator and the unit converter export timestamped Markdown engineering records for lab notebooks or Obsidian.
3. Tools & .md Catalog
| Calculator & Domain | MCP Tool Name | Governing Equation | solve_for Options | Markdown (.md) Spec & Web UI |
|---|---|---|---|---|
| Radiological Unit Converter | convert_unit | value × (scale_from / scale_to) | activity, distance, dose, energy, exposure, exposure_rate, time, count_rate, contamination, flux, cross_section, areal_density, dose_coefficient | |
| 6CEN Rule of Thumb | six_cen_calc | Ẋ = 6 × C × E × N | exposure_rate activity | |
| Airborne Derived Air Concentration (DAC) & Committed Dose | airborne_dac_calc | f_DAC = C / DAC; CEDE = H_DAC-h × 2.5 mrem/DAC-hr | committed_dose_mrem dac_fraction air_concentration_uci_ml stay_time_hr | |
| ALARA Stay Time & Dose Accumulation | stay_time_calc | t = Allowable Dose / Exposure Rate | stay_time allowable_exposure | |
| Alpha Heavy Daughter Recoil & Specific Ionization | alpha_recoil_calc | E_D = E_α × [4.0015 / (M_P − 4.0015)]; S_i = E_α / (W_air × R_air) | recoil_energy recoil_velocity alpha_energy | |
| Alpha Particle Range & Bragg-Kleeman Stopping | alpha_range_calc | R_air = 0.318 × E^(1.5); R_m = R_air × (ρ_air / ρ_m) × √(A_m / A_air) | range_air range_medium energy | |
| Alpha Surface Contamination Flux & Skin Dose | alpha_flux_dose_calc | Φ(d) = 0.5 × A_s × f_self × max(0, 1 − d / R_air) | flux surface_activity distance | |
| Bateman Parent-Daughter Decay Kinetics & Equilibrium | bateman_calc | A₂(t) = A₁(0) × [λ₂ / (λ₂ − λ₁)] × (e^(−λ₁ t) − e^(−λ₂ t)) + A₂(0) e^(−λ₂ t) | daughter_activity time_max_daughter_hr parent_initial_activity | |
| Beta Particle Maximum Range & Stopping Thickness | beta_range_calc | R = 0.412 × E^(1.265 − 0.0954 ln E) (Katz-Penfold) / 0.542 E − 0.133 (Feather) | linear_thickness range_areal energy | |
| Beta Skin & Shallow Dose Rate (Hp(0.07)) | beta_skin_dose_calc | Ḣ_p(0.07) = 300 × A × [e^(−μ_air × d) / d²] | dose_rate_rad_hr distance_cm activity_mci | |
| Biological & Effective Half-Life | effective_half_life_calc | 1 / T_eff = 1 / T_p + 1 / T_b ⟹ T_eff = (T_p × T_b) / (T_p + T_b) | effective_half_life_days retained_fraction_pct biological_half_life_days elapsed_time_days | |
| Bremsstrahlung Radiation Yield & Power | bremsstrahlung_calc | f_brem = 3.5 × 10⁻⁴ × Z_eff × E_max | radiative_fraction bremsstrahlung_power_mw max_energy_mev | |
| Broad-Beam Gamma Shielding & Buildup Factor | buildup_shield_calc | I = I₀ × B(μx) × e^(−μx); B(μx) = 1 + b(μx) | shielded_exposure thickness_cm initial_exposure | |
| Carrier-Free Specific Activity & Radioisotope Mass | specific_activity_calc | a = (ln 2 × N_A) / (T_½ × M); m = A₀ / a | specific_activity_ci_g carrier_free_mass_g total_activity_ci | |
| Currie Detection Limits & Minimum Detectable Activity (MDA) | currie_mda_calc | L_C = 1.645 σ_0; L_D = 2.71 + 3.29 σ_0; MDA = L_D / (t_s × ε × Y) | mda_bq critical_level_lc sample_time_min | |
| Detector Dead-Time & Pulse Pileup Loss Correction | dead_time_calc | Non-Paralyzable: n = m / (1 − m τ); Paralyzable: m = n e^(−n τ) | true_rate_cps measured_rate_cps dead_time_us | |
| Diagnostic & Industrial X-Ray Tube Output | xray_output_calc | X = K × (kVp / 100)² × mAs × (d_ref / SSD)² × 2^(−Δt / HVL_Al) | output_exposure_mr output_air_kerma_mgy tube_current_mas distance_cm | |
| Fast Neutron Elastic Scattering & Moderation | neutron_moderation_calc | ξ = 1 + [α ln α / (1 − α)]; N_coll = ln(E₀ / E_th) / ξ | num_collisions mean_decrement_xi initial_energy_mev | |
| Internal Intake & Committed Dose (CEDE & ALI) | internal_dose_calc | CEDE = I × e(50); ALI = 0.05 Sv / e(50) | cede_msv cede_mrem intake_activity_bq ali_fraction_pct | |
| Line Source Geometry (Piping & Rods) | line_source_calc | d ≤ L/2: I₂ = I₁(d₁/d₂) | d > L/2: (L/2d₂)² | exposure_2 distance_2 | |
| Net Count Rate & Propagated Poisson Uncertainty | counting_uncertainty_calc | R_n = R_g − R_b; σ_Rn = √[(R_g / t_g) + (R_b / t_b)] | net_rate_cpm uncertainty_1sigma relative_uncertainty_pct | |
| Neutron Fluence-to-Dose Equivalent (ICRP 74) | neutron_dose_calc | Ḣ*(10) = Φ × h_Φ*(10, E_n) × 3.6 × 10⁻⁶ mSv/hr | dose_rate_msv_hr neutron_flux dose_rate_mrem_hr | |
| Plane & Disk Source (Spills & Walls) | plane_source_calc | d ≤ 0.1R: I₀ | 0.1R–0.7R: I₀/3 | d > 0.7R: (I₀/3)(0.7R/d)² | exposure_2 distance_2 | |
| Point Source (Inverse Square Law) | point_source_calc | I₁ × D₁² = I₂ × D₂² | exposure_2 distance_2 | |
| Radioactive Decay & Half-Life | half_life_calc | A(t) = A₀ × (1/2)^(t / T₁/₂) | final_activity time | |
| Radioactive Dilution & Chamber Clearance | radioactive_dilution_calc | C(t) = (A₀ / V) × e^(−(λ_rad + Q / V) t) | final_concentration_uci_l elapsed_time_min flush_flow_rate_lpm | |
| Removable Surface Contamination (Wipe / Smear) | wipe_test_calc | C_dpm = (R_gross − R_bkg) / [ε_det × E_wipe × (A_wipe / 100)] | contamination_dpm_100cm2 contamination_bq_cm2 net_cpm | |
| Shielding Attenuation (HVL & TVL) | shielding_calc | I = I₀ × (0.5)^(N_HVL) | final_exposure num_hvl | |
| Thermal Neutron Activation & Saturation | neutron_activation_calc | A = N × σ × Φ × (1 − e^(−λ t_irr)) × e^(−λ t_cool) | activity_bq saturation_activity neutron_flux irradiation_time_s | |
| No MCP tools or Markdown specifications match your filter query. | ||||