Science & Education
K = (γ−1)mc² with rest, total, kinetic, and classical ½mv² energies in MeV/GeV plus the K/K_classical ratio.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/relativistic-kinetic-energy' \
-H 'Content-Type: application/json' \
-d '{"particle":"electron","customMass":0,"speedMode":"beta","beta":0.99,"speedMs":0}'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/relativistic-kinetic-energy| Name | Type | Required | Description |
|---|---|---|---|
| particle | select | Yes | — |
| customMass | number | No | — |
| speedMode | select | Yes | — |
| beta | number | No | — |
| speedMs | number | No | — |
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-relativistic-kinetic-energy": {
"name": "relativistic-kinetic-energy",
"description": "K = (γ−1)mc² with rest, total, kinetic, and classical ½mv² energies in MeV/GeV plus the K/K_classical ratio.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=relativistic-kinetic-energy",
"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": "relativistic-kinetic-energy",
"arguments": {
"particle": "electron",
"customMass": 0,
"speedMode": "beta",
"beta": 0.99,
"speedMs": 0
}
}
}Questions or issues? Contact [email protected]
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}