Cover image
Try Now
2025-04-02

Miroir dehttps: //github.com/611711dark/mcp_calculate_server

3 years

Works with Finder

0

Github Watches

0

Github Forks

1

Github Stars

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:

    "calculate_expression1": {
       "isActive": false,
       "command": "uv",
       "args": [
         "run",
         "--directory",
         "/path/to/mcp_calculate_server",
         "server.py"
       ],
     }
    

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.

中文版本

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

  • HiveNexus
  • Un bot de chat IA pour les petites et moyennes équipes, soutenant des modèles tels que Deepseek, Open AI, Claude et Gemini. 专为中小团队设计的 Ai 聊天应用 , 支持 Deepseek 、 Open Ai 、 Claude 、 Gemini 等模型。

  • ravitemer
  • Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)

  • patruff
  • Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle

  • Sysc4lls
  • Lecteur de documentation IDA (Sort-of) MCP Server

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

  • JackKuo666
  • 🔍 Permettre aux assistants d'IA de rechercher et d'accéder aux informations du package PYPI via une interface MCP simple.

    Reviews

    5 (1)
    Avatar
    user_baZBjbPu
    2025-04-17

    I’ve been using the 611711Dark_mcp_calculate_server, and it has truly enhanced my workflow with its reliable performance and precise calculations. Created by MCP-Mirror, this server is robust and versatile, perfectly suited for demanding applications. The comprehensive documentation provided at the GitHub URL ensures quick setup and easy integration. Highly recommend this for anyone needing a powerful calculation server.