Education
Solve A, ε, c or l from the Beer-Lambert law A = ε·c·l, with M/mM/µM/nM and cm/mm unit support.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/molar-extinction-coefficient' \
-H 'Content-Type: application/json' \
-d '{"solveFor":"absorbance","absorbance":0,"extinctionCoeff":6220,"concentration":100,"concUnit":"uM","pathLength":1,"lengthUnit":"cm","decimalPlaces":4}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/molar-extinction-coefficient| Name | Type | Required | Description |
|---|---|---|---|
| solveFor | select | Yes | Which quantity to compute; the other three must be provided. |
| absorbance | number | No | Measured absorbance (required unless solving for A). |
| extinctionCoeff | number | No | Molar extinction coefficient in M⁻¹cm⁻¹ (required unless solving for ε). |
| concentration | number | No | Concentration in the selected unit (required unless solving for c). |
| concUnit | select |
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-extinction-coefficient": {
"name": "molar-extinction-coefficient",
"description": "Solve A, ε, c or l from the Beer-Lambert law A = ε·c·l, with M/mM/µM/nM and cm/mm unit support.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=molar-extinction-coefficient",
"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-extinction-coefficient",
"arguments": {
"solveFor": "absorbance",
"absorbance": 0,
"extinctionCoeff": 6220,
"concentration": 100,
"concUnit": "uM",
"pathLength": 1,
"lengthUnit": "cm",
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]
| Unit of the entered (or solved) concentration. |
| pathLength | number | No | Optical path length in the selected unit (required unless solving for l). |
| lengthUnit | select | Yes | Unit of the entered (or solved) path length. |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}