Calculadora MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Calculadora MCPConvert 30 Celsius to Fahrenheit"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Calculadora MCP
Este projeto foi desenvolvido em Python e consiste num servidor MCP com duas ferramentas.
Uma das ferramentas permite fazer cálculos básicos e a outra permite converter temperaturas.
Funcionalidades
A tool calcular permite realizar:
soma;
subtração;
multiplicação;
divisão.
Também foi acrescentada uma verificação para impedir divisões por zero e para apresentar uma mensagem quando a operação não é válida.
A tool converter_temperatura permite converter:
Celsius para Fahrenheit;
Fahrenheit para Celsius.
Related MCP server: Calculator MCP Server
Tecnologias utilizadas
Python
MCP
Pytest
Logging
Instalação
Para instalar as bibliotecas necessárias:
pip install -r requirements.txtConfiguração no Claude Desktop
No Claude Desktop, abri as Configurações, entrei na área Desenvolvedor e cliquei em Editar configuração. Foi aberta a pasta onde se encontra o ficheiro claude_desktop_config.json. Abri esse ficheiro, adicionei a configuração abaixo, guardei as alterações e reiniciei completamente a aplicação.
{
"mcpServers": {
"calculadora": {
"command": "C:\\Users\\Joao\\PycharmProjects\\PythonProject3\\.venv\\Scripts\\python.exe",
"args": [
"C:\\Users\\Joao\\PycharmProjects\\PythonProject3\\server.py"
]
}
}
}Depois de guardar esta configuração, foi necessário reiniciar o Claude Desktop para que o servidor ficasse disponível.
Executar o servidor
Para iniciar o servidor:
python server.pyTestes
Os testes automáticos podem ser executados com:
pytest -vForam criados 8 testes para verificar os cálculos, a divisão por zero, as operações inválidas e as conversões de temperatura.
Teste da calculadora
A calculadora foi testada através do Claude Desktop.

Teste do conversor
O conversor de temperatura também foi testado através do Claude Desktop.

Logging
Foi criado um ficheiro chamado server.log.
Nesse ficheiro ficam registadas as chamadas feitas às tools, incluindo a operação escolhida e os valores recebidos.

Testes automáticos
Os testes foram executados com sucesso.

Ficheiros do projeto
server.py– contém o servidor MCP e as duas tools.test_server.py– contém os testes automáticos.requirements.txt– contém as bibliotecas necessárias.server.log– guarda os registos das chamadas.Pasta
screenshots– contém as imagens dos testes.
Autora
Eduarda Brandão
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables mathematical calculations through basic arithmetic operations including addition, subtraction, multiplication, division, exponentiation, and logarithms. Provides a simple interface for AI agents to perform mathematical computations.63
- AlicenseAqualityDmaintenanceProvides basic mathematical calculation functionality through MCP tools including arithmetic operations, exponentiation, and square root calculations. Features proper error handling for edge cases like division by zero and negative square roots.6512MIT
- FlicenseNot gradedqualityDmaintenanceProvides mathematical operation tools including basic arithmetic (add, subtract, multiply, divide), power and square root calculations, and safe evaluation of mathematical expressions.
- FlicenseDqualityDmaintenanceProvides basic mathematical operations (addition, subtraction, multiplication, division) through a calculate tool. Supports both stdio and HTTP/SSE transport modes.177
Related MCP Connectors
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
60+ units, live FX, timezones, and date arithmetic for AI agents.
Precision math engine for AI agents. 203 exact methods. Zero hallucination.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/eduardaeb18-code/calculadora-mc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server