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 💡
@thoughtspot/mcp-server
The ThoughtSpot MCP Server provides secure OAuth-based authentication and a set of tools for querying and retrieving relevant data from your ThoughtSpot instance. It's a remote server hosted on Cloudflare.
mcp-searxng
MCP Server for SearXNG
Glitchfix/mcp-duckduckgo
A Model Context Protocol server that provides web search and content fetching capabilities using DuckDuckGo. This server enables LLMs to search the web and retrieve content from web pages without requiring any API keys.
shinichi-takayanagi/myweight-mcp-server
Connects to Health Planet API to provide weight data for MCP clients via SSE.
@21st-dev/magic
21st dev Magic MCP server for creating UI components via natural language in IDEs like Cursor/WindSurf/Cline
help116114/zoomeye-mcp-server
提供ZoomEye v2 API访问的MCP服务器,支持网络资产搜索、用户信息查询及数据 summarization 等功能