A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
A high-performance Model Context Protocol (MCP) server for math-ing whilst vibing with LLMs. Leveraging Polars for opti
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.
21 Mathematical Tools across 6 domains + batch orchestration:
Open Settings > Developer > Edit Config and add:
For published package:
{
"mcpServers": {
"Math": {
"command": "uvx",
"args": ["vibe-math-mcp"]
}
}
}
For local development:
{
"mcpServers": {
"Math": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/vibe-math-mcp",
"run",
"vibe-math-mcp"
]
}
}
}
Quick setup (CLI):
Published package:
claude mcp add --transport stdio math -- uvx vibe-math-mcp
Local development:
claude mcp add --transport stdio math -- uvx --from /absolute/path/to/vibe-math-mcp vibe-math-mcp
Team setup (create .mcp.json in project root for shared use with Claude Code and/or IDEs)
{
"mcpServers": {
"math": {
"command": "uvx",
"args": ["vibe-math-mcp"]
}
}
}
Verify: Run claude mcp list or use /mcp or view available servers in IDEs.
percentagematrix_operationsintegralcompound_interestbatch_execute (calculate -> financial_calcs)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 |
|---|---|---|---|
full | Complete response with all metadata (default) | 0% (baseline) | Debugging, full context needed |
compact | Remove null fields, minimize whitespace | ~20-30% | Moderate reduction, preserve structure |
minimal | Primary value(s) only, strip metadata | ~60-70% | Fast extraction, minimal context |
value | Normalized {value: X} structure | ~70-80% | Consistent chaining, maximum simplicity |
final | For sequential chains, return only terminal result | ~95% | Simple calculations, predictable extraction |
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
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.
| Tool | Description |
|---|---|
calculate | Evaluate mathematical expressions with variable substitution |
percentage | Percentage calculations (of, increase, decrease, change) |
round | Advanced rounding (round, floor, ceil, trunc) |
convert_units | Unit conversions (degrees � radians) |
| Tool | Description |
|---|---|
array_operations | Element-wise operations (add, subtract, multiply, divide, power) |
array_statistics | Statistical measures (mean, median, std, min, max, sum) |
array_aggregate | Aggregations (sumproduct, weighted average, dot product) |
array_transform | Transformations (normalise, standardise, scale, log) |
| Tool | Description |
|---|---|
statistics | Comprehensive analysis (describe, quartiles, outliers) |
pivot_table | Create pivot tables with aggregation |
correlation | Correlation matrices (Pearson, Spearman) |
| Tool | Description |
|---|---|
financial_calcs | Time value of money (PV, FV, PMT, IRR, NPV) |
compound_interest | Compound interest with various frequencies |
| Tool | Description |
|---|---|
matrix_operations | Matrix operations (multiply, inverse, transpose, determinant, trace) |
solve_linear_system | Solve Ax = b systems |
matrix_decomposition | Decompositions (eigen, SVD, QR, Cholesky, LU) |
| Tool | Description |
|---|---|
derivative | Symbolic and numerical differentiation |
integral | Symbolic and numerical integration |
limits_series | Limits and series expansions |
## Development
### Running Tests
```bash
# Install dependencies
uv sync
# Run all tests
uv run poe test
STDIO Mode (default - for Claude Desktop, IDEs):
uv run vibe-math-mcp
HTTP Mode (for container testing):
uv run python -m vibe_math_mcp.http_server
MIT License. See LICENSE file for details.
Contributions welcome via PRs! Please ensure:
For issues and questions, please open an issue on GitHub.
A Jetbrains IDE IntelliJ plugin aimed to provide coding agents the ability to leverage intelliJ's indexing of the codeba
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots