Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CalcsLive MCP Servercalculate the torque for a 2 HP motor running at 100 rpm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CalcsLive MCP Server
Enable AI agents to perform unit-aware engineering calculations via Model Context Protocol (MCP)
Transform AI assistants like Claude into powerful engineering calculation tools with automatic unit conversion, dependency resolution, and professional-grade accuracy.
🎯 What is This?
The CalcsLive MCP Server connects AI agents to CalcsLive's calculation engine via the Model Context Protocol (MCP). This enables AI to:
✅ Perform complex engineering calculations with proper unit handling
✅ Automatically convert between unit systems (metric ↔ imperial)
✅ Resolve multi-step calculation dependencies
✅ Access 75+ unit categories with 500+ units
✅ Validate calculations with engineering accuracy
Example
User: "Calculate hydro power for a flow rate of 150 m³/s with a head of 25 meters"
AI (via CalcsLive MCP):
AI automatically handles the unit-aware calculation: P = ρ × g × H × Q × η
📋 Prerequisites
Node.js 18+ installed on your system
CalcsLive Account - Sign up at calcs.live
MCP API Key - Create from your Account > API Keys
Select "MCP Integration (AI Agents)" as service type
Free users: Get 30-day trial (starts on first API call)
Premium users: Full unlimited access
🚀 Quick Start
1. Install Dependencies
2. Build the Server
3. Configure Claude Desktop
Edit your Claude Desktop configuration file:
Location:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add CalcsLive MCP server:
Important:
Replace
/absolute/path/to/calcslive-mcp-serverwith your actual installation pathReplace
your-mcp-api-key-herewith your actual MCP API key from CalcsLive
4. Restart Claude Desktop
Quit and restart Claude Desktop to load the MCP server.
5. Verify Installation
In Claude Desktop, you should see the CalcsLive tools available. Try asking:
"What CalcsLive tools do you have available?"
Claude should list calcslive_run_script, calcslive_calculate, and calcslive_validate.
🔧 Claude Code (VS Code Extension) Setup
If you're using Claude Code in VS Code, use the Claude CLI for easier configuration:
1. Install and Build
2. Add MCP Server via Claude CLI
Use the claude mcp add command with stdio transport:
Linux/macOS:
Windows PowerShell:
Important Notes:
--scope user: Makes MCP available in all VS Code windows (recommended for global access)Without
--scope user, MCP only works in the current project directoryAlternative scopes:
local(project-specific),project(shared in team)
Command structure:
calcslive nodewherenodeis the command and path comes after--Replace
/absolute/path/to/calcslive-mcp-server(orC:\absolute\path\to\...on Windows) with your actual installation pathReplace
your-mcp-api-key-herewith your actual API key from CalcsLive API KeysFor local development, use
CALCSLIVE_API_URL=http://localhost:3000
3. Verify in VS Code
Restart your VS Code window or reload Claude Code extension. The CalcsLive MCP tools should now be available to Claude Code AI.
Test it:
"Calculate the torque for a 2 HP motor running at 100 rpm"
Claude Code should use the calcslive_run_script tool to perform the calculation.
Alternative: Manual Configuration
If Claude CLI is not available, you can manually edit the Claude Code MCP configuration file, but the CLI method is strongly recommended for reliability.
🛠️ Available Tools
calcslive_run_script ⭐ NEW
Run stateless unit-aware calculations from Physical Quantity (PQ) script definitions. No article creation needed - fully stateless and on-the-fly.
Example Usage:
Response:
Key Features:
✅ No article creation required (stateless)
✅ Define calculations on-the-fly with PQ JSON
✅ Supports Greek letters (α, β, η, ρ, etc.)
✅ Automatic dependency resolution
✅ Unit conversion for inputs and outputs
✅ Mathematical expressions with MathJS
calcslive_calculate
Perform unit-aware calculations using existing CalcsLive articles.
Example Usage:
Response:
calcslive_validate
Discover available inputs/outputs for a calculation article.
Example Usage:
Response:
💡 Usage Examples
Example 1: Unit Conversion
User: "Convert 65 mph to km/h"
AI: Uses CalcsLive to create a simple calculation:
Example 2: Multi-Step Engineering Calculation
User: "Calculate pump power needed for 100 gallons per minute at 50 psi with 85% efficiency"
AI:
Validates pump calculation article
Converts units (gpm → m³/s, psi → Pa)
Performs calculation with dependencies
Returns power in kW
Example 3: Complex Physics Problem
User: "A projectile is launched at 45° with initial velocity 30 m/s. What's the maximum height?"
AI:
Uses projectile motion calculation article
Inputs: angle = 45°, velocity = 30 m/s
Calculates: max_height = (v² × sin²θ) / (2g) = 22.96 m
🔧 Development
Build & Watch
This runs TypeScript in watch mode for development.
Testing Locally
Run the server directly to test:
You should see:
📊 API Rate Limits
User Tier | Rate Limit | Trial Period |
Free | 60 calls/min | 30 days |
Premium | 60 calls/min | N/A (unlimited) |
Enterprise | Unlimited | N/A |
Note: Trial starts automatically on first API call. Upgrade to Premium before trial expires for continued access.
🐛 Troubleshooting
"API key not found or inactive"
Solution: Check your API key in Account > API Keys
Ensure service type is "MCP Integration (AI Agents)"
Verify key is active (not expired)
Copy key exactly (no extra spaces)
"Article not found"
Solution:
Ensure article is set to Public access level
Use the article's Short ID, not UUID
Verify you own the article (can't access others' articles via API)
"Trial has expired"
Solution: Upgrade to Premium to restore MCP access
Claude Desktop Not Finding Tools
Solution:
Check config file syntax (valid JSON)
Verify path to
dist/index.jsis correctEnsure
npm run buildcompleted successfullyRestart Claude Desktop completely
Check Claude Desktop logs for errors
"Unknown unit" Error
Solution:
CalcsLive supports both superscript (m³) and caret (m^3) notation
Use caret notation if typing:
m^3instead ofm³Check Units Reference for valid units
🌟 Advanced Usage
Custom API Base URL (Development)
For local development or custom deployments:
Multiple API Keys
You can configure separate MCP servers for different projects:
📚 Resources
CalcsLive Platform: calcs.live
MCP Documentation: modelcontextprotocol.io
Units Reference: calcs.live/help/units-reference
API Integration Guide: calcs.live/help/api-integration
Create Calculations: calcs.live/editor/new
🤝 Support
Documentation: calcs.live/help
Community: GitHub Discussions
Premium Support: Available for Premium/Enterprise subscribers
📝 License
MIT License - See LICENSE file for details
🚀 What's Next?
Create Custom Calculations: Build your own calculation articles at calcs.live/editor/new
Explore Unit Categories: Browse 75+ categories at Units Reference
Upgrade for More: Premium plans unlock unlimited calculations
Share & Collaborate: Make calculations public for others to use via MCP
Built with ❤️ for AI-powered engineering