MCP server for AI models

AI assistants can run every ElevatorCalc calculator directly. The server speaks the Model Context Protocol over Streamable HTTP, offers one tool per calculator, and calls the same functions as these pages, so the numbers match.

Connect

Endpoint: https://elevatorcalc.com/api/mcp

Most MCP clients accept a remote server entry like this:

{
  "mcpServers": {
    "elevatorcalc": {
      "type": "http",
      "url": "https://elevatorcalc.com/api/mcp"
    }
  }
}

Or try it by hand:

curl -s https://elevatorcalc.com/api/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"example","version":"1"}}}'
curl -s https://elevatorcalc.com/api/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"elevator_travel_time","arguments":{"travel":30,"ratedSpeed":2.5}}}'

How it behaves

Tools

Other machine-readable files