Calculator Mcp

by wrtnlabs

16 stars
362 downloads
Not rated
GitHub Website

About

Enables LLMs to perform basic calculations using a calculator interface.

Details

Author
wrtnlabs
GitHub stars
16
Downloads
362
Categories
Productivity, AI, Other

- Provides arithmetic operations: add, sub, mul, div, mod.
- Runs as a standard MCP server via npx.
- Supports SSE transport with configurable port (--port).
- Works with VS Code and VS Code Insiders CLI.
- Includes programmatic API for custom transport integration.
- Lightweight test-oriented implementation for MCP connectivity.

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 Calculator Mcp
    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

Install and run using npx: npx @wrtnlabs/calculator-mcp@latest. Configure in MCP client settings with the command and args, or connect via SSE by specifying a port with --port and setting the client URL to http://localhost:<port>/sse. For VS Code, install via the CLI command code --add-mcp '{"name":"calculator","command":"npx","args":["-y", "@wrtnlabs/calculator-mcp@latest"]}'. Programmatic usage with custom transports is also supported using InMemoryTransport.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "calculator mcp": {
            "calculator-mcp": {
                "command": "npx",
                "args": [
                    "@wrtnlabs/calculator-mcp@latest",
                    "--port",
                    "8931"
                ]
            }
        }
    }
}

McpServers

{
    "calculator-mcp": {
        "command": "npx",
        "args": [
            "@wrtnlabs/calculator-mcp@latest",
            "--port",
            "8931"
        ]
    }
}

A Model Context Protocol (MCP) server that provides browser automation capabilities using basic calculator feature. This server enables LLMs to interact with calculator. (I actually made it for a test program)

- The test code for to connect MCP feature.
- The toy projects

{ "mcpServers": { "calculate": { "command": "npx", "args": [ "-y", "@wrtnlabs/calculator-mcp@latest" ] } } }

Alternatively, you can install the Playwright MCP server using the VS Code CLI:

# For VS Code code --add-mcp '{"name":"calculator","command":"npx","args":["-y", "@wrtnlabs/calculator-mcp@latest"]}'
# For VS Code Insiders code-insiders --add-mcp '{"name":"calculator","command":"npx","args":["-y", "@wrtnlabs/calculator-mcp@latest"]}'

After installation, the Calculator MCP server will be available for use with your GitHub Copilot agent in VS Code.

The Calculator MCP server supports the following command-line options:

- --port <port>: Port to listen on for SSE transport

Running headed browser on Linux w/o DISPLAY

When running headed browser on system w/o display or from worker processes of the IDEs, run the MCP server from environment with the DISPLAY and pass the--portflag to enable SSE transport.

npx @wrtnlabs/calculator-mcp@latest --port 8931

And then in MCP client config, set theurlto the SSE endpoint:

{ "mcpServers": { "calculator": { "url": "http://localhost:8931/sse" } } }

Programmatic usage with custom transports

import { createServer } from "@wrtnlabs/calculator-mcp"; // ... other import statement const client = new Client({ name: "test client", version: "0.1.0", }); const server = createServer({ name: "calculator", version: "1.0.0" }); const [clientTransport, serverTransport] = InMemoryTransport.createLinkedPair(); await Promise.all([ client.connect(clientTransport), server.connect(serverTransport), ]);

This is the 1st, easiest, and cheapest PPT, slides, presentation AI generation MCP Server in the world.

Persistent memory for any AI assistant. Zero token cost until recall. Stores memories in local SQLite, ranks by 6-factor scoring, returns results 79% smaller than JSON. Works with Claude, ChatGPT, Grok, Cursor, Windsurf, and any MCP client.

An MCP server which brings Jotform to your AI client or LLM

On-device tools to detect AI-generated text and images, score readability, and strip AI artifacts, running locally on Apple silicon.

After Effects MCP is a full-featured automation bridge that connects AI clients (like VS Code, Claude Desktop, and Claude Code) to Adobe After Effects through MCP, enabling scripted control of compositions, layers, effects, keyframes/graph easing, presets, markers, audio levels, waveform analysis, and effect discovery via a live bridge panel.

Project management your AI can actually run — connect Claude, ChatGPT, Cursor & Codex to one board over MCP.

Compare LLM cost & latency on one prompt, translate PDF keeping layout, cited research, make PPTX

AIOProductOS spine over MCP — customers, revenue, feedback, work, analytics on one typed record.

Create high quality presentations using AI

The memory layer for AI coding tools. Local-first, semantic, 9 MCP tools with consolidation and project scoping. Works with Claude Code, Cursor, Windsurf & any MCP client.

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.