Math & Numbers
Calculate divider output voltage, solve for R1 or R2, and evaluate load effects with a circuit diagram
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/voltage-divider-calculator' \
-H 'Content-Type: application/json' \
-d '{"mode":"solve","vin":12,"r1":10000,"r2":10000,"voutTarget":0,"rl":0}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/voltage-divider-calculator| Name | Type | Required | Description |
|---|---|---|---|
| mode | select | No | — |
| vin | number | Yes | — |
| r1 | number | No | — |
| r2 | number | No | — |
| voutTarget | number | No | — |
| rl | number |
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-voltage-divider-calculator": {
"name": "voltage-divider-calculator",
"description": "Calculate divider output voltage, solve for R1 or R2, and evaluate load effects with a circuit diagram",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=voltage-divider-calculator",
"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": "voltage-divider-calculator",
"arguments": {
"mode": "solve",
"vin": 12,
"r1": 10000,
"r2": 10000,
"voutTarget": 0,
"rl": 0
}
}
}Questions or issues? Contact [email protected]
| No |
| — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}