Provides mathematical computation capabilities including array operations, statistics, aggregations, and transformations for numerical data processing.
Enables data analysis and manipulation including pivot tables, statistical analysis, and correlation calculations.
Provides high-performance data processing capabilities for mathematical and statistical operations.
Offers advanced scientific computing tools including linear algebra operations, matrix decomposition, numerical integration, and statistical functions.
Enables symbolic mathematics including calculus operations (derivatives, integrals, limits, series), algebraic expression evaluation, and symbolic computation.
Vibe Math MCP
A high-performance Model Context Protocol (MCP) server for math-ing whilst vibing with LLMs. Built with Polars, Pandas, NumPy, SciPy, and SymPy for optimal calculation speed and comprehensive mathematical capabilities from basic arithmetic to advanced calculus and linear algebra.
Features
21 Mathematical Tools across 6 domains + batch orchestration:
Basic Calculations (4 tools): Expression evaluation, percentages, rounding, unit conversion
Array Operations (4 tools): Element-wise operations, statistics, aggregations, transformations
Statistics (3 tools): Descriptive statistics, pivot tables, correlations
Financial Mathematics (3 tools): Time value of money, compound interest, perpetuity
Linear Algebra (3 tools): Matrix operations, system solving, decompositions
Calculus (3 tools): Derivatives, integrals, limits & series
Batch Execution (1 tool): Multi-tool orchestration for complex workflows
Installation
IDEs
Claude Desktop
Open Settings > Developer > Edit Config and add:
For published package:
For local development:
Claude Code
Quick setup (CLI):
Published package:
Local development:
Team setup (create .mcp.json in project root for shared use with Claude Code and/or IDEs)
Verify: Run claude mcp list or use /mcp or view available servers in IDEs.
Try it
"Calculate 15% of 250" → uses
percentage"Find determinant of [[1,2],[3,4]]" → uses
matrix_operations"Integrate x^2 from 0 to 1" → uses
integral"If I invest $1000 at 5% annual interest compounded monthly for 10 years, what will be the future value?" → uses
compound_interestIf I was paid the square root of $69m in 10 years, what's the present value at 7% discount rate? → uses
batch_execute (calculate -> financial_calcs)
Output Control
All tools automatically support output control for maximum flexibility and token efficiency. The LLM can specify the desired verbosity.
Control response verbosity using the output_mode parameter (available on every tool):
Mode | Description | Token Savings | Use Case |
| Complete response with all metadata (default) | 0% (baseline) | Debugging, full context needed |
| Remove null fields, minimize whitespace | ~20-30% | Moderate reduction, preserve structure |
| Primary value(s) only, strip metadata | ~60-70% | Fast extraction, minimal context |
| Normalized
structure | ~70-80% | Consistent chaining, maximum simplicity |
| For sequential chains, return only terminal result | ~95% | Simple calculations, predictable extraction |
Batch Execution
For multi-step workflows, batch_execute chains multiple calculations in a single request—achieving 90-95% token reduction. Reference prior outputs using $operation_id.result syntax, and the engine automatically handles dependency resolution and parallel execution for speed.
Perfect for: Bond pricing, financial models, statistical pipelines, complex transformations
Complete Tool Reference
Note: All tool parameters include detailed descriptions with concrete examples directly in the MCP interface. Each parameter shows expected format, use cases, and sample values to make usage obvious without referring to external documentation.
Basic Calculations
Tool | Description |
| Evaluate mathematical expressions with variable substitution |
| Percentage calculations (of, increase, decrease, change) |
| Advanced rounding (round, floor, ceil, trunc) |
| Unit conversions (degrees � radians) |
Array Operations
Tool | Description |
| Element-wise operations (add, subtract, multiply, divide, power) |
| Statistical measures (mean, median, std, min, max, sum) |
| Aggregations (sumproduct, weighted average, dot product) |
| Transformations (normalise, standardise, scale, log) |
Statistics
Tool | Description |
| Comprehensive analysis (describe, quartiles, outliers) |
| Create pivot tables with aggregation |
| Correlation matrices (Pearson, Spearman) |
Financial Mathematics
Tool | Description |
| Time value of money (PV, FV, PMT, IRR, NPV) |
| Compound interest with various frequencies |
Linear Algebra
Tool | Description |
| Matrix operations (multiply, inverse, transpose, determinant, trace) |
| Solve Ax = b systems |
| Decompositions (eigen, SVD, QR, Cholesky, LU) |
Calculus
Tool | Description |
| Symbolic and numerical differentiation |
| Symbolic and numerical integration |
| Limits and series expansions |
Local Development Modes
STDIO Mode (default - for Claude Desktop, IDEs):
HTTP Mode (for container testing):
License
MIT License. See LICENSE file for details.
Contributing
Contributions welcome via PRs! Please ensure:
Tests pass, and new ones are added if applicable
Code is linted & formatted
Type hints are included
Clear, actionable error messages are provided
Support
For issues and questions, please open an issue on GitHub.
This server cannot be installed