Utility Tools MCP Server
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., "@Utility Tools MCP Serverconvert 100 USD to EUR"
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.
Utility Tools MCP Server
A comprehensive Model Context Protocol (MCP) server that provides five essential utility tools: weather information, calculator, currency converter, timezone information, and unit converter.
Features
š¤ļø Weather Tool
Get current weather conditions for any location worldwide:
Temperature (actual and feels-like)
Humidity
Weather conditions
Wind speed
Precipitation
š§® Calculator Tool
Perform basic mathematical operations:
Addition
Subtraction
Multiplication
Division
Full error handling for invalid inputs and division by zero
š± Currency Converter
Convert between different currencies with current exchange rates:
Supports major world currencies
Live exchange rates
Automatic caching (1 hour)
Rate limiting to prevent API abuse
š Timezone Tool
Get current time for any city or convert between timezones:
Current time for any city worldwide
Compare times between cities
Full timezone information
š Unit Converter
Convert between different units of measurement:
Length: meter, kilometer, mile, foot, inch, yard, centimeter, millimeter
Weight: kilogram, gram, pound, ounce, ton, milligram
Temperature: Celsius, Fahrenheit, Kelvin
Volume: liter, milliliter, gallon, quart, pint, cup
Related MCP server: Gemini AI Weather & Calculator Tools
Installation
Clone the repository:
git clone <your-repo-url>
cd utility-tools-mcp-serverInstall dependencies:
pnpm installBuild the project:
pnpm run buildUsage
Running the Server
Start the server:
pnpm startOr run in development mode with auto-reload:
pnpm run devConfigure with Claude Desktop
Add to your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"utility-tools": {
"command": "node",
"args": ["/path/to/your/utility-tools-mcp-server/dist/index.js"]
}
}
}Testing
Run the test suite:
npm testRun tests with coverage:
npm test -- --coverageTool Examples
Weather Tool
// Get weather for a city
{
"tool": "get_weather",
"arguments": {
"location": "New York"
}
}Calculator Tool
// Perform calculation
{
"tool": "calculate",
"arguments": {
"operation": "multiply",
"a": 15,
"b": 7
}
}Currency Converter
ApiKey from https://exchangerate.host/ is needed to run the convert_currency tool.
// Convert currency
{
"tool": "convert_currency",
"arguments": {
"amount": 100,
"from": "USD",
"to": "EUR"
}
}Timezone Tool
// Get time for a city
{
"tool": "get_time",
"arguments": {
"city": "Tokyo",
"convert_to": "London"
}
}Unit Converter
// Convert units
{
"tool": "convert_unit",
"arguments": {
"value": 100,
"from_unit": "celsius",
"to_unit": "fahrenheit"
}
}Features Implemented
ā Error Handling: Comprehensive error handling for all tools with meaningful error messages
ā Logging: Built-in logging system that outputs to stderr (doesn't interfere with MCP protocol)
ā Rate Limiting: API requests are rate-limited (10 requests/minute for weather and currency)
ā Caching: Weather data cached for 10 minutes, exchange rates cached for 1 hour
ā Unit Tests: Comprehensive test suite covering all tools and edge cases
ā Type Safety: Full TypeScript implementation with strict type checking
API Dependencies
This server uses free, no-API-key-required services:
Weather: Open-Meteo API - Free weather data
Geocoding: Open-Meteo Geocoding API - Free location lookup
Currency: ExchangeRate-API - Free tier available
Project Structure
utility-tools-mcp-server/
āāā src/
ā āāā tools # the list of tools in the mcp server
ā āāā utils # Utilities used in the mcp server
ā āāā index.ts # Main server implementation
āāā dist/ # Compiled JavaScript (generated)
āāā package.json
āāā tsconfig.json
āāā jest.config.js
āāā README.mdDevelopment
Adding New Tools
Create a new tool class in
src/index.tsAdd the tool definition to the
toolsarrayAdd a case in the
CallToolRequestSchemahandlerWrite tests in
tests/tools.test.ts
Code Style
This project uses:
TypeScript for type safety
ESLint for linting
Strict mode enabled
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
If you encounter any issues or have questions, please open an issue on GitHub.
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
- Flicense-qualityDmaintenanceProvides weather information through OpenWeather API, enabling users to get current weather conditions, 5-day forecasts, and perform temperature conversions for any city. Offers a secure interface for AI assistants to access comprehensive weather data including temperature, humidity, wind, and pressure information.Last updated
- Flicense-qualityDmaintenanceProvides real-time weather data from Open-Meteo API, mathematical calculations, and time zone information through MCP protocol. Works with both Claude Desktop and Gemini AI CLI for natural language interactions.Last updated
- Flicense-qualityDmaintenanceProvides basic utility tools including calculator for arithmetic operations, text processor for string transformations, and JSON formatter for validating and formatting JSON data.Last updated1
- Flicense-qualityDmaintenanceProvides real-time weather information and 5-day forecasts for cities worldwide using the OpenWeatherMap API. Supports bilingual queries (Chinese and English) with comprehensive weather data including temperature, humidity, and wind speed.Last updated
Related MCP Connectors
60+ units, live FX, timezones, and date arithmetic for AI agents.
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
Free unit & live currency conversion tools from toolalize.com (convert_units, convert_currency).
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/toykam/mcp-server-task-2'
If you have feedback or need assistance with the MCP directory API, please join our Discord server