Skip to main content

Algebraic operations and equation solving MCP server - 18 tools for algebra and optimization

Project description

ReasonForge Algebra

Algebraic operations, equation solving, matrices, and optimization MCP server - 18 tools

Complete toolkit for algebraic computation including equation solving, matrix operations, and optimization.

Features

  • 18 Specialized Tools: Comprehensive algebra capabilities
  • Equation Solving: Linear, nonlinear, systems
  • Matrix Operations: Determinants, inverses, eigenvalues/vectors
  • Optimization: Lagrange multipliers, linear/convex programming
  • SymPy-Powered: Deterministic symbolic computation

Installation

pip install reasonforge-algebra

Tools (18)

Equation Solving (4 tools)

  • solve_equations: Solve systems of equations
  • solve_algebraically: Solve over specific domains (real, complex)
  • solve_linear_system: Linear system solver
  • solve_nonlinear_system: Nonlinear system solver

Matrix Operations (5 tools)

  • create_matrix: Create and store matrices
  • matrix_determinant: Calculate determinants
  • matrix_inverse: Find matrix inverses
  • matrix_eigenvalues: Find eigenvalues
  • matrix_eigenvectors: Find eigenvectors

Optimization (6 tools)

  • optimize_function: Find critical points
  • lagrange_multipliers: Constrained optimization
  • linear_programming: Linear program solver
  • convex_optimization: Convex optimization
  • calculus_of_variations: Variational calculus
  • dynamic_programming: Dynamic programming setup

Other (3 tools)

  • recognize_pattern: Pattern recognition in sequences
  • differentiate_expression: Differentiate stored expressions
  • integrate_expression: Integrate stored expressions

Examples

Solving Equations

User: "Solve x^2 - 5x + 6 = 0"
Claude: Uses solve_equations...
Result: x = 2, x = 3

Matrix Eigenvalues

User: "Find eigenvalues of [[1, 2], [3, 4]]"
Claude: Uses matrix_eigenvalues...
Result: λ₁ = (5-√33)/2, λ₂ = (5+√33)/2

Optimization

User: "Maximize xy subject to x^2 + y^2 = 1"
Claude: Uses lagrange_multipliers...
Result: Critical points at (±1/√2, ±1/√2)

Dependencies

  • mcp>=1.0.0 - Model Context Protocol
  • sympy>=1.12 - Symbolic mathematics
  • reasonforge>=0.1.0 - Core library

License

MIT License

Part of ReasonForge Ecosystem

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reasonforge_algebra-0.1.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reasonforge_algebra-0.1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file reasonforge_algebra-0.1.0.tar.gz.

File metadata

  • Download URL: reasonforge_algebra-0.1.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for reasonforge_algebra-0.1.0.tar.gz
Algorithm Hash digest
SHA256 94a5aedf677c91ec9db739c9a34af9e7f435456f76648027d50cb0df32a01c60
MD5 7b8330c650b5f14b0b198f3004c46168
BLAKE2b-256 e323668b7a7ef05c4713733cba3786aaa6a0625530e8f0f7d5e4a2559bf8df3e

See more details on using hashes here.

File details

Details for the file reasonforge_algebra-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for reasonforge_algebra-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60a15b84df4198957050c4c0654fb1148ed4dceca66311ba7aebcd5630dd6ca2
MD5 8f9e4ef26ffa26b9d773b581da255b86
BLAKE2b-256 ab8cacaa65b49eaae5b89b4f90227acd415048b7aeb3073d73de853e808e421c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page