Stem Calc Student Mcp

io.github.AnonymousOnyx22由 GitHub 帳號 AnonymousOnyx22 發布v0.1.3更新於 Nov 1, 2026

STEM calculator MCP for homework: molar mass, balancing, units, significant figures. Works offline.

發布方自己的服務:calc.engineer

已驗證STDIO僅桌面開發者工具AI 與機器學習

概覽

AI 產生的概覽

離線 STEM 計算 MCP,讓助理計算莫耳質量、平衡化學方程式、進行莫耳換算、單位換算與有效數字四捨五入。

可以做什麼
  • 計算化學式的莫耳質量,支援括號與水合物,並列出各元素的貢獻質量
  • 平衡以 + 和 -> 書寫的化學方程式
  • 在公克、莫耳與粒子之間換算,涉及公克時需提供化學式
  • 在長度、質量、時間、體積、能量、溫度、壓力、速度與流量單位之間換算
  • 將數字四捨五入到指定的有效數字位數
適用情境
適合在檢查化學與物理作業計算時使用,避免助理憑猜測給出錯誤數字,並得到可重現的確定結果。它可與讀取課程或成績資料的伺服器搭配使用,而非取代它們。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node.js 20 或更新版本。不需帳號、API 金鑰、環境變數或網路連線。
安裝前請注意
五個工具皆為唯讀,伺服器不發出網路請求,也不讀寫檔案。它涵蓋 56 種常見元素,不處理電荷、同位素、限量試劑或無解的方程式;遇到未知元素符號會回傳錯誤而非猜測。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Stem Calc Student Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

STEM Calc MCP

[npm] [downloads] [license]

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:

bash
npx -y stem-calc-student-mcp

Try these prompts:

  1. "What is the molar mass of copper sulfate pentahydrate, CuSO4.5H2O?"
  2. "Balance this equation: C3H8 + O2 -> CO2 + H2O"
  3. "How many moles are in 36 grams of water?"

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.

Claude Desktop

Add this to claude_desktop_config.json, then restart the app:

json
{  "mcpServers": {    "stem-calc": {      "command": "npx",      "args": ["-y", "stem-calc-student-mcp"]    }  }}

Claude Code

bash
claude mcp add stem-calc -- npx -y stem-calc-student-mcp

Cursor

Add the same block as for Claude Desktop to .cursor/mcp.json.

VS Code

VS Code uses a servers key, not mcpServers. Add this to .vscode/mcp.json:

json
{  "servers": {    "stem-calc": {      "type": "stdio",      "command": "npx",      "args": ["-y", "stem-calc-student-mcp"]    }  }}

Tools

All five tools are read only. They calculate an answer and never change anything on your computer.

ToolWhat it doesInputsExample prompt
molar_massMolar mass of a formula in g/mol, with the mass each element addsformula, like H2O, Ca(OH)2 or CuSO4.5H2O"What is the molar mass of Ca(OH)2?"
balance_equationBalances a chemical equationequation, like H2 + O2 -> H2O"Balance C3H8 + O2 -> CO2 + H2O."
stoichiometryConverts between grams, moles and particlesvalue, from, to (grams, moles or particles) and formula, which grams need"How many moles are in 36 grams of water?"
convert_unitsConverts a value from one unit to anothervalue, from, to"Convert 2.5 km to feet."
round_sig_figsRounds a number to a number of significant figuresvalue, sigFigs"Round 123456 to 3 significant figures."

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.

What it knows

  • Formulas. Write each element with a capital first letter. Round brackets and square brackets work, so 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.
  • Units. Length: 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.
  • What it does not do. It does not find a limiting reagent, work with charges or isotopes, or balance reactions that have no solution. When it cannot answer, it says so.

How it compares

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.

Node version

There are two floors here, and they are not the same number.

What you are doingNode.js
Running the published server20 or newer
Building and testing a clone22.12 or newer, on the 22 and 24 release lines or 26 and later

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.

Development

bash
npm installnpm run buildnpm test

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.

More free student MCP servers

All free, open source and read only where they touch your accounts. Browse the full list at brightspacemcp.com/more-mcps.

ServerWhat it does
Brightspace MCPD2L Brightspace for AI. Due dates with real submission status, grades, a target grade calculator and course files.
Canvas MCPCanvas LMS for AI, read only. Due dates, missing work, grades and announcements.
Moodle MCPMoodle for AI, read only. Due dates, overdue work, grades and announcements.
Google Classroom MCPGoogle Classroom for AI, read only. Todos, due dates, missing work and grades.
GPA Calculator MCPGPA, grade conversion and the grade you need on the final, for AI. Works offline, no account.
Citations MCPAPA, MLA and Chicago citations from a DOI, an ISBN or typed details. No account.
Study Planner MCPExam study schedules, spaced repetition dates, pomodoro plans and assignment milestones. Works offline.
Paper Finder MCPSearch scholarly papers, find open access copies and related work through OpenAlex. No key needed.
BibTeX Reference Manager MCPClean, convert, dedupe and lint BibTeX, RIS and CSL JSON reference lists, and make cite keys. Works offline.
Open Textbook Finder MCPFind free legal copies of textbooks on OpenStax, DOAB and Open Library, look up editions by ISBN and suggest cheaper older ones.
Essay Stats MCPOffline writing metrics for essays. Word and page counts, readability scores, passive voice, repeated openers, filler words, long sentences and word limit checks, so students can check their work against assignment requirements. No account, no network.
Syllabus to Calendar MCPSyllabus to calendar MCP server. Extract dates from syllabus text, build an ics calendar, expand recurring classes and merge calendars. Works offline, no account.
Job Application Tracker MCPJob application tracker MCP server. Track internships, jobs, interviews and deadlines offline, see what is coming up, and export your list as CSV or Markdown. No account and no API keys.

License

MIT

來源:README.md,提交 98e4ab4

工具

5

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.

輸入參數formula必填

balance_equation

Balance equation

Balance a chemical equation written with -> and +.

輸入參數equation必填

stoichiometry

Stoichiometry

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.

輸入參數to必填from必填value必填formula

convert_units

Convert 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.

輸入參數to必填from必填value必填

round_sig_figs

Round sig figs

Round a number to a given number of significant figures.

輸入參數value必填sigFigs必填

版本歷史

3
  1. v0.1.3最新Nov 1, 2026
  2. v0.1.2Oct 30, 2026
  3. v0.1.1Oct 29, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Calc 整合