Weather & HR Management MCP Server
This server exposes a single MCP tool, askWeather, for answering live weather questions about a named city.
Accepts required
cityandquestionstring inputs via a schema-validated interface.Geocodes the city to latitude/longitude, then fetches weather data.
Answers questions about temperature, wind, rain, and forecast conditions.
Returns readable weather information over MCP stdio; the weather server needs no API key.
Built using Node.js to provide a modular MCP server architecture that connects multiple data sources including real-time weather data, HR job applications, interview scheduling, and database-driven recruitment data through REST APIs and Server-Sent Events.
Click on "Deploy 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., "@Weather & HR Management MCP Server what's the weather in New York and show today's interview schedule"
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.
Custom MCP Servers: Live Weather and HR Recruitment Tools for AI Agents
A set of Model Context Protocol (MCP) servers, built in Node.js, that give AI assistants such as Claude Desktop real tools to call: live weather for any city, job-application search and interview-schedule lookup from an HR system. Each capability runs as its own small, independent MCP server, so services can be added or removed without touching the others.
Tools exposed
Server | File | MCP tool | Input | What it answers |
Live Weather |
|
|
| Temperature, wind, rain and forecast for any city (geocoding → weather lookup) |
Job Applications |
|
|
| Today's applications, search by name or role, counts, latest 5 |
Interview Schedules |
|
|
| Today's interviews, online/offline, by candidate or role, counts |
All inputs are schema-validated with Zod, and every server talks to the client over the MCP stdio transport.
Related MCP server: Weather MCP Server
Architecture
flowchart LR
C[AI assistant<br/>e.g. Claude Desktop] <-- MCP over stdio --> W[Live Weather MCP]
C <-- MCP over stdio --> J[Job Applications MCP]
C <-- MCP over stdio --> S[Interview Schedule MCP]
W --> G[Open-Meteo<br/>Geocoding API]
W --> F[Open-Meteo<br/>Forecast API]
J --> H[(HR system REST API)]
S --> HThe weather server makes two calls: city name → latitude/longitude (geocoding), then coordinates → current conditions. It then turns the raw weather code into a readable forecast. The HR servers fetch live data from the HR system's REST API and answer natural-language questions with deterministic filters (date, name, role, interview type, counts), which keeps answers predictable.
Getting started
git clone https://github.com/yashdhokane/Custom-MCP-Server-for-Weather-Data-HR-Modules.git
cd Custom-MCP-Server-for-Weather-Data-HR-Modules
npm installThe weather server needs no API key. The HR servers read their API location from the environment (see .env.example):
export HR_API_BASE_URL=https://hr.example.com/public/api
export HR_API_TOKEN=... # optional, sent as a Bearer tokenConnect to Claude Desktop
Add the servers to claude_desktop_config.json:
{
"mcpServers": {
"live-weather": {
"command": "node",
"args": ["/absolute/path/to/index.js"]
},
"job-applications": {
"command": "node",
"args": ["/absolute/path/to/job_application_carrer_gaffis.js"],
"env": { "HR_API_BASE_URL": "https://hr.example.com/public/api" }
},
"interview-schedules": {
"command": "node",
"args": ["/absolute/path/to/schedule_interview_carrer_gaffis.js"],
"env": { "HR_API_BASE_URL": "https://hr.example.com/public/api" }
}
}
}Restart Claude Desktop, then ask, for example:
"Is it going to rain in Edinburgh today?"
"How many marketing applications came in today?"
"Show me today's offline interviews."
Project structure
├── index.js # Live Weather MCP server
├── job_application_carrer_gaffis.js # Job Applications MCP server
├── schedule_interview_carrer_gaffis.js # Interview Schedule MCP server
├── package.json # npm scripts: start:weather, start:jobs, start:schedules
└── .env.example # HR API settingsData protection
The HR tools handle candidates' personal data, so the API location and token come only from environment variables, never from the code. No candidate data is stored in this repository.
Roadmap
Streamable HTTP / SSE transport alongside stdio, for remote deployment
Return structured JSON content alongside text, so agents can chain tools
Unit tests for the question filters, using recorded API fixtures
Multi-day forecast tool
Author
Yash Dhokane, AI Engineer · MSc Artificial Intelligence, Heriot-Watt University LinkedIn · GitHub
Available Tools
1 toolaskWeatherD
Inputs: city (required), question (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The agent cannot misselect among multiple options since only 'askWeather' exists.
A single tool inherently has perfect naming consistency, as there are no other tools to compare it against for patterns or conventions. The name 'askWeather' stands alone without any inconsistencies.
The server name 'Weather & HR Management MCP Server' suggests a broad scope covering both weather and HR domains, but only one tool is provided. This is a significant mismatch, as a single tool cannot adequately cover such diverse functionalities, making it too few for the apparent scope.
The server implies coverage of weather and HR management, but only a weather-related tool is present, with no HR tools at all. This represents a severe gap, as the tool surface is incomplete for the stated purpose, likely causing agent failures in HR-related tasks.
Maintenance
Related MCP Connectors
Run your TalentoHQ company from an AI agent: people, time, absences, hiring, and more.
Resume builder and job search for AI assistants: edit resumes, track applications, search jobs.
Your Nailted HRIS in your AI agent: time off, time tracking, reviews and hiring, as yourself.
Employee surveys, performance reviews, recognition, and team pulse for AI assistants.
Related MCP Servers
- FlicenseBqualityDmaintenanceA Model Context Protocol server that provides real-time weather data to AI clients through Server-Sent Events, enabling them to fetch current weather conditions, multi-day forecasts, and location-based weather information.5-
- FlicenseNot gradedqualityDmaintenanceProvides real-time weather information and forecasts, connecting AI assistants with live weather data for current conditions and multi-day forecasts for any location worldwide.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to fetch current weather conditions and forecasts for any city using the Open-Meteo API. Provides temperature, precipitation, and hourly forecast data through natural language queries.ISC
- AlicenseNot gradedqualityCmaintenanceProvides real-time weather information and multi-day forecasts using the Open-Meteo API through a robust, enterprise-grade architecture. It enables AI assistants to retrieve current conditions, 7-day forecasts, and contextual weather data for any location.MIT