Skip to main content
Glama

Math Operations MCP Server

math-operations-mcp

Short instructions to install dependencies and run the project.

Prerequisites

  • Python 3.11+ (project pyproject requires >=3.11; use your system Python or a virtualenv)

Create a virtual environment and install dependencies

With python:

python -m venv .venv source .venv/bin/activate pip install --upgrade pip pip install -e . # If the project has no local installable package, install the runtime deps directly: # pip install fastapi uvicorn pydantic

With uv package manager:

# install uv if needed pip install uv # create (and usually activate) a virtual environment uv venv # If uv does not activate the venv automatically, activate it manually: # Linux/WSL: source .venv/bin/activate # upgrade pip and install the project uv sync # If the project has no local installable package, install runtime deps directly: # pip install fastapi uvicorn pydantic

Run the server

# run directly with python python main.py #with uv package manager uv run main.py

What to expect

  • The API root will be available at http://localhost:8000/

  • The MCP endpoint is mounted at /math/mcp/ (see main.py) and a streaming HTTP app at /math/

Notes

  • If you run into dependency issues, check the pyproject.toml in the repository root and install listed packages manually.

README.md created with Generative AI.

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Enables mathematical operations and calculations through an MCP server interface. Provides computational capabilities accessible via HTTP endpoints for mathematical processing tasks.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FloorIsGround/math-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server