Calculator Server - Go MCP Server
A comprehensive Go-based MCP (Model Context Protocol) server for mathematical computations, implementing 13 mathematical tools with advanced features and high precision calculations.
Owner & Maintainer: Avinash Sangle (avinash.sangle123@gmail.com)
🧮 Features
Core Mathematical Tools (13 Tools)
Basic Mathematical Tools (6 Tools)
Basic Math Operations - Precision arithmetic with configurable decimal places
- Addition, subtraction, multiplication, division
- Multiple operand support
- Decimal precision control (0-15 places)
Advanced Mathematical Functions - Scientific calculations
- Trigonometric:
sin,cos,tan,asin,acos,atan - Logarithmic:
log,log10,ln - Other:
sqrt,abs,factorial,exp,pow - Unit support: degrees/radians for trig functions
- Power function with base and exponent parameters
- Trigonometric:
Expression Evaluation - Complex mathematical expressions
- Variable substitution support
- Mathematical constants (
π,e) - Nested expressions with parentheses
- Function calls within expressions
Statistical Analysis - Comprehensive data analysis
- Descriptive statistics: mean, median, mode
- Variability: standard deviation, variance
- Percentile calculations
- Data validation and error handling
Unit Conversion - Multi-category unit conversion
- Length: mm, cm, m, km, in, ft, yd, mi, mil, μm, nm
- Weight: mg, g, kg, t, oz, lb, st (stone), ton (US ton)
- Temperature: °C, °F, K, R (Rankine)
- Volume: ml, cl, dl, l, kl, fl_oz, cup, pt, qt, gal, tsp, tbsp, bbl
- Area: mm², cm², m², km², in², ft², yd², mi², acre, ha
Financial Calculations - Comprehensive financial modeling
- Interest calculations: simple & compound
- Loan payment calculations
- Return on Investment (ROI)
- Present/Future value calculations
- Net Present Value (NPV) & Internal Rate of Return (IRR)






