SoulverCore MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
๐งฎ SoulverCore MCP Server
Natural Language Mathematical Expression Evaluation for Claude Desktop
A comprehensive Model Context Protocol (MCP) server that integrates SoulverCore with Claude Desktop, enabling powerful natural language mathematical calculations, unit conversions, date arithmetic, and financial computations.
๐ค What is Soulver?
Soulver is a revolutionary calculator that understands natural language mathematical expressions. Unlike traditional calculators that require precise syntax, Soulver lets you write math the way you think about it:
Natural Language: Write
$25k over 10 years at 7.5%instead of complex formulasContext Aware: Understands units, currencies, dates, and percentages automatically
Human Readable: Results are formatted in a way that makes sense to humans
Powerful Engine: Handles complex financial, scientific, and everyday calculations
SoulverCore is the command-line version that powers this MCP server, bringing Soulver's natural language math capabilities to Claude Desktop.
Related MCP server: MCP Mathematics
๐ง Why This Helps Claude with Math
This integration significantly enhances Claude's mathematical capabilities in several key ways:
๐ฏ Precision & Reliability
Eliminates Calculation Errors: Claude's built-in math can sometimes produce approximations or errors, especially with complex financial calculations. SoulverCore provides precise, reliable results.
Consistent Results: Every calculation is processed by the same proven mathematical engine, ensuring consistency across sessions.
๐ Real-World Context
Natural Language Processing: Claude can now handle math requests exactly as users write them, without needing to translate to programming syntax.
Unit Intelligence: Automatic handling of currencies, measurements, dates, and percentages without manual conversion.
Financial Expertise: Specialized functions for compound interest, loans, tips, and business calculations that Claude can now access reliably.
๐ Enhanced Learning
Syntax Guidance: The MCP Resources provide Claude with comprehensive documentation about mathematical expression patterns.
Error Resolution: Built-in troubleshooting guides help Claude assist users when calculations don't work as expected.
Example Library: Extensive examples help Claude suggest the right syntax for complex calculations.
๐ Interactive Workflows
Guided Calculations: MCP Prompts provide structured templates for common calculations, making it easier for Claude to help users step through complex problems.
Progressive Assistance: Claude can start with simple calculations and build up to more complex scenarios using the provided examples.
๐ก Why This Matters
Before this integration, Claude might struggle with:
Complex percentage calculations (
$150 is 25% on what)Financial projections (
$25k over 10 years at 7.5%)Unit conversions with context (
65 kg in pounds)Date arithmetic (
January 30 2020 + 3 months 2 weeks 5 days)
Now Claude can handle these naturally and accurately, making it a more reliable mathematical assistant for real-world problems.
โจ Features
๐ ๏ธ MCP Tools
calculate- Evaluate natural language mathematical expressionssoulver_status- Check SoulverCore CLI installation and version
๐ฌ MCP Prompts
compound_interest- Calculate compound interest with guided inputstip_calculator- Calculate total cost including tipsweight_conversion- Convert between weight unitsdate_addition- Add time periods to datespercentage_calculation- Various percentage calculations
๐ MCP Resources
Syntax Guide - Complete SoulverCore syntax reference
Quick Reference - Common syntax patterns
Financial Examples - Real-world financial calculations
Conversion Examples - Unit conversion examples
Date Examples - Date arithmetic examples
Troubleshooting - Common errors and solutions
๐ Quick Start
Prerequisites
Node.js 18+
SoulverCore CLI - Install with:
brew install soulver-cliClaude Desktop with MCP support
Installation
Clone the repository
git clone https://github.com/amotivv/soulver-mcp-server.git cd soulver-mcp-serverInstall dependencies
npm installBuild the project
npm run buildTest the server
npm test
Claude Desktop Configuration
Add the server to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"soulver": {
"command": "node",
"args": ["/absolute/path/to/soulver-mcp-server/dist/index.js"]
}
}
}Important: Use the absolute path to your project directory.
๐ Usage Examples
Basic Calculations
Calculate: $25k over 10 years at 7.5%
โ $51,525.79
Calculate: 65 kg in pounds
โ 143.3 lb
Calculate: $25/hour * 14 hours of work
โ $350.00Financial Calculations
Calculate: $150 is 25% on what
โ $600.00
Calculate: $10 for lunch + 15% tip
โ $11.50
Calculate: 40 as % of 90
โ 44.44%Date Arithmetic
Calculate: January 30 2020 + 3 months 2 weeks 5 days
โ May 19, 2020
Calculate: 9:35am in New York to Japan
โ 10:35 pmUnit Conversions
Calculate: 32 fahrenheit in celsius
โ 0ยฐC
Calculate: 10 miles in km
โ 16.09 km๐๏ธ Architecture
graph TB
A[Claude Desktop] -->|MCP Protocol| B[SoulverCore MCP Server]
B -->|CLI Execution| C[SoulverCore CLI]
B -->|Prompts| D[Interactive Templates]
B -->|Resources| E[Documentation]
B -->|Tools| F[Mathematical Engine]
D --> G[Compound Interest]
D --> H[Tip Calculator]
D --> I[Unit Conversion]
E --> J[Syntax Guide]
E --> K[Examples]
E --> L[Troubleshooting]
F --> M[Expression Parser]
F --> N[Result Formatter]๐ง Development
Project Structure
soulver-mcp-server/
โโโ src/
โ โโโ index.ts # Main MCP server
โ โโโ soulver-cli.ts # CLI wrapper
โ โโโ test.ts # Test suite
โ โโโ prompts/ # MCP prompt definitions
โ โ โโโ financial.ts
โ โ โโโ conversions.ts
โ โ โโโ dates.ts
โ โโโ resources/ # MCP resource definitions
โ โโโ syntax-guide.ts
โ โโโ examples.ts
โโโ dist/ # Compiled JavaScript
โโโ memory-bank/ # Project documentation
โโโ package.json
โโโ tsconfig.json
โโโ README.mdAvailable Scripts
npm run build # Compile TypeScript
npm test # Run test suite
npm run dev # Development mode (if configured)Testing
The project includes a comprehensive test suite that validates:
โ SoulverCore CLI availability
โ Mathematical expression evaluation
โ Error handling and edge cases
โ MCP protocol compliance
npm test๐ Supported Expression Types
Financial Calculations
Compound Interest:
$25k over 10 years at 7.5%Hourly Wages:
$25/hour * 14 hours of workTips:
$10 for lunch + 15% tipPercentages:
40 as % of 90,$150 is 25% on what
Unit Conversions
Weight:
65 kg in pounds,150 lbs in kgDistance:
10 miles in km,5 km in milesTemperature:
32 fahrenheit in celsius,100 celsius in fahrenheit
Date Arithmetic
Addition:
January 30 2020 + 3 months 2 weeks 5 daysDifferences:
December 31 2024 - January 1 2024Time Zones:
9:35am in New York to Japan
Basic Math
Arithmetic:
100 + 200,50% of 200Currency:
$100 + $50,โฌ200 - โฌ75
๐ก๏ธ Security & Error Handling
Input Sanitization: All expressions are validated before execution
Process Timeout: CLI calls timeout after 10 seconds
Error Recovery: Graceful handling of invalid expressions
Resource Management: Proper cleanup of child processes
Type Safety: Full TypeScript implementation with strict mode
๐ค Contributing
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureCommit your changes:
git commit -m 'Add amazing feature'Push to the branch:
git push origin feature/amazing-featureOpen a Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
SoulverCore - The powerful natural language math engine
Model Context Protocol - The protocol enabling AI tool integration
Claude Desktop - The AI assistant platform
๐ Support
Issues: GitHub Issues
Documentation: MCP Documentation
SoulverCore: Official Documentation
Made with โค๏ธ for the Claude Desktop community
โญ Star this repo โข ๐ Report Bug โข ๐ก Request Feature
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Serena โ tasks, notes & projects from Claude, Codex, Cursor & ChatGPT.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence
Related MCP Servers
- FlicenseAqualityCmaintenanceAn MCP server that integrates the MathJS library to provide AI models with advanced calculation capabilities, including support for complex numbers, matrices, and unit conversions. It supports both stdio and HTTP transports for seamless integration with clients like Claude Desktop and GitHub Copilot.1-
- AlicenseCqualityDmaintenanceA comprehensive MCP server that turns any AI assistant into a powerful mathematical computation engine, providing 52 advanced functions, 158 unit conversions, financial calculations, and secure AST-based evaluation.1828 PyPI16MIT
- AlicenseNot gradedqualityDmaintenanceEnterprise-grade MCP server integrating Claude AI capabilities, enabling AI-powered conversations, file operations, and system tools via the Model Context Protocol.1Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA minimal MCP server with calculator and memory store tools, ready to use with Claude Desktop and Claude Code.MIT