- Home
- MCP servers
- Calculator
Calculator
- typescript
5
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"quantgeekdev-mcp-add-sse": {
"command": "node",
"args": [
"/absolute/path/to/calculator/dist/index.js"
]
}
}
}You have a Model Context Protocol (MCP) server named Calculator that is built to expose tooling through a lightweight, extensible framework. It lets you run small, focused tools locally or publish them for use with MCP clients, making automation and data processing simpler and more repeatable.
How to use
You can run Calculator locally and access its tools from an MCP client. Start the server after you have built it, then configure your client to connect to the local or published MCP server configuration. Calculator is designed to automatically load your tools on startup, so once the server is running, you can invoke any of its available tools through your MCP client without additional setup.
How to install
Prerequisites: you need Node.js installed on your system. You will also use npm to install dependencies and build the project.
npm install
npm run build
Configuration and usage examples
Configure the MCP client to connect to Calculator in stdio mode. You will run Calculator locally and point the client to the path where the built server will be located after you build.
{
"mcpServers": {
"calculator": {
"command": "node",
"args": ["/absolute/path/to/calculator/dist/index.js"]
}
}
}
Publishing and sharing the server
If you publish Calculator so other clients can load it directly, you will provide a command that clients can run to start the MCP server.
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": ["calculator"]
}
}
}
Available tools
my_tool
A sample MCP tool that demonstrates how to define tool input, schema, and execution logic within Calculator.