Advanced calculus and differential equations MCP server - 17 tools for mathematical analysis
Project description
ReasonForge Analysis
Advanced calculus, differential equations, and transforms - 17 tools
An MCP (Model Context Protocol) server that provides Claude with advanced mathematical analysis capabilities using SymPy's symbolic engine.
Beta Status: This package is functional but still undergoing testing. Some edge cases may not be fully covered. Please report issues on GitHub.
Capabilities
- Differential Equations - Solve ODEs and PDEs symbolically with initial/boundary conditions
- Physics PDEs - Schrodinger, wave, and heat equation solvers
- Integral Transforms - Laplace, Fourier, Z-transform, Mellin, and custom transforms
- Signal Processing - Convolution and transfer function analysis
- Asymptotic Methods - Perturbation theory and asymptotic expansions
Installation
pip install reasonforge-analysis
Or install from source:
git clone https://github.com/foxintheloop/ReasonForge.git
cd ReasonForge
pip install -e packages/reasonforge -e packages/reasonforge-analysis
Claude Desktop Configuration
Add to your Claude Desktop config file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"reasonforge-analysis": {
"command": "python",
"args": ["-m", "reasonforge_analysis"]
}
}
}
Tools
Differential Equations (3 tools)
| Tool | Description | Example Use |
|---|---|---|
dsolve_ode |
Solve ordinary differential equations | Solve y'' + y = 0 |
pdsolve_pde |
Solve partial differential equations | Solve heat equation |
symbolic_ode_initial_conditions |
Apply initial conditions to ODE solutions | y(0) = 1, y'(0) = 0 |
Physics PDEs (3 tools)
| Tool | Description | Example Use |
|---|---|---|
schrodinger_equation_solver |
Solve time-independent Schrodinger equation | Quantum harmonic oscillator |
wave_equation_solver |
Solve wave equation with boundary conditions | Vibrating string |
heat_equation_solver |
Solve heat/diffusion equation | Temperature distribution |
Integral Transforms (5 tools)
| Tool | Description | Example Use |
|---|---|---|
laplace_transform |
Compute Laplace transforms | Transform e^(-at) |
fourier_transform |
Compute Fourier transforms | Frequency analysis |
z_transform |
Compute Z-transforms for discrete signals | Digital signal processing |
mellin_transform |
Compute Mellin transforms | Special function analysis |
integral_transforms_custom |
Custom integral transforms | User-defined kernels |
Signal Processing (2 tools)
| Tool | Description | Example Use |
|---|---|---|
convolution |
Symbolic convolution of functions | System response |
transfer_function_analysis |
Analyze transfer functions | Poles, zeros, stability |
Asymptotic Methods (2 tools)
| Tool | Description | Example Use |
|---|---|---|
perturbation_theory |
Perturbation expansions | Approximate solutions |
asymptotic_analysis |
Asymptotic series and limits | Behavior at infinity |
Special Functions (2 tools)
| Tool | Description | Example Use |
|---|---|---|
special_functions_properties |
Properties of special functions | Bessel, Legendre, etc. |
symbolic_optimization_setup |
Set up optimization problems | Constraints and objectives |
Example Usage
Once configured, you can ask Claude:
Differential Equations:
- "Solve the differential equation y'' + 4y = 0 with y(0) = 1, y'(0) = 0"
- "Solve the heat equation for a rod with insulated ends"
Transforms:
- "Find the Laplace transform of sin(3t)"
- "Compute the inverse Fourier transform of 1/(1 + omega^2)"
Signal Processing:
- "Convolve e^(-t) with sin(t) for t > 0"
- "Find the poles and zeros of H(s) = (s + 1)/(s^2 + 2s + 5)"
Dependencies
- Python >= 3.10
- mcp >= 1.0.0
- sympy >= 1.12
- scipy >= 1.11.0
- reasonforge (core library)
Running Tests
pytest packages/reasonforge-analysis/tests/ -v
License
MIT License - See LICENSE for details.
Related Packages
- reasonforge - Core symbolic computation library
- reasonforge-logic - Formal reasoning and logic
- reasonforge-algebra - Algebraic operations
- reasonforge-geometry - Vector/tensor calculus
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reasonforge_analysis-0.1.1.tar.gz.
File metadata
- Download URL: reasonforge_analysis-0.1.1.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff120f6ee812da775070350464126936dea195ce957789c30a92a52ef9b564a4
|
|
| MD5 |
1ae3c00e53908c454e90956aa838c70c
|
|
| BLAKE2b-256 |
e1ffacd16b38c9f91bebaa2c1ba0fc9f0a533ec31fb2798ca7ed06072f1fe140
|
File details
Details for the file reasonforge_analysis-0.1.1-py3-none-any.whl.
File metadata
- Download URL: reasonforge_analysis-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
176c04bfa5e00524767b4e558d9e54995193b607bcbc8182d695d31d3a8b5b1a
|
|
| MD5 |
16dfe4d56778426617131917ea088d28
|
|
| BLAKE2b-256 |
299d6b98c605b37113779689b3b5615bdd5ec30301379e194ff5f75ee55f55ad
|