Science & Education
Beer-Lambert Law Calculator
A = ε·c·l both ways, with T = 10⁻ᴬ, %T, unit selectors, and the 0.05–1.0 working-range check.
text· Text resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/beer-lambert-law-calculator' \
-H 'Content-Type: application/json' \
-d '{"mode":"absorbance","epsilon":6220,"c":100,"cUnit":"uM","l":1,"lUnit":"cm","absorbance":0.3}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
HTTP
POST https://api.elysiatools.com/en/api/tools/beer-lambert-law-calculatorParameters
| Name | Type | Required | Description |
|---|---|---|---|
| mode | select | Yes | — |
| epsilon | number | Yes | — |
| c | number | Yes | — |
| cUnit | select | Yes | — |
| l | number | Yes | — |
| lUnit | select |
MCP integration
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Server configuration
Add this block to your MCP client configuration:
mcp.json
{
"mcpServers": {
"elysiatools-beer-lambert-law-calculator": {
"name": "beer-lambert-law-calculator",
"description": "A = ε·c·l both ways, with T = 10⁻ᴬ, %T, unit selectors, and the 0.05–1.0 working-range check.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=beer-lambert-law-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "beer-lambert-law-calculator",
"arguments": {
"mode": "absorbance",
"epsilon": 6220,
"c": 100,
"cUnit": "uM",
"l": 1,
"lUnit": "cm",
"absorbance": 0.3
}
}
}Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).
Questions or issues? Contact [email protected]