
Basic MCP Weather Tool
A simple educational MCP server implemented in Node.js that allows users to fetch weather information for cities using the Open-Meteo API.
README
🛠️ 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-weather
que 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.
🚀 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 basicMCP
-
Instala las dependencias:
npm install
- Ejecuta 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.