Basic MCP Weather Tool
Implemented as a Node.js application, using Node.js runtime to host the MCP server that provides the weather tool functionality.
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., "@Basic MCP Weather Toolwhat's the weather like in Tokyo right now?"
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.
🛠️ Basic MCP Demo - Weather Tool
Este proyecto es un ejemplo básico de un servidor MCP (Model Context Protocol) implementado en Node.js. Define una herramienta simple para consultar información del clima de una ciudad utilizando la API pública de Open-Meteo.
📦 Características
Servidor MCP compatible utilizando
@modelcontextprotocol/sdk.Herramienta
fetch-weatherque permite consultar el clima de una ciudad.Ejemplo educativo, ideal para entender el flujo básico de MCP.
Sin claves API privadas, solo usa servicios públicos gratuitos.
Related MCP server: Weather MCP
🚀 Requisitos
Node.js (v18 o superior recomendado)
Acceso a Internet para consultar las APIs públicas
⚙️ Instalación
Clona el repositorio:
git clone https://github.com/itsPatH/basicMCP.git cd basicMCPInstala las dependencias:
npm installEjecuta el servidor MCP:
npx ts-node main.ts Nota: Este servidor espera ser utilizado por un cliente MCP compatible (como Claude con soporte MCP habilitado). Si no tienes un cliente MCP, el servidor quedará esperando conexión.
🌐 Alternativa para Pruebas Locales (Opcional)
Puedes extender este proyecto para agregar un servidor HTTP local y probar la herramienta sin un cliente MCP. Ejemplo de esto disponible en la rama local-test.
⚠️ Advertencias
⚡ Este proyecto es solo para fines educativos. ⚡ No está pensado para entornos de producción. ⚡ Si amplías el proyecto, no subas archivos con claves privadas o información sensible.
📄 Licencia
Este proyecto está bajo la licencia MIT. Eres libre de usarlo, modificarlo o distribuirlo para aprendizaje.
✨ Créditos
Documentación oficial de Model Context Protocol: https://github.com/modelcontextprotocol .
Uso de APIs públicas de Open-Meteo.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseBqualityDmaintenanceA simple MCP server that provides a tool to fetch current weather information for cities using the Open-Meteo API, communicating through stdin/stdout.Last updated12
- Alicense-qualityDmaintenanceA MCP server for querying real-time weather information for any city worldwide using the free Open-Meteo API, supporting CLI and integration with AI clients like Claude and Cursor.Last updated37MIT
- Alicense-qualityBmaintenanceAn MCP server that offers arithmetic operations (addition and division) and current weather data from OpenWeatherMap. It serves as a learning project for building MCP servers with Node.js and TypeScript, supporting both stdio and Streamable HTTP transports.Last updated21ISC
- Flicense-qualityCmaintenanceA minimal MCP server that provides weather data using Open-Meteo API, designed as a teaching tool for improving AI agent tool interfaces.Last updated
Related MCP Connectors
A basic MCP server to operate on the Postman API.
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
MCP server for understanding Javascript internals from ECMAScript specification.
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/itsPatH/basicMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server