🧮 MCP - Model Context Protocol for Newton Mathematics |

by Santia-Gonzalez

151 downloads
Not rated
GitHub

About

MCP - Model Context Protocol for Newton Mathematics is an MCP server that provides an elegant interface for performing advanced mathematical operations using the Newton API. It is designed for developers and mathematicians who need programmatic access to symbolic and numerical…

Details

Author
Santia-Gonzalez
Downloads
151
Categories
Other

- Asynchronous implementation using FastMCP
- Integrated logging for debugging
- Robust error handling
- Operations: Simplify, Factor, Derive, Integrate, Find Zeros, Tangent, Area Under Curve
- Trigonometric and inverse trigonometric functions (cosine, sine, tangent, arccos, arcsin, arctan)
- Additional operations: Absolute Value, Logarithm with a specified base

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name 🧮 MCP - Model Context Protocol for Newton Mathematics |
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install the Python dependencies with pip install -r requirements.txt, then start the server with python source/main.py. The server exposes MCP tools that accept a mathematical expression as a string and return the result from the Newton API.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "\ud83e\uddee mcp - model context protocol for newton mathematics |": {
            "mcp-newton": {
                "command": "python",
                "args": [
                    "source/main.py"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-newton": {
        "command": "python",
        "args": [
            "source/main.py"
        ]
    }
}

🧮 MCP - Model Context Protocol for Newton Mathematics | License: MIT Python 3.10+

Motor de Contexto de Procesos (MCP) - Servidor MCP que proporciona una interfaz elegante para realizar operaciones matemáticas avanzadas utilizando la Newton API.

🌟 Características Principales

🧮 Operaciones Matemáticas

- Cálculo Avanzado Python REST API - Integración de funciones - Derivación - Factorización - Simplificación de expresiones - Funciones trigonométricas

🚀 Características Técnicas

- Integración MCP - Implementación asíncrona con FastMCP - Logging integrado para debugging - Manejo robusto de errores

📊 Operaciones Disponibles

| Operación | Descripción | |-----------|-------------| | Simplify | Simplifica expresiones matemáticas a su forma más reducida | | Factor | Factoriza polinomios en sus componentes más simples | | Derive | Calcula la derivada de una función | | Integrate | Calcula la integral indefinida de una función | | Find 0's | Encuentra las raíces o ceros de una función | | Find Tangent | Determina la ecuación de la recta tangente en un punto específico | | Area Under Curve | Calcula el área bajo la curva entre dos límites dados | | Cosine | Calcula el coseno de un ángulo en radianes | | Sine | Calcula el seno de un ángulo en radianes | | Tangent | Calcula la tangente de un ángulo en radianes | | Inverse Cosine | Calcula el arco coseno (función inversa del coseno) | | Inverse Sine | Calcula el arco seno (función inversa del seno) | | Inverse Tangent | Calcula el arco tangente (función inversa de la tangente) | | Absolute Value | Calcula el valor absoluto de un número | | Logarithm | Calcula el logaritmo con una base específica |

🛠️ Stack Tecnológico

| Capa | Tecnologías |
|------|-------------|
| Backend | Python 3.10+, FastMCP |
| API | Newton API |
| Logging | MCP Context Logger |

🚀 Implementación

📋 Prerrequisitos

- Python - Instalación del paquete MCP - Conexión a Internet para acceder a Newton API

⚡ Inicio Rápido

```bash
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.