learn-mcp-server
This repository provides a simple MCP (Model Context Protocol) server implementation for educational purposes. The server supports basic arithmetic operations (addition, subtraction, multiplication, division), and this README describes how to use it from Claude Desktop.
step 1
Build source code from this repository.
$ go build ./
step 2
In the Claude for Desktop App configuration file, include the following:
{
"mcpServers": {
"calculator": {
"command": "/path/to/github.com/demouth/learn-mcp-server/learn-mcp-server",
"args": []
}
}
}
see https://modelcontextprotocol.io/quickstart/server
step 3
Restart Claude for Desktop.
step 4
Ask the following question in Claude for Desktop:
What is the answer to the following formula?
1234 x 56789

Logs are output to the following directory:
~/Library/Logs/Claude/
The following log will be output:
2025-04-08T15:08:36.443Z [calculator] [info] Message from client: {"method":"tools/call","params":{"name":"calculate","arguments":{"operation":"multiply","x":1234,"y":56789}},"jsonrpc":"2.0","id":35}
2025-04-08T15:08:36.443Z [calculator] [info] Message from server: {"jsonrpc":"2.0","id":35,"result":{"content":[{"type":"text","text":"70077626.00"}]}}
Examples
In this example, the browser is on autopilot to search confluence, and the AI answers based on the content.

Recommend MCP Servers 💡
algolia
An experimental Model Context Protocol (MCP) server developed by Algolia for interacting with Algolia APIs, enabling AI models to perform search, indexing, and other data operations.
@kukapay/blockbeats-mcp
An MCP server that delivers blockchain news and in-depth articles from BlockBeats for AI agents.
@genomoncology/biomcp
BioMCP: Biomedical Model Context Protocol
@kontent-ai/mcp-server
Official Kontent.ai MCP server enabling AI tools to interact with Kontent.ai content management via Model Context Protocol.
@cheqd/mcp-toolkit-server
A modular framework and toolkit for AI agents to interact with the Cheqd network, enabling secure management of decentralized identities (DIDs) and verifiable credentials via an MCP server.
@intsig/server-textin
TextIn OCR MCP Server is a tool for extracting text and performing OCR on documents, including document text recognition, ID recognition, and invoice recognition. It also supports converting documents into Markdown format.