molar_mass
Molar mass
Parse a chemical formula and return the molar mass in g/mol with the mass each element adds. Handles brackets and hydrates like CuSO4.5H2O.
formularequired
io.github.AnonymousOnyx22Published by GitHub account AnonymousOnyx22v0.1.3Updated Nov 1, 2026
STEM calculator MCP for homework: molar mass, balancing, units, significant figures. Works offline.
The publisher's own server: calc.engineer
Offline STEM calculator MCP that lets an assistant compute molar mass, balance equations, do stoichiometry, convert units and round significant figures.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Follow the launch instructions in the repository.
When an AI guesses chemistry and physics homework, the numbers are often wrong. STEM Calc MCP fixes that: it is a free, open source MCP server that does the arithmetic with tested code, so you get the same answer every time. It works out molar mass, balances chemical equations, converts between grams, moles and particles, converts units and rounds to the right number of significant figures.
Install with one line:
Try these prompts:
Use it with Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and any other app that runs a local MCP server. It runs on your computer and needs no internet, no account and no API key.
Add this to claude_desktop_config.json, then restart the app:
Add the same block as for Claude Desktop to .cursor/mcp.json.
VS Code uses a servers key, not mcpServers. Add this to .vscode/mcp.json:
All five tools are read only. They calculate an answer and never change anything on your computer.
Every tool also returns its answer as fields next to the text, so an app that reads JSON gets the numbers without picking them out of a sentence.
Fe2(SO4)3 and K3[Fe(CN)6] are fine, and so are hydrates written with a dot, like CuSO4.5H2O. It knows 56 common elements, from hydrogen to uranium. A symbol it does not know gets a clear error, never a guess.
Fe2(SO4)3 has 2 iron, 3 sulfur and 12 oxygen atoms, and a molar mass of 399.858 g/mol.K3[Fe(CN)6] has 3 potassium, 1 iron, 6 carbon and 6 nitrogen atoms, and a molar mass of 329.247 g/mol.CuSO4.5H2O counts the five waters, so it has 1 copper, 1 sulfur, 9 oxygen and 10 hydrogen atoms, and a molar mass of 249.677 g/mol.m, km, cm, mm, in, ft. Mass: g, kg, mg, lb. Time: s, min, h. Volume: L, mL, m^3. Energy: J, kJ, cal, kcal. Temperature: K, C, F. Pressure: Pa, kPa, atm, mmHg, bar, psi. Speed: m/s, km/h. It refuses to convert one kind into another, so metres to seconds is an error.Some MCP servers connect an assistant to a learning management system, so it can read your courses, grades and due dates. Those need an account, a login and a network connection. This one does none of that. It only does homework math, and it runs on your own computer with no sign in, no network calls and no files read or written. The same input gives the same answer every time.
Use an LMS server to find out what is due. Use this one to check the chemistry and unit conversions once you sit down to do it. They work fine side by side.
There are two floors here, and they are not the same number.
The server itself is happy on Node.js 20, and that is what engines in package.json says. The test runner wants a newer Node.js, so the development floor lives in devEngines in the same file. npm checks devEngines before install, run and test, so a clone on Node.js 20 stops with a clear message instead of a strange failure part way through the test suite. The 23 and 25 release lines are left out on purpose, because the test runner does not run on them.
Both numbers live in package.json, and a test in tests/node-version.test.ts keeps them in step with the README and with the range the test runner asks for.
The tests call the same functions the tools use, and they check the README, llms.txt, glama.json and the package files against the tools in src/tools.ts.
npm test also runs the metadata and docs sync checks in tests/metadata.test.ts. If you add or change a tool, update glama.json, llms.txt and this README in the same change, or those checks will fail.
All free, open source and read only where they touch your accounts. Browse the full list at brightspacemcp.com/more-mcps.
MIT
Source: README.md at commit 98e4ab4
Molar mass
Parse a chemical formula and return the molar mass in g/mol with the mass each element adds. Handles brackets and hydrates like CuSO4.5H2O.
formularequiredBalance equation
Balance a chemical equation written with -> and +.
equationrequiredStoichiometry
Convert between grams, moles and particles. The formula is required whenever grams are the from or to unit. Converting between moles and particles needs no formula.
torequiredfromrequiredvaluerequiredformulaConvert units
Convert a value between units of length, mass, time, volume, energy, temperature, pressure, speed or flow rate. Common spellings like ml, degC, °C and L/min are accepted. It refuses to convert one kind of unit into another.
torequiredfromrequiredvaluerequiredRound sig figs
Round a number to a given number of significant figures.
valuerequiredsigFigsrequired90% 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.
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
engineer.calcOfficial publisher
Keyless remote MCP server offering 88 engineering calculators for RF links, LoRa/Meshtastic, PCB, thermal, power and homelab planning.
com.deskcalc
A local stdio MCP server that lets an assistant hand invoice, receipt and statement figures to a human for checking and confirmation in DeskCalc.

Published by GitHub account mrfentmen
A local stdio MCP server for finance math: loan payments, amortisation schedules, compound interest and net present value, computed offline.

Published by GitHub account lucianumm
Local MCP server that lets a desktop AI assistant build, audit, update and check Brazilian labor-court calculations inside PJe-Calc Cidadão on Windows.

Published by GitHub account UpstageAI
Local MCP server that lets an assistant compute Korean corporate, income, VAT, gift and inheritance taxes and tax adjustments, with statutory citations.
npx -y stem-calc-student-mcp{ "mcpServers": { "stem-calc": { "command": "npx", "args": ["-y", "stem-calc-student-mcp"] } }}claude mcp add stem-calc -- npx -y stem-calc-student-mcp{ "servers": { "stem-calc": { "type": "stdio", "command": "npx", "args": ["-y", "stem-calc-student-mcp"] } }}npm installnpm run buildnpm test