MCP ExplorerExplorer

611711dark Mcp Calculate Server

@MCP-Mirroron 10 months ago
1 MIT
FreeCommunity
AI Systems
Mirror of https://github.com/611711Dark/mcp_calculate_server

Overview

What is 611711dark Mcp Calculate Server

611711Dark_mcp_calculate_server is a mathematical calculation service that utilizes the MCP protocol and the SymPy library, offering advanced symbolic computation capabilities.

Use cases

Use cases include performing basic calculations, solving algebraic equations, conducting calculus operations, and executing matrix calculations in academic or professional settings.

How to use

To use the 611711Dark_mcp_calculate_server, you can install it via Smithery or clone the repository and set up a local environment. Basic operations can be performed using Python code snippets provided in the README.

Key features

Key features include basic arithmetic operations, algebraic operations (expansion, factorization, simplification), calculus functions (differentiation, integration, limit calculation), equation solving, matrix operations, series expansion, and special functions.

Where to use

The server can be used in various fields such as education, research, engineering, and any domain requiring complex mathematical computations.

Content

MCP Calculate Server

smithery badge

A mathematical calculation service based on MCP protocol and SymPy library, providing powerful symbolic computation capabilities.

Key Features

  • Basic Operations: Addition, subtraction, multiplication, division, exponentiation
  • Algebraic Operations: Expression expansion, factorization, simplification
  • Calculus: Differentiation, integration (definite/indefinite), limit calculation
  • Equation Solving: Algebraic equations, systems of equations
  • Matrix Operations: Matrix inversion, eigenvalues/eigenvectors calculation
  • Series Expansion: Taylor series expansion
  • Special Functions: Trigonometric, logarithmic, exponential functions

Usage Examples

# Basic operations
"2 + 3*5"17

# Algebraic operations
"expand((x + 1)**2)" → x² + 2x + 1
"factor(x**2 - 2*x - 15)" → (x - 5)(x + 3)

# Calculus
"diff(sin(x), x)" → cos(x)
"integrate(exp(x), (x, 0, 1))" → E - 1
"limit(tan(x)/x, x, 0)"1

# Equation solving
"solve(x**2 - 4, x)" → [-2, 2]
"solve([x**2 + y**2 - 1, x + y - 1], [x, y])" → [(0, 1), (1, 0)]

# Matrix operations
"Matrix([[1, 2], [3, 4]]).inv()" → [[-2, 1], [3/2, -1/2]]
"Matrix([[1, 2, 3], [4, 5, 6]]).eigenvals()" → {9/2 - sqrt(33)/2: 1, 9/2 + sqrt(33)/2: 1}

Installation

Installing via Smithery

To install Calculate Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @611711Dark/mcp_sympy_calculate_server --client claude

Local Installation

  1. Clone repository:

    git clone https://github.com/611711Dark/mcp-calculate-server.git
    cd mcp-calculate-server
    
  2. Create virtual environment and install dependencies:

    uv venv
    source .venv/bin/activate
    uv pip install -e .
    
  3. Configuration:

API Usage

Call calculate_expression tool via MCP protocol by passing mathematical expression string, returns computation result.

Dependencies

  • mcp>=1.5.0
  • sympy>=1.13.3
  • fastapi>=0.95.0
  • uvicorn>=0.21.0

License

This project is licensed under MIT License. See LICENSE file.

中文版本

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers