- Home
- MCP servers
- Calculate
Calculate
- typescript
16
GitHub Stars
typescript
Language
4 months ago
First Indexed
3 weeks ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You can run a Calculator MCP Server to let a language model perform arithmetic through a browser automation-enabled calculator. It exposes basic operations like add, sub, mul, div, mod, and sqrt, and can be accessed either locally via an npx-run server or remotely through an SSE endpoint.
How to use
You start the Calculator MCP Server either as a local stdio service or as a remote HTTP-enabled endpoint. To use it, launch the server and connect your MCP client to the provided SSE URL when using the HTTP route.
Two common connection methods are available: an in-process stdio style command you run to start the server locally, and an HTTP SSE endpoint you connect to from your MCP client. The server exposes calculator-like operations that you can call from your client to perform arithmetic inside a browser context.
{
"mcpServers": {
"calculate": {
"url": "http://localhost:8931/sse"
}
}
}
Core capabilities
Available operations are add, sub, mul, div, mod, and sqrt. These map to arithmetic actions you can request from your MCP client, which the server executes via browser automation.
Available tools
add
Add two numbers and return the result.
sub
Subtract the second number from the first and return the result.
mul
Multiply two numbers and return the result.
div
Divide the first number by the second and return the result.
mod
Compute the modulus of the first number by the second.
sqrt
Compute the square root of a number.