Math & Numbers
Look up the molar mass (atomic weight) of several elements at once by symbol, atomic number, or name, as a sortable comparison table.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/molar-mass-lookup' \
-H 'Content-Type: application/json' \
-d '{"elements":"Fe, Cu, Zn","sortBy":"input-order","includeDetails":false,"decimalPlaces":4}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/molar-mass-lookup| Name | Type | Required | Description |
|---|---|---|---|
| elements | textarea | Yes | Each token may be an element symbol (Fe), an atomic number (26), or an English element name (iron). Separators: comma, space, semicolon, or new line. |
| sortBy | select | No | — |
| includeDetails | checkbox | No | When on, each row also carries category, standard state, electronegativity, melting/boiling point, density, etc. |
| decimalPlaces | number | No | — |
JSON result
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-molar-mass-lookup": {
"name": "molar-mass-lookup",
"description": "Look up the molar mass (atomic weight) of several elements at once by symbol, atomic number, or name, as a sortable comparison table.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=molar-mass-lookup",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "molar-mass-lookup",
"arguments": {
"elements": "Fe, Cu, Zn",
"sortBy": "input-order",
"includeDetails": false,
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}