MCP.so
Sign In
Servers

learn-mcp-server

@demouth

Overview

What is learn-mcp-server?

learn-mcp-server is a simple Go-based MCP (Model Context Protocol) server implementation for educational purposes. It supports basic arithmetic operations (addition, subtraction, multiplication, division) and is designed to be used from Claude Desktop.

How to use learn-mcp-server?

Build the Go source code with go build ./, then add the binary to Claude Desktop's configuration file under mcpServers with the key calculator, command pointing to the built binary, and an empty args array. Restart Claude Desktop, then ask an arithmetic question such as "What is the answer to the following formula? 1234 x 56789".

Key features of learn-mcp-server

  • Supports addition, subtraction, multiplication, and division
  • Built with Go for easy compilation
  • Serves as an educational MCP server example
  • Logs all client and server messages to ~/Library/Logs/Claude/
  • Exposes a single tool named calculate

Use cases of learn-mcp-server

  • Learning how to build and configure an MCP server for Claude Desktop
  • Performing simple arithmetic calculations through a natural language interface
  • Testing MCP tool invocation and log inspection

FAQ from learn-mcp-server

What arithmetic operations does learn-mcp-server support?

Addition, subtraction, multiplication, and division.

How do I configure learn-mcp-server in Claude Desktop?

Build the binary from source, then add an entry to the mcpServers section of the Claude Desktop configuration file with the command set to the absolute path of the binary and an empty args array.

Where are the server logs located?

Logs are written to ~/Library/Logs/Claude/.

What is the name of the exposed tool?

The tool is named calculate. Its arguments are operation (string), x (number), and y (number).

More from Other